joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ee0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2d1], 0
je 0x402f33
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2d1]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0
je 0x402f21
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2d1]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x402f33
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2d1]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x4031e0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x403206
jmp 0x4032aa
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40322e
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4032aa
lea eax, [ebp - 0x10]
push eax
push 0x24
lea ecx, [ebp - 0x3c]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x40325e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4032aa
cmp dword [ebp - 0x38], 1
je 0x40326a
cmp dword [ebp - 0x38], 3
jne 0x403280
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4032aa
lea ecx, [ebp - 0x10]
push ecx
push 0x24
lea edx, [ebp - 0x3c]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esp, ebp
pop ebp
ret 4

Function at 0x40b9d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret 4
Function at 0x40cd10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 0x100]
mov byte [ebp - 2], cl
mov edx, dword [ebp + 0x10]
mov al, byte [edx + 0x101]
mov byte [ebp - 1], al
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x40cd49
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jge 0x40cdf9
movzx ecx, byte [ebp - 2]
add ecx, 1
and ecx, 0x800000ff
jns 0x40cd6c
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 2]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
add ecx, edx
and ecx, 0x800000ff
jns 0x40cd90
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 1], cl
movzx eax, byte [ebp - 1]
add eax, dword [ebp - 0x10]
push eax
movzx ecx, byte [ebp - 2]
add ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0040cea0
movzx edx, byte [ebp - 2]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx]
add ecx, edx
and ecx, 0x800000ff
jns 0x40cdd3
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 9], cl
movzx eax, byte [ebp - 9]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x40cd40
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 2]
mov byte [eax + 0x100], cl
mov edx, dword [ebp + 0x10]
mov al, byte [ebp - 1]
mov byte [edx + 0x101], al
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40d920
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
rdtsc
xchg ecx, eax
rdtsc
sub eax, ecx
cmp eax, 0xff
jae 0x40d949
sub edx, edx
mov dword [ebp - 4], 0
jmp 0x40d952
sub eax, ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x71c], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40db70
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x49804c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x22c], ecx
cmp dword [ebp + 8], 0
jne 0x40db96
xor al, al
jmp 0x40dc75
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40dbb0
xor al, al
jmp 0x40dc75
push 0x20a
push 0
lea ecx, [ebp - 0x228]
push ecx
call fcn.0045bf00
add esp, 0xc
push 0x104
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push 0x80
push 3
push 0
push 1
push 1
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40dc0f
xor al, al
jmp 0x40dc75
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0045d573
add esp, 4
mov edx, dword [ebp - 0x22c]
mov dword [edx + 0x104], eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx + 0x104]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x22c]
call fcn.0040e250
mov al, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045ba52
mov esp, ebp
pop ebp
ret 4
Function at 0x40dcb0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x108]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x108]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
movzx ecx, word [eax + 0x14]
lea edx, [edx + ecx + 0x18]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
jmp 0x40dd04
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x108]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
cmp dword [ebp - 4], edx
jge 0x40ddbb
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x40dd6f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jle 0x40dd6d
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.0045bf00
add esp, 0xc
jmp 0x40dcf2
push 4
push 0x1000
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0045bb90
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
jmp 0x40dcf2
mov esp, ebp
pop ebp
ret 8
Function at 0x40ddd0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x108]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
movzx ecx, word [eax + 0x14]
lea edx, [edx + ecx + 0x18]
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0
jmp 0x40de15
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 0x28
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x108]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
cmp dword [ebp - 4], edx
jge 0x40df45
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x20000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
and eax, 0x40000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 0x80000000
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x2000000
je 0x40de97
push 0x4000
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40de03
mov eax, dword [ebp - 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x1c]
lea edx, [eax + ecx*8 + 0x495374]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
and eax, 0x4000000
je 0x40dec9
mov ecx, dword [ebp - 0x18]
or ecx, 0x200
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40df15
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 0x40
je 0x40def6
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x108]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x20], eax
jmp 0x40df15
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 0x80
je 0x40df15
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x108]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jbe 0x40df40
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40df40
jmp 0x40de03
jmp 0x40de03
mov esp, ebp
pop ebp
ret
Function at 0x40ed60
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0x64
push 0x47bfd4
push 0x47bfe8
call fcn.0040f280
mov dword [ebp - 8], eax
push 0x47bff8
push str.Mpr.dll
call fcn.0040f280
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], 0
je 0x40edab
cmp dword [ebp - 0x18], 0
jne 0x40edb2
xor eax, eax
jmp 0x40ee8f
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 1
push 2
call sub.MPR.dll_WNetOpenEnumW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40edd5
xor eax, eax
jmp 0x40ee8f
mov dword [ebp - 0x20], 0x138800
mov edx, dword [ebp - 0x20]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call sub.MPR.dll_WNetEnumResourceW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40ee17
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x40ee8f
mov dword [ebp - 0x10], 0
jmp 0x40ee29
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jae 0x40ee83
mov ecx, dword [ebp - 0x10]
shl ecx, 5
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx + 0xc]
and eax, 2
je 0x40ee59
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
shl edx, 5
add edx, dword [ebp - 0x14]
push edx
call fcn.0040ed60
add esp, 8
mov eax, dword [ebp - 0x10]
shl eax, 5
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax + 4]
and edx, 1
je 0x40ee81
mov eax, dword [ebp - 0x10]
shl eax, 5
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax + 0x14]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040f4f0
jmp 0x40ee20
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40f260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x40eea0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x49a2c8], eax
pop ebp
ret

Function at 0x40fd70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x40f6d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x49a2d8], eax
pop ebp
ret
Function at 0x410630
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474b16
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x49804c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 5
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00403fd0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00403fd0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x48], 0
push 0x47c188
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.004040d0
push 0x47c18c
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.004040d0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4109a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 3
je 0x4109cb
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 4
je 0x4109cb
mov edx, dword [ebp - 0x18]
cmp dword [edx], 1
je 0x4109cb
mov eax, 0x80040227
jmp 0x410a99
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x24]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x1c]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x410a4c
mov dword [ebp - 0x14], 0x186a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, 1
test eax, eax
je 0x410a4c
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x24]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x28]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40237
jne 0x410a48
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
cmp eax, 0x1388
jbe 0x410a46
jmp 0x410a4c
jmp 0x4109f8
jmp 0x410a4c
cmp dword [ebp - 4], 0
jl 0x410a62
mov eax, dword [ebp - 0x18]
mov dword [eax], 2
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x28], 0
je 0x410a96
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x20], 0
je 0x410a96
push 0
push 0x8002
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x28]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x34]
call ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x428bc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x49804c]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x10]
call fcn.00423e90
push 0x2001f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x10]
call fcn.00428b70
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x428c20
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x10]
call fcn.00428a30
mov eax, dword [ebp - 0x21c]
jmp 0x428cb1
mov dword [ebp - 4], pe_nt_image_headers32
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x428c86
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x10]
call fcn.00428bc0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x428c7d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x10]
call fcn.00428a30
mov eax, dword [ebp - 0x220]
jmp 0x428cb1
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x428c27
lea ecx, [ebp - 0x10]
call fcn.00428ac0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x228]
call fcn.00428a60
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
call fcn.00428a30
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0045ba52
mov esp, ebp
pop ebp
ret 4
Function at 0x4292c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x4292c9
xor ecx, ecx
jne 0x4292c9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4292ed
push 0x80004005
call fcn.00403be0
xor eax, eax
jne 0x4292d1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x4292fe
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x42e180
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x14], 0
je 0x42e1a2
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
pop ecx
ret
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x42e130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x14], eax
push edi
je 0x42e196
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x42e7c6
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x49804c]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x42e864
push 0x47eafc
push 4
push eax
call fcn.0045f8d7
push eax
call fcn.00403c30
add esp, 0x10
push ebx
push edi
call fcn.0045f97e
mov edi, dword [eax]
call fcn.0045f97e
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0045f5b8
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.0045f97e
cmp dword [eax], ebx
je 0x42e87b
call fcn.0045f97e
push dword [eax]
call fcn.0042e75a
pop ecx
jmp 0x42e882
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x42e815
jmp 0x42e8f4
call fcn.0045f97e
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x42e8f0
cmp dword [ebp - 0x40], esi
jae 0x42e8f0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.0045bf00
add esp, 0xc
push 0x47e85c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x42e8e2
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42e8e2
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x42e8e2
push ebx
push ebx
push esi
jmp 0x42e8e8
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x42e8f2
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.0045ba52
add ebp, 0x1f4
leave
ret
Function at 0x431835
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4763df
call fcn.0045f7cd
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x43185a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4318a6
call fcn.00435f08
push eax
lea ecx, [ebp - 0x10]
call fcn.004044d0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00428100
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404580
mov eax, esi
call fcn.0045f8a5
ret 8

Function at 0x4323c3
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 0x432409
call fcn.00443114
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x432409
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x43244c
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 0x432435
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 0x432435
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x432449
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