joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a0b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x42a121
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x42a121
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x42a165
cmp esi, eax
jne 0x42a115
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x42a14e
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x42a193
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x42a1b5
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.00466a7e
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x42a19b
mov dword [ecx], edi
jmp 0x42a1b5
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x42a1b5
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00429d20
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc
Function at 0x42a290
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [esp + 0x10], ecx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [esp + 0xc], edi
jb 0x42a2b4
mov esi, dword [ebx]
jmp 0x42a2b6
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x42a2d2
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x42a2c1
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 4]
and eax, edx
lea edx, [eax*8]
mov eax, dword [esi + 0xc]
add esi, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
mov ecx, dword [eax + edx]
mov dword [esp + 0x14], ecx
cmp edi, ecx
je 0x42a3cf
mov edi, dword [eax + edx + 4]
mov edi, dword [edi]
cmp edi, ecx
je 0x42a3cf
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
jb 0x42a31e
mov esi, dword [edi + 8]
jmp 0x42a321
lea esi, [edi + 8]
cmp dword [ebx + 0x14], 0x10
jb 0x42a32b
mov edx, dword [ebx]
jmp 0x42a32d
mov edx, ebx
mov ebx, dword [edi + 0x18]
mov eax, ebx
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
cmovb eax, ecx
test eax, eax
je 0x42a398
sub eax, 4
jb 0x42a355
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x42a35a
add edx, 4
add esi, 4
sub eax, 4
jae 0x42a344
cmp eax, 0xfffffffc
je 0x42a38e
mov cl, byte [edx]
cmp cl, byte [esi]
jne 0x42a387
cmp eax, 0xfffffffd
je 0x42a38e
mov cl, byte [edx + 1]
cmp cl, byte [esi + 1]
jne 0x42a387
cmp eax, 0xfffffffe
je 0x42a38e
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x42a387
cmp eax, 0xffffffff
je 0x42a38e
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x42a38e
sbb eax, eax
or eax, 1
jmp 0x42a390
xor eax, eax
test eax, eax
jne 0x42a39e
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
jb 0x42a39e
jbe 0x42a3ac
cmp edi, dword [esp + 0x14]
je 0x42a3cf
mov ebx, dword [ebp + 0xc]
jmp 0x42a310
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
call fcn.00429dc0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
cmp edi, eax
je 0x42a3f9
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], edx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edx + 0xc]
add ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [edx + 4]
jne 0x42a418
mov dword [ecx], esi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx + 4], esi
jmp 0x42a43a
cmp eax, edi
jne 0x42a420
mov dword [ecx], esi
jmp 0x42a43a
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x42a43a
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + ebx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx + 4], eax
mov ecx, edx
call fcn.0042a880
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42a460
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [esp + 0x10], ebx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x42a4dc
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x42a4dc
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x42a521
cmp esi, eax
jne 0x42a4d0
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x42a50a
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x42a56f
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x42a591
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
lea ecx, [ebx + 0xc]
mov eax, dword [esp + 0x10]
dec dword [eax + 8]
call fcn.0042a1d0
push dword [ebx + 0xc]
call fcn.00466a7e
add esp, 4
mov dword [ebx + 0xc], 0
push ebx
call fcn.00466a7e
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x42a577
mov dword [ecx], edi
jmp 0x42a591
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x42a591
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0042a920
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42a5b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov esi, dword [ebx + 4]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [ebx + 0xc]
lea edx, [ecx*8]
add eax, edx
mov dword [esp + 0x14], edx
lea ecx, [ebx + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
cmp esi, eax
je 0x42a63c
mov esi, dword [esp + 0xc]
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x42a63c
mov ecx, dword [edi]
nop dword [eax + eax]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x42a681
cmp esi, eax
jne 0x42a630
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x42a66a
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x42a6a4
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x42a6c6
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
call fcn.00428c60
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x42a6ac
mov dword [ecx], edi
jmp 0x42a6c6
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x42a6c6
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0042a9c0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42bb30
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.00467690
mov eax, dword [0x4a00a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x100c]
push esi
push edi
mov edi, dword [ebp + 0xc]
push edx
lea edx, [ebp - 0x808]
mov dword [ebp - 0x100c], 0
push edx
lea edx, [ebp - 0x1010]
mov dword [ebp - 0x1010], 1
push edx
push 0
push eax
push dword [ecx]
mov dword [ebp - 0x100c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x42bc7f
mov ecx, dword [ebp - 0x1010]
cmp ecx, 1
jne 0x42bc12
cmp word [ebp - 0x808], ax
jne 0x42bbd0
xor ecx, ecx
lea eax, [ebp - 0x808]
push ecx
push eax
mov ecx, edi
call fcn.004046b0
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466c90
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x808]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bbe0
sub ecx, edx
lea eax, [ebp - 0x808]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.004046b0
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466c90
mov esp, ebp
pop ebp
ret 8
cmp ecx, 2
jne 0x42bc7a
push 0x400
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x100c], eax
test eax, eax
je 0x42bc63
cmp eax, 0x400
ja 0x42bc63
lea eax, [ebp - 0x1008]
mov ecx, edi
push eax
call fcn.00403d00
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466c90
mov esp, ebp
pop ebp
ret 8
mov eax, 0xea
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466c90
mov esp, ebp
pop ebp
ret 8
mov eax, 0x3f4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00466c90
mov esp, ebp
pop ebp
ret 8
Function at 0x42c170
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov esi, dword [ebx + 4]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [ebx + 0xc]
lea edx, [ecx*8]
add eax, edx
mov dword [esp + 0x14], edx
lea ecx, [ebx + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
cmp esi, eax
je 0x42c1fc
mov esi, dword [esp + 0xc]
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x42c1fc
mov ecx, dword [edi]
nop dword [eax + eax]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x42c241
cmp esi, eax
jne 0x42c1f0
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x42c22a
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x42c264
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x42c286
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
call fcn.0042c100
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x42c26c
mov dword [ecx], edi
jmp 0x42c286
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x42c286
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0042c2a0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42f000
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x4a436c]
mov dword [esp + 4], 0
test eax, 0xfffffffe
jne 0x42f059
push 0x4a436c
call int.004445f0
add esp, 4
test al, al
je 0x42f059
mov dword [0x4a4370], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4a4370], eax
cmp eax, 0xffffffff
jne 0x42f04f
mov byte [0], 0
mov dword [0x4a436c], 0x4a4370
mov eax, dword [0x4a436c]
mov esp, ebp
pop ebp
ret
Function at 0x430af0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x430b6c
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x430b6c
mov ecx, dword [edi]
nop word [eax + eax]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x430bb1
cmp esi, eax
jne 0x430b60
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x430b9a
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [esp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x430c03
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x430c25
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
mov edx, dword [edi + 0xc]
test edx, edx
je 0x430be8
lea ebx, [edx + 4]
or eax, 0xffffffff
lock xadd dword [ebx], eax
sub eax, 1
jne 0x430be8
xor ecx, ecx
test ebx, ebx
cmovne ecx, edx
mov eax, dword [ecx]
call dword [eax + 0xc]
push edi
call fcn.00466a7e
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x430c0b
mov dword [ecx], edi
jmp 0x430c25
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x430c25
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00430c40
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x431980
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x4a00a0]
xor eax, esp
mov dword [esp + 0x1c], eax
cmp dword [0x4a4378], 0
je 0x4319ae
xor al, al
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00466c90
mov esp, ebp
pop ebp
ret
push 0x20
call fcn.00466a4b
add esp, 4
mov ecx, eax
push 0
call fcn.00431710
mov dword [0x4a4378], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 8]
call fcn.00403e60
lea eax, [esp + 4]
push eax
call fcn.00432600
mov eax, dword [esp + 0x18]
cmp eax, 8
jb 0x4319f8
inc eax
lea ecx, [esp + 4]
push eax
push dword [esp + 8]
call fcn.004055d0
mov ecx, dword [esp + 0x1c]
mov al, 1
xor ecx, esp
call fcn.00466c90
mov esp, ebp
pop ebp
ret

Function at 0x432600
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x4a00a0]
xor eax, esp
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, 0x49a6e0
push esi
mov dword [esp + 4], 0
xor eax, eax
push edi
mov edi, dword [0x4a4378]
lea esi, [edx + 2]
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x432646
sub edx, esi
lea eax, [esp + 0xc]
sar edx, 1
push edx
push 0x49a6e0
push eax
call fcn.0041c480
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x4326a6
cmp dword [esp + 0x20], 8
lea ecx, [esp + 8]
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
cmovae eax, dword [esp + 0xc]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [esp + 0xc]
call fcn.00431a40
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x20]
cmp eax, 8
jb 0x4326be
inc eax
lea ecx, [esp + 0xc]
push eax
push dword [esp + 0x10]
call fcn.004055d0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.00466c90
mov esp, ebp
pop ebp
ret 4
Function at 0x435570
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], 0
lea ecx, [esi + 4]
mov dword [esi], 0x49a208
call fcn.00450280
mov al, byte [ebp + 8]
mov byte [esi + 0x100], al
mov dword [esi + 0x104], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 0x104], eax
cmp eax, 0xffffffff
jne 0x4355bb
mov byte [0], 0
mov eax, dword [0x4a4380]
test eax, 0xfffffffe
jne 0x4355ec
push 0x4a4380
call int.004445f0
add esp, 4
test al, al
je 0x4355ec
mov dword [0x4a4384], 0
mov dword [0x4a4380], 0x4a4384
mov eax, dword [0x4a4380]
lea ecx, [esi + 0x10c]
mov dword [esi + 0x108], eax
call fcn.00435c40
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x437190
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a00a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
mov eax, 0x1400
cmp ax, di
je 0x43723c
push 9
lea eax, [ebp - 0x18]
mov ebx, edi
push eax
push 0x59
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x43723c
mov ecx, dword [ebp - 0x1c]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004046b0
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4371f7
mov eax, dword [esi]
jmp 0x4371f9
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov eax, 0x400
cmp di, ax
jb 0x437229
push 9
lea eax, [ebp - 0x18]
push eax
push 0x5a
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jle 0x437229
dec eax
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004046b0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466c90
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00466c90
mov esp, ebp
pop ebp
ret
Function at 0x437b4e
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
call 0x437a8c
add byte [eax + 0x4b], al
inc edx
dec edx
dec esp
inc ecx
add esp, 4
add edi, 0xdf18
pop edi
imul edx, dword [ebp - 0x10], 0x138
add edx, 0x44f3644b
inc esp
imul eax, dword [ebp - 0x10], 0x138
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0x138
sub edx, ecx
mov dword [ebp - 0x14], edx
push esi
or esi, 0x15765
pop esi
push eax
push eax
add esp, 4
jmp 0x437ad4
jmp 0x437ada
call 0x437aea
add byte [edi], bh
xor eax, dword [ebp + 0x48]
xor edi, dword [eax]
aas
dec eax
cmp byte [edx - 0x7d], cl
les eax, [ecx + eax*4]
sar byte [esp + edi*8 + 0x50580000], 0x81
call fcn.0043acd1
pop eax
push edi
add edi, 0xd941
pop edi
push edx
or edx, 0x293b
pop edx
push ecx
sub dword [eax], eax
add byte [edx + 0x51], bl
push esi
add esp, 4
and ecx, 0xce2d
jmp 0x437b1d
pop ecx
push edx
or edx, 0x2da8
pop edx
mov dword [ebp - 0x2c], 1
push edi
sub edi, 0x179d2
pop edi
push eax
push edi
add esp, 4
add eax, 0x12f44
call 0x437b4e
add byte [edi + esi + 0x3b], cl
inc esp
xor eax, 0x8341404d
les eax, [ebx + ebp*8]
add eax, 0x4c4f3e50
cmp al, 0x81
loopne 0x437b08
pop ebp
add dword [eax], eax
pop eax
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x437d40