joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448a80
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test bl, bl
mov dword [ebp - 0x14], ecx
lea ecx, [eax + ecx]
lea edx, [esi + ebx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
mov dword [ebp - 0x20], ebx
jb 0x448aed
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x448ac0
cmp edx, 1
jne 0x448af6
jmp 0x448b12
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x448b12
cmp edx, 2
je 0x448b09
cmp edx, 3
jne 0x448b1d
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 4]
xor ecx, ecx
test ebx, ebx
je 0x448c7e
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov edx, ebx
shr edx, 1
and edx, 0x55555555
mov eax, ebx
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x24], eax
cmp eax, 1
ja 0x448b86
lea edx, [ebx - 1]
and edx, edi
jmp 0x448b92
mov edx, edi
cmp edi, ebx
jb 0x448b92
mov eax, edi
xor edx, edx
div ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x448c7e
mov dword [ebp - 0x18], ebx
mov ebx, dword [eax]
test ebx, ebx
je 0x448c7e
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x14]
cmovns eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x448be5
and eax, dword [ebp - 0x1c]
cmp eax, edx
jne 0x448c7c
mov ebx, dword [ebx]
test ebx, ebx
je 0x448c7c
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x448c40
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x448bf9
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x14]
jne 0x448bdb
lea ecx, [ebx + 8]
test al, al
jns 0x448c07
mov ecx, dword [ecx]
js 0x448c5e
cmp dword [ebp - 0x14], 0
je 0x448c78
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [ebx + ecx + 8]
cmp dl, byte [esi + ecx]
jne 0x448bdb
inc ecx
cmp eax, ecx
jne 0x448c20
jmp 0x448c78
cmp dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x10]
jbe 0x448bd0
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x448bd3
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x10]
jmp 0x448bd3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x448c78
push eax
push esi
push ecx
call fcn.00474afd
add esp, 0xc
test eax, eax
jne 0x448bdb
mov ecx, ebx
jmp 0x448c7e
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4495bf
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x216]
push 0x206
push 0xff
push eax
call fcn.00475f90
add esp, 0xc
mov edi, 0xfffffff4
lea ebx, [ebp - 0x218]
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [edi + 0x4ae588]
mov word [ebp - 0x218], 0
push 0x104
push ebx
push eax
call esi
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x449633
push dword [ebp + 8]
push eax
push ebx
call fcn.0044955d
add esp, 0xc
test al, al
jne 0x44963c
add edi, 4
jne 0x4495ff
xor ebx, ebx
jmp 0x44963e
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00473933
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44a080
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test bl, bl
mov dword [ebp - 0x14], ecx
lea ecx, [eax + ecx]
lea edx, [esi + ebx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
mov dword [ebp - 0x20], ebx
jb 0x44a0ed
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x44a0c0
cmp edx, 1
jne 0x44a0f6
jmp 0x44a112
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x44a112
cmp edx, 2
je 0x44a109
cmp edx, 3
jne 0x44a11d
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 4]
xor ecx, ecx
test ebx, ebx
je 0x44a27e
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov edx, ebx
shr edx, 1
and edx, 0x55555555
mov eax, ebx
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x24], eax
cmp eax, 1
ja 0x44a186
lea edx, [ebx - 1]
and edx, edi
jmp 0x44a192
mov edx, edi
cmp edi, ebx
jb 0x44a192
mov eax, edi
xor edx, edx
div ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x44a27e
mov dword [ebp - 0x18], ebx
mov ebx, dword [eax]
test ebx, ebx
je 0x44a27e
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x14]
cmovns eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x44a1e5
and eax, dword [ebp - 0x1c]
cmp eax, edx
jne 0x44a27c
mov ebx, dword [ebx]
test ebx, ebx
je 0x44a27c
mov eax, dword [ebx + 4]
cmp edi, eax
jne 0x44a240
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x44a1f9
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x14]
jne 0x44a1db
lea ecx, [ebx + 8]
test al, al
jns 0x44a207
mov ecx, dword [ecx]
js 0x44a25e
cmp dword [ebp - 0x14], 0
je 0x44a278
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, byte [ebx + ecx + 8]
cmp dl, byte [esi + ecx]
jne 0x44a1db
inc ecx
cmp eax, ecx
jne 0x44a220
jmp 0x44a278
cmp dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x10]
jbe 0x44a1d0
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x44a1d3
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x10]
jmp 0x44a1d3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44a278
push eax
push esi
push ecx
call fcn.00474afd
add esp, 0xc
test eax, eax
jne 0x44a1db
mov ecx, ebx
jmp 0x44a27e
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x44f170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [ecx + 0x1174]
mov ebx, dword [ecx + 0x1178]
add ebx, eax
mov eax, dword [ecx + 0x116c]
mov ecx, ebx
sub ecx, eax
cmp ecx, 0x40000001
jb 0x44f1a6
push dword [ebp + 8]
call fcn.00463540
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
mov eax, dword [esp + 0xc]
test eax, eax
mov ecx, 0x40000000
mov edi, 0xaf000000
cmove edi, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 0x365f776f
mov dword [esp + 0x50], 0x775f7369
lea eax, [esp + 0x50]
push eax
call fcn.00411770
add esp, 4
cmp ebx, edi
jbe 0x44f206
push ebx
call fcn.00463570
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0x657a69
mov dword [esp + 0x40], 0x735f6176
lea eax, [esp + 0x40]
push eax
call fcn.00411770
add esp, 4
mov eax, dword [esi + 0x117c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0x20200063
mov dword [esp + 0x30], 0x6f6c6c61
lea eax, [esp + 0x30]
push eax
call fcn.00411770
add esp, 4
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
mov eax, dword [esi + 0x116c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0x20007469
mov dword [esp + 0x10], 0x6d6d6f63
lea eax, [esp + 0x10]
push eax
call fcn.00411770
add esp, 4
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0x20202000
mov dword [esp + 0x20], 0x657a6973
lea eax, [esp + 0x20]
push eax
call fcn.00411770
add esp, 4
mov ecx, dword [0x4cd0bc]
test ecx, ecx
je 0x44f2d9
call dword [section..00cfg]
push esi
call ecx
add esp, 4
push esi
call fcn.00452900
int3
Function at 0x452920
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x140c
call fcn.00473d50
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x4bcbfc]
cmp eax, 0xffffffff
je 0x452a7a
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x452a7a
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.00475a10
add esp, 0xc
mov ecx, dword [0x4bcbfc]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.00463800
add esp, 8
test ebx, ebx
je 0x45299b
push ebx
call fcn.00472a6c
add esp, 4
mov eax, dword [0x4c9db4]
mov ecx, dword [0x4bcce8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x452a9b
mov esi, dword [0x4c9db0]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x452a8f
lea eax, [ebp - 0x1410]
push 0xc00
push 0x4c91b0
push eax
call fcn.00475a10
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov al, 1
mov ecx, 0x101
jmp 0x452a09
mov ecx, dword [ebp - 0x1418]
dec ecx
je 0x452a6a
test al, 1
je 0x452a6a
mov dword [ebp - 0x1418], ecx
xor edi, edi
lea ebx, [ebp - 0x1408]
xor eax, eax
jmp 0x452a2c
inc edi
add ebx, 0xc
cmp edi, 0x100
je 0x452a00
mov esi, dword [ebp + edi*8 - 0x810]
test esi, esi
je 0x452a20
cmp dword [ebx - 8], 0
je 0x452a20
mov ecx, dword [ebp + edi*8 - 0x80c]
cmp ecx, dword [ebx]
jne 0x452a20
mov ecx, dword [ebx - 4]
test ecx, ecx
je 0x452a20
mov dword [ebp + edi*8 - 0x810], 0
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov al, 1
jmp 0x452a20
push 2
push dword [ebp - 0x1414]
call fcn.00463800
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00473933
add esp, 0x140c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.00442820
jmp 0x4529d1
push 0x4c9db4
call fcn.00472aa7
add esp, 4
cmp dword [0x4c9db4], 0xffffffff
jne 0x4529bc
push 4
call fcn.004729fc
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.00442810
mov dword [0x4c9db0], esi
push 0x4c9db4
call fcn.00472b1d
add esp, 4
jmp 0x4529bc

Function at 0x452ae0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4bcbfc]
cmp eax, 0xffffffff
je 0x452b00
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x452b10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x4bcbfc]
cmp eax, 0xffffffff
je 0x452b2d
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x452b32
call fcn.00452c30
mov eax, dword [0x4c9db4]
mov ecx, dword [0x4bcce8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x452bdd
mov edi, dword [0x4c9db0]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x452bd4
mov ecx, dword [0x4c91ac]
inc ecx
xor edx, edx
nop dword [eax]
lea eax, [ecx + edx]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x4c91b0], 0
je 0x452b8e
inc edx
cmp edx, 0x100
jne 0x452b70
jmp 0x452bbe
lea eax, [eax*4 + 0x4c91b0]
mov dword [eax], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x4c91b4], ecx
mov dword [0x4c91ac], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x4c91b8]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esi], 0x100
jae 0x452c22
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.00442820
jmp 0x452b64
push 0x4c9db4
call fcn.00472aa7
add esp, 4
cmp dword [0x4c9db4], 0xffffffff
jne 0x452b53
push 4
call fcn.004729fc
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.00442810
mov dword [0x4c9db0], edi
push 0x4c9db4
call fcn.00472b1d
add esp, 4
jmp 0x452b53
int3

Function at 0x452c30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x808
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x810], 0xffffffff
mov ecx, dword [0x4bcbfc]
mov dword [ebp - 0x810], ecx
cmp ecx, 0xffffffff
jne 0x452cd4
lea esi, [ebp - 0x810]
push esi
call fcn.004637d0
add esp, 4
test al, al
je 0x452d55
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x452cb0
push esi
call fcn.004637d0
add esp, 4
test al, al
je 0x452d58
cmp dword [ebp - 0x810], 0xffffffff
je 0x452d58
push 0xffffffffffffffff
call fcn.004637f0
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x4bcbfc], ecx
je 0x452cd4
push ecx
call fcn.004637f0
add esp, 4
mov ecx, dword [0x4bcbfc]
mov dword [ebp - 0x810], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x452d52
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.00475f90
add esp, 0xc
lea eax, [ebp - 0x809]
push eax
push dword [ebp - 0x810]
call fcn.00463800
add esp, 8
push 0x800
call fcn.00472a63
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.00475a10
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x810]
call fcn.00463800
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00473933
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebp
ret
int3
int3
int3
Function at 0x454ee0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call fcn.00475f90
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x130], 0
lea eax, [ebp - 0x130]
push eax
push 0
push 0
push dword [ebp - 0x124]
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.004729fc
add esp, 4
mov esi, eax
mov ebx, dword [ebp - 0x130]
mov eax, dword [0x4c9e30]
mov ecx, dword [0x4bcce8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x454f9e
mov ecx, esi
push ebx
push 0x4c9e0c
push edi
call fcn.004550f0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00473933
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4c9e30
call fcn.00472aa7
add esp, 4
cmp dword [0x4c9e30], 0xffffffff
jne 0x454f79
xorps xmm0, xmm0
movups xmmword [0x4c9e1c], xmm0
movups xmmword [0x4c9e0c], xmm0
mov dword [0x4c9e2c], 0
push 0x4c9e0c
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4c9e30
call fcn.00472b1d
add esp, 4
jmp 0x454f79

Function at 0x455050
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4c9e30]
mov ecx, dword [0x4bcce8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x45509f
movzx eax, word [0x4c9e0c]
cmp eax, 0xc
ja case.0x45507c.1
jmp dword [eax*4 + 0x4af2f4]
mov eax, 2
pop ebp
ret
mov eax, 4
pop ebp
ret
mov eax, 1
pop ebp
ret
mov eax, 3
pop ebp
ret
push 0x4c9e30
call fcn.00472aa7
add esp, 4
cmp dword [0x4c9e30], 0xffffffff
jne 0x455070
xorps xmm0, xmm0
movups xmmword [0x4c9e1c], xmm0
movups xmmword [0x4c9e0c], xmm0
mov dword [0x4c9e2c], 0
push 0x4c9e0c
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4c9e30
call fcn.00472b1d
add esp, 4
jmp 0x455070
Function at 0x455c00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
mov eax, dword [ecx]
jne 0x455c2c
test eax, eax
jne 0x455c2c
xor eax, eax
cmp dword [esi + 0xc], 0
jne 0x455c2c
xor eax, eax
cmp dword [esi + 4], 0
mov edx, 0
je 0x455c83
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x455c4b
call fcn.00439740
push dword [esi]
call fcn.0044aa00
add esp, 4
mov dword [esi], 0
xor eax, eax
mov ecx, dword [esi + 4]
lea edx, [ecx + 1]
cmp edx, 2
jb 0x455c71
call fcn.00439740
push dword [esi + 4]
call fcn.0044aa00
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi]
xor ecx, ecx
mov edx, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, ecx
mov ebx, dword [edi]
cmp edx, ebx
je 0x455cca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x455cae
call fcn.00439740
push dword [esi]
call fcn.0044aa00
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x455cbd
mov dword [esi], ebx
call fcn.00439740
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp eax, ebx
je 0x455d13
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jb 0x455cf9
call fcn.00439740
push dword [esi + 4]
call fcn.0044aa00
add esp, 4
mov dword [esi + 4], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x455d09
mov dword [esi + 4], ebx
call fcn.00439740
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x45e6ac
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov ebx, edx
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x45e6d5
mov eax, dword [ecx + 4]
test eax, eax
je 0x45e6fa
mov eax, ebx
not eax
test eax, 0x300
je 0x45e6fa
cmp edi, 2
mov eax, 0x4cca7e
mov ecx, 0x4ccc7e
cmove ecx, eax
cmp word [ecx], 0
je 0x45e70d
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.00473933
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xorps xmm0, xmm0
lea esi, [esp + 0x20]
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
mov dword [esi + 0x20], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esi], 0
je 0x45e6fa
cmp byte [0x4cca7c], 0
setne al
bt ebx, 8
jb 0x45e6fa
shr ebx, 9
and ebx, 1
or bl, al
je 0x45e6fa
cmp edi, 2
mov eax, 0x4afd5c
mov edx, 0x4afd70
cmove edx, eax
mov eax, dword [ebp + 8]
movzx ebx, byte [eax + 0xb]
test bl, bl
js 0x45e76c
mov ecx, ebx
mov esi, eax
mov eax, ebx
jmp 0x45e771
mov esi, dword [eax]
mov eax, dword [eax + 4]
xor ecx, ecx
inc ecx
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], ecx
mov ebx, dword [edx + 4]
mov edi, eax
sub edi, ebx
jb 0x45e7bf
push ebx
push dword [edx]
push esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
call fcn.00486cd5
mov edx, dword [esp + 0x24]
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x14]
je 0x45e7cf
add edx, 0x14
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, dword [esp + 0x10]
jb 0x45e792
jmp 0x45e835
movzx ecx, word [esi + ebx*2]
cmp ecx, 0x5c
je 0x45e7dc
test ecx, ecx
jne 0x45e7bf
lea eax, [esi + ebx*2]
mov ebx, dword [edx + 8]
cmp ebx, 1
je 0x45e7fc
cmp ebx, 2
mov esi, ebx
jne 0x45e80a
mov dword [esp + 8], str.WOW6432Node
mov dword [esp + 4], eax
jmp 0x45e80a
mov dword [esp + 8], str.WOW6432Node_
mov dword [esp + 4], esi
mov esi, ebx
mov dword [esp + 0xc], esi
cmp cx, 0x5c
jne 0x45e823
lea esi, [eax + 2]
dec edi
cmp word [eax + 2], 0x5c
mov eax, esi
je 0x45e814
jmp 0x45e825
mov esi, eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x10], eax
mov edx, dword [edx + 0xc]
xor ecx, ecx
mov eax, edi
jmp 0x45e7c7
cmp dword [esp + 0xc], 0
je 0x45e6fa
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x45e84d
mov eax, dword [ecx]
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
push dword [esp + 8]
push edx
call fcn.00433610
jmp 0x45e6fa
Function at 0x463730
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x463741
test eax, eax
jne 0x463791
test eax, eax
jne 0x463757
mov ecx, dword [0x4cd0e0]
test ecx, ecx
je 0x463757
call dword [section..00cfg]
call ecx
cmp dword [0x4cd0d8], 0
je 0x463791
mov esi, dword [0x4cd0dc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x463797
test esi, esi
je 0x463791
mov ecx, dword [0x4cd0d8]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
pop esi
pop edi
pop ebp
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jne 0x46377f
jmp 0x463791

Function at 0x463a70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, edx
mov edi, ecx
mov eax, dword [0x4b9014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x1c]
push edx
push ecx
push esi
call fcn.0043fd10
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x463a9e
mov esi, dword [ebp - 0x1c]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
js 0x463abc
cmp dword [ebp + 8], 0
jne 0x463ad1
jmp 0x463b6c
push dword [ebp - 0x1c]
call fcn.00472a2c
add esp, 4
cmp dword [ebp + 8], 0
je 0x463b6c
test esi, esi
je 0x463b6c
lea eax, [esi + esi]
test esi, esi
mov ecx, 0xffffffff
cmovns ecx, eax
push ecx
call fcn.00472a63
add esp, 4
mov ecx, edi
mov edi, eax
mov eax, ebx
lea ebx, [ebp - 0x1c]
push eax
push ecx
push ebx
call fcn.0043fd10
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x463b0c
mov ebx, dword [ebp - 0x1c]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x463b26
push dword [ebp - 0x1c]
call fcn.00472a2c
add esp, 4
test edi, edi
mov ebx, dword [ebp + 8]
je 0x463b85
push edi
call fcn.0048b4b9
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.0043fd50
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x463b54
push dword [ebx]
call fcn.00472a2c
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebx], xmm0
push edi
call fcn.00472a6c
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00473933
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
int3

Function at 0x46c040
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4ce550]
mov ecx, dword [0x4bcce8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x46c06b
mov ecx, 0x4ce548
pop ebp
jmp fcn.00452e20
push 0x4ce550
call fcn.00472aa7
add esp, 4
cmp dword [0x4ce550], 0xffffffff
jne 0x46c060
mov dword [0x4ce54c], 0
mov dword [0x4ce548], 0
mov ecx, 0x4ce548
push 0
call fcn.00452e90
push 0x4ce550
call fcn.00472b1d
add esp, 4
jmp 0x46c060