joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403720
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
push edi
lea eax, [esp + 0x10]
push eax
push str.SystemCurrentControlSetControl_
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [esp + 0x14], 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 1
call fcn.00403140
test eax, eax
jne 0x4037c9
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x20]
push str.RegistrySizeLimit
push edi
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4037d1
cmp dword [esp + 0x14], 0x8000000
je 0x4037f5
push str.RegistrySizeLimit
push str.SystemCurrentControlSetControl_
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, esi
call fcn.004034f0
mov ecx, dword [esp + 8]
push ecx
push str.RegistrySizeLimit
push 0x8000000
push str.SystemCurrentControlSetControl_
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, esi
call fcn.004033c0
test eax, eax
jne 0x4037f5
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
mov edx, dword [esp + 8]
push edx
push str.RegistrySizeLimit
push 0x8000000
push str.SystemCurrentControlSetControl_
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, esi
call fcn.004033c0
test eax, eax
je 0x4037c9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret
Function at 0x403b50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x443678
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x458640]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebp
push esi
push edi
mov eax, dword [0x458640]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov eax, dword [esp + 0x130]
mov edi, dword [esp + 0x140]
mov ebp, dword [esp + 0x134]
lea ecx, [esp + 0x10]
push ecx
push 0x20119
push 0
push ebp
mov esi, 7
push eax
mov dword [esp + 0x13c], 2
mov dword [esp + 0x2c], 0x100
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403c6c
push 0xff
push eax
lea edx, [esp + 0x25]
push edx
mov byte [esp + 0x28], al
call fcn.0042d950
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x13c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, edi
lea ecx, [esp + 0x1c]
xor eax, eax
sub edx, ecx
jmp 0x403c30
mov cl, byte [esp + eax + 0x1c]
test cl, cl
lea esi, [edx + eax]
mov byte [esp + esi + 0x1c], cl
jne 0x403c4f
cmp byte [esp + eax + 0x1d], cl
jne 0x403c4f
test cl, cl
jne 0x403c4f
cmp byte [esp + eax + 0x1d], cl
je 0x403c5b
add eax, 1
cmp eax, 0x100
jl 0x403c30
jmp 0x403c5f
mov byte [edi + eax], 0
lea edx, [esp + 0x1c]
push edx
call fcn.00410e5c
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov byte [esp + 0x128], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x138]
add eax, 0xfffffff0
mov byte [esp + 0x128], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403cc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x13c]
add eax, 0xfffffff0
mov dword [esp + 0x128], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403cf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0042cf8a
add esp, 0x11c
ret 0x14
Function at 0x406280
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x443afa
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x458640]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458640]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x13c]
mov ebp, dword [esp + 0x140]
xor ebx, ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
push 0x44796c
mov ecx, esi
mov dword [esp + 0x138], 3
call fcn.00405ce0
mov ecx, dword [esp + 0x144]
mov eax, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push ecx
push ebp
mov ecx, edi
mov dword [esp + 0x28], 0x100
mov dword [esp + 0x24], ebx
call fcn.00403140
cmp eax, ebx
mov ebp, dword [esp + 0x148]
jne 0x40642b
mov edx, dword [esp + 0x14c]
push str.REG_DWORD
push edx
call fcn.0042ca95
mov edi, dword [esp + 0x20]
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x40637e
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push ebp
push edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x18]
push eax
push 0x447ea4
jmp 0x406419
mov ecx, dword [esp + 0x14c]
push str.REG_SZ
push ecx
call fcn.0042ca95
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x4063ba
push 0xff
lea edx, [esp + 0x2d]
push ebx
push edx
mov byte [esp + 0x34], bl
call fcn.0042d950
mov dword [esp + 0x20], 1
jmp 0x4063f4
mov ecx, dword [esp + 0x14c]
push str.REG_MULTI_SZ
push ecx
call fcn.0042ca95
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x406422
push 0xff
lea edx, [esp + 0x2d]
push ebx
push edx
mov byte [esp + 0x34], bl
call fcn.0042d950
mov dword [esp + 0x20], 7
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x28]
push eax
push 0x447e90
push esi
call fcn.00404a50
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406438
push ebx
push 0x44796c
mov ecx, esi
call fcn.00401700
mov eax, dword [esp + 0x144]
add eax, 0xfffffff0
mov byte [esp + 0x134], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406463
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x134], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406487
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14c]
add eax, 0xfffffff0
mov byte [esp + 0x134], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4064b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0042cf8a
add esp, 0x124
ret 0x14
Function at 0x4064e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x443b6a
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x458640]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x458640]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x13c]
mov edi, dword [esp + 0x140]
xor ebx, ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
push 0x44796c
mov ecx, esi
mov dword [esp + 0x138], 3
call fcn.00405ce0
mov ecx, dword [esp + 0x144]
lea eax, [esp + 0x14]
push eax
push 0x20119
push ebx
push ecx
push edi
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], 0x100
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov edi, dword [esp + 0x148]
jne 0x406668
mov edx, dword [esp + 0x14c]
push str.REG_DWORD
push edx
call fcn.0042ca95
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x4065e0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push edi
push eax
mov dword [esp + 0x28], 4
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x1c]
push ecx
push 0x447ea4
jmp 0x406652
mov edx, dword [esp + 0x14c]
push str.REG_MULTI_SZ
push edx
call fcn.0042ca95
add esp, 8
cmp eax, ebx
sete al
push 0xff
cmp al, bl
push ebx
lea eax, [esp + 0x31]
mov byte [esp + 0x30], bl
push eax
je 0x40661c
call fcn.0042d950
mov dword [esp + 0x1c], 7
jmp 0x406629
call fcn.0042d950
mov dword [esp + 0x1c], 1
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push eax
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x28]
push edx
push 0x447e90
push esi
call fcn.00404a50
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x406675
push ebx
push 0x44796c
mov ecx, esi
call fcn.00401700
mov eax, dword [esp + 0x144]
add eax, 0xfffffff0
mov byte [esp + 0x134], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4066a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x134], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4066c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14c]
add eax, 0xfffffff0
mov byte [esp + 0x134], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4066ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0042cf8a
add esp, 0x128
ret 0x14
Function at 0x406720
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x443bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458640]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, ecx
push 0x44796c
lea ecx, [esp + 0x18]
xor edi, edi
call fcn.00405ce0
mov dword [esp + 0x2c], edi
call fcn.00411614
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x406777
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
push 0xffffffffffffffff
lea ecx, [ebp + 0x110]
push edi
mov byte [esp + 0x34], 1
call fcn.00403ed0
jmp 0x4067a4
mov edi, dword [esp + 0x1c]
add edi, 1
push edi
lea ecx, [esp + 0x18]
push str.Item_d
push ecx
mov dword [esp + 0x28], edi
call fcn.00404a50
mov eax, dword [esi - 8]
mov edi, dword [ebp + 0x124]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
add esp, 0xc
or eax, ecx
jge 0x4067ea
push 0x100
lea ecx, [esp + 0x1c]
call fcn.004012c0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0xd4]
push edi
push 0x100
push esi
push 0x44796c
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x44796c
push esi
mov ebx, eax
call fcn.0042ca95
add esp, 8
test eax, eax
setne al
test al, al
je 0x406844
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.00401310
add eax, 0x10
add esp, 4
lea ecx, [ebp + 0x110]
mov dword [edi], eax
call fcn.00405b80
test esi, esi
jne 0x40684c
xor eax, eax
jmp 0x40685e
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406851
sub eax, edx
js 0x4068ce
cmp eax, dword [esi - 8]
jg 0x4068ce
test ebx, ebx
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
jne 0x4067a0
lea eax, [esi - 0x10]
mov byte [esp + 0x2c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406892
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4068ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x80070057
call fcn.00401000
int3
Function at 0x40c860
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44440e
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x458640]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458640]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
push 0x44796c
lea ecx, [esp + 0x18]
mov dword [esp + 0x130], ebp
call fcn.00405ce0
mov ebx, dword [esp + 0x134]
mov byte [esp + 0x12c], 1
add ebp, 1
push ebp
lea eax, [esp + 0x18]
push str.Module_d
push eax
call fcn.00404a50
mov eax, dword [esi + 0x124]
mov edx, dword [esp + 0x20]
add esp, 0xc
push eax
push 0xff
lea ecx, [esp + 0x28]
push ecx
push 0x44796c
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x40c970
cmp byte [esp + 0x20], 0
je 0x40c8c3
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405ce0
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
mov byte [esp + 0x134], 2
call fcn.00401310
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00406a50
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x12c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c8c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40c8c3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x12c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c998
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c9bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0042cf8a
add esp, 0x11c
ret 4
Function at 0x416918
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41695e
call fcn.00414bb7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41695e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4169a1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41698a
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41698a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41699e
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41cd84
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41cdc7
call fcn.00414bb7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41cdc7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41cde2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041c93b
test ebx, ebx
mov esi, eax
je 0x41cde0
test edi, edi
je 0x41cde0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41d84a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41d878
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41d896
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041d7b4
jmp 0x41d896
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41d896
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041d7b4
test edi, edi
mov eax, edi
jne 0x41d880
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x45bf28]
test ecx, ecx
je 0x41d959
jmp 0x41d849
ret 8

Function at 0x42cf8a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x458640]
jne 0x42cf94
repz ret
jmp fcn.0043475c
Function at 0x43d975
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00432a74
xor ebx, ebx
cmp dword [0x45cdb4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x43da4a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x43d9b5
xor eax, eax
jmp 0x43db0e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44d138
push edi
call esi
cmp eax, ebx
je 0x43d9ae
push eax
call fcn.00432a11
mov dword [esp], 0x44d128
push edi
mov dword [0x45cdb4], eax
call esi
push eax
call fcn.00432a11
mov dword [esp], 0x44d114
push edi
mov dword [0x45cdb8], eax
call esi
push eax
call fcn.00432a11
mov dword [0x45cdbc], eax
lea eax, [ebp - 8]
push eax
call fcn.0042da73
test eax, eax
pop ecx
pop ecx
je 0x43da18
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00431f5c
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x43da4a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00432a11
cmp eax, ebx
pop ecx
mov dword [0x45cdc4], eax
je 0x43da4a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00432a11
pop ecx
mov dword [0x45cdc0], eax
mov eax, dword [0x45cdc0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x43dac3
cmp dword [0x45cdc4], esi
je 0x43dac3
push eax
call fcn.00432a7d
pop ecx
call eax
cmp eax, ebx
je 0x43da90
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x45cdc4]
call fcn.00432a7d
pop ecx
call eax
test eax, eax
je 0x43da90
test byte [ebp - 0x18], 1
jne 0x43dac3
lea eax, [ebp - 0xc]
push eax
call fcn.0042daaa
test eax, eax
pop ecx
je 0x43daab
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00431f5c
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x43daba
or dword [ebp + 0x10], 0x200000
jmp 0x43daf4
or dword [ebp + 0x10], 0x40000
jmp 0x43daf4
mov eax, dword [0x45cdb8]
cmp eax, esi
je 0x43daf4
push eax
call fcn.00432a7d
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43daf4
mov eax, dword [0x45cdbc]
cmp eax, esi
je 0x43daf4
push dword [ebp - 4]
push eax
call fcn.00432a7d
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x45cdb4]
call fcn.00432a7d
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x442031
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x44205e
call fcn.0042ed35
mov dword [eax], esi
call fcn.0042ed22
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00432058
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x44203a
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44208d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042ed48
pop ecx
call fcn.0042ed22
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x4420b4
test al, 1
je 0x4420b4
test byte [esp + 0xc], 2
je 0x4420b4
call fcn.0042ed35
mov dword [eax], 5
call fcn.0042ed22
mov dword [eax], 0xd
jmp 0x442084
xor eax, eax
pop esi
ret

Function at 0x442f1e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x458640]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00442eb3
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042d950
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x442f6d
cmp dword [ebp - 0x1c], 5
jb 0x442f85
jmp 0x442f81
cmp dword [ebp - 0x10], 1
jne 0x442f85
cmp dword [ebp - 0x1c], 4
ja 0x442f81
jne 0x442f85
cmp dword [ebp - 0x18], 0
jbe 0x442f85
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44d964
call fcn.00442d87
test eax, eax
jge 0x442fa6
mov byte [0x45a4c4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042cf8a
add ebp, 0x78
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x687c4acd
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x19c32789
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4012f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov dword [0x40bcd0], 0x44
push 0x1275
push 0x44b4
push 0
call dword [0x40b9a4]
mov dword [0x40b9b8], 0x1003f
push 0x80
lea eax, [ebp - 0x20c]
push eax
call dword [0x40bca0]
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401150
add esp, 4
push 0x228a
push 0x463a
push 0
call dword [0x40b9a4]
mov dword [ebp - 4], 0
jmp 0x401361
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [0x40b99c]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 4], ecx
jge 0x4013f0
push 0x2ff
push 0x3e15
push 0
call dword [0x40b9a4]
mov edx, dword [0x49f70c]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
add ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0xf8]
mov dword [0x40b998], edx
push 0x660
push 0x6f20
call fcn.00401030
add esp, 8
push 0
mov eax, dword [0x40b998]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [0x40b998]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [0x40b99c]
mov edx, dword [ecx + 0x34]
mov eax, dword [0x40b998]
add edx, dword [eax + 0xc]
push edx
mov ecx, dword [0x40b988]
push ecx
call dword [0x49e4f0]
jmp 0x401358
push 0x3eb4
push 0x14a0
call section..text
add esp, 8
call fcn.00401260
mov esp, ebp
pop ebp
ret