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

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
mov dword [esp], 0
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41896a
xor eax, eax
pop ecx
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 4
push eax
mov eax, dword [esp + 4]
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
pop ecx
ret

Function at 0x4189a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov edx, ecx
push edi
xor eax, eax
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
mov dword [esp + 0xc], 0
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x418a32
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push 0
push ecx
push 0
push esi
push edx
call edi
test eax, eax
jne 0x418a32
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ebx
push ecx
push 0
push esi
push edx
call edi
test eax, eax
jne 0x418a32
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x418a40
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ecx
push ebx
mov bl, byte [esp + 0x1c]
test bl, 3
push esi
mov dword [esp + 8], 0
je 0x418a82
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 0
push 7
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x418aa5
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 8]
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x418aa5
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push edx
push 0
push 0
push esi
push eax
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test bl, 0xc
jne 0x418ad5
cmp eax, 2
je 0x418ade
test eax, eax
je 0x418aef
cmp eax, 2
je 0x418aef
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 8]
lea edx, [esp + 0x1c]
push 4
push edx
push 4
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop esi
pop ebx
sete al
pop ecx
ret
Function at 0x418b20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ecx
push ebx
mov bl, byte [esp + 0x20]
test bl, 3
push esi
mov dword [esp + 8], 0
je 0x418b62
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 0
push 7
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x418b85
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 8]
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x418b85
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
push 0
push 0
push esi
push eax
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test bl, 0xc
jne 0x418bb5
cmp eax, 2
je 0x418bbe
test eax, eax
je 0x418bcf
cmp eax, 2
je 0x418bcf
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
push edx
push eax
push 3
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop esi
pop ebx
sete al
pop ecx
ret

Function at 0x418c10
Capabilities:
Start service

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00418880
add esp, 4
cmp eax, 1
je 0x418c62
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x418c62
push ebx
push 0x34
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x418c5e
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
call ebx
push edi
call ebx
pop ebx
pop edi
pop esi
ret

Function at 0x418c70
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x28]
push edi
call fcn.00418880
add esp, 4
cmp eax, 2
je 0x418cbf
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
je 0x418cbf
push 0x34
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
test eax, eax
je 0x418cb8
lea ecx, [esp + 8]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x418cd0
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push 0xffffffffffffffff
push 0x432178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
test ebp, ebp
je 0x418de2
mov eax, dword [esp + 0x2c]
push ebx
push esi
mov ecx, dword [esp + 0x30]
push esi
mov edx, dword [esp + 0x30]
push 0x441314
push esi
push esi
push eax
push 1
push 2
push pe_nt_image_headers32
push 0xf01ff
push ecx
push edx
push ebp
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov ebx, eax
test ebx, ebx
je 0x418dd4
mov eax, dword [esp + 0x28]
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], 1
mov eax, dword [eax - 8]
add eax, 0xfffffffd
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00427771
mov edx, dword [eax]
push edx
push 0x43d940
push 0x441514
call fcn.0041c97b
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.004288f2
mov edi, str.System.
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x14], 0x441514
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x441514
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
push 1
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [esp + 0x18]
pop edi
jmp 0x418dda
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call fcn.004288f2
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.004288f2
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004288f2
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x418ec0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
sub esp, 0x20
push ebp
push 0xf003f
push 0
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
test ebp, ebp
je 0x418f60
mov eax, dword [esp + 0x28]
push esi
push 0xf01ff
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x418f58
lea ecx, [esp + 0xc]
push edi
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x418f3d
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
je 0x418f3d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x18], 3
jne 0x418f3c
push 0x64
call ebx
lea eax, [esp + 0x14]
push eax
push esi
call edi
test eax, eax
jne 0x418f25
pop ebx
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
pop edi
je 0x418f51
mov dword [esp + 8], 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
lea ecx, [esp + 0x28]
call fcn.004288f2
mov eax, dword [esp + 4]
pop ebp
add esp, 0x20
ret

Function at 0x418f80
Capabilities:
Modify service

Disassembly:
push ebx
push edi
xor ebx, ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x418fe8
mov eax, dword [esp + 0xc]
push ebp
push esi
push 2
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x418fde
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
jne 0x418fdb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x430
jne 0x418fdb
or ebx, 0xffffffff
push esi
call ebp
push edi
call ebp
pop esi
pop ebp
mov eax, ebx
pop edi
pop ebx
ret
mov eax, ebx
pop edi
pop ebx
ret
Function at 0x418ff0
Capabilities:
Copy file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4321c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x34]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x34]
push 0x5c
push ecx
call fcn.0041bd80
add esp, 8
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
mov byte [eax + 1], 0
push edx
call fcn.00428960
lea eax, [esp + 0x138]
push 0x104
push eax
mov dword [esp + 0x24c], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x138]
push ecx
lea ecx, [esp + 0xc]
call fcn.00428960
push 1
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 1
call fcn.004273f0
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x24c], 2
call fcn.004276f5
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push ecx
push eax
call fcn.0041bda7
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004288f2
lea ecx, [esp + 0xc]
mov byte [esp + 0x244], 1
call fcn.004288f2
test bl, bl
je 0x4190ea
push 0x43b1ec
lea ecx, [esp + 0xc]
call fcn.00428c82
push str.wlg_client_svc.exe
lea ecx, [esp + 0xc]
call fcn.00428c82
lea ecx, [esp + 0x18]
call fcn.0041ab80
mov edx, dword [esp + 8]
mov bl, 3
push 0
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x24c], bl
call fcn.0041ac43
test eax, eax
jne 0x419171
lea eax, [esp + 0xc]
push str.wlg_keep.exe
push eax
call fcn.004198a0
add esp, 8
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
mov byte [esp + 0x250], 4
call fcn.00428ad5
mov ecx, dword [esp + 8]
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x10]
call fcn.004288f2
lea ecx, [esp + 0xc]
mov byte [esp + 0x244], bl
call fcn.004288f2
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 1
call fcn.0041abbd
lea ecx, [esp + 8]
mov byte [esp + 0x244], 0
call fcn.004288f2
lea ecx, [esp + 0x14]
mov dword [esp + 0x244], 0xffffffff
call fcn.004288f2
mov ecx, dword [esp + 0x23c]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x240
ret
Function at 0x419700
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
lea eax, [esp + 0x14]
push edi
push eax
push 0x2001f
push 0
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41972d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x20]
test eax, eax
je 0x419763
mov edx, dword [esp + 0x18]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call edi
push ebp
call edi
test esi, esi
je 0x41988a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push 0
push 0
mov eax, dword [esp + 0x20]
push 0
push 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
push 0
lea ecx, [esp + 0x24]
push 0
lea edx, [esp + 0x38]
push ecx
push edx
push 0
push 0
push 0
push eax
mov dword [esp + 0x50], 0
call ebx
test eax, eax
jne 0x41981d
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x419867
mov ecx, dword [esp + 0x10]
inc ecx
push ecx
call fcn.00428e1c
mov edx, dword [esp + 0x14]
add esp, 4
inc edx
mov esi, eax
mov eax, dword [esp + 0x18]
push edx
push esi
push 0
push eax
call edi
test eax, eax
jne 0x419830
mov ecx, dword [esp + 0x18]
push eax
push esi
push ecx
call fcn.00419700
add esp, 0xc
test eax, eax
push esi
je 0x41984c
call fcn.00428e45
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
jbe 0x419867
push 0
push 0
mov ecx, dword [esp + 0x20]
push 0
push 0
push 0
lea edx, [esp + 0x24]
push 0
lea eax, [esp + 0x38]
push edx
push eax
push 0
push 0
push 0
push ecx
call ebx
test eax, eax
je 0x4197a2
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push esi
call fcn.00428e45
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
call fcn.00428e45
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x41988a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x4198a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x432275
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50c
push esi
push edi
lea eax, [esp + 0x10]
push 0x104
push eax
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x10]
push 0x5c
push ecx
call fcn.0041bd80
add esp, 8
lea edx, [esp + 0x10]
lea ecx, [esp + 8]
mov byte [eax + 1], 0
push edx
call fcn.00428960
push str.prrocess.dat
lea ecx, [esp + 0xc]
mov dword [esp + 0x520], 1
call fcn.00428c82
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x114]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x114]
push eax
mov eax, dword [esp + 0x52c]
push 0x400
push ecx
push eax
push str.nickname
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x524]
lea edx, [esp + 0x114]
push edx
mov ecx, esi
call fcn.00428960
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x51c], 0
call fcn.004288f2
mov ecx, dword [esp + 0x514]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x518
ret

Function at 0x419c40
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x4322b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push ecx
lea eax, [esp + 0x1c]
xor esi, esi
mov ecx, esp
mov dword [esp + 8], esp
push eax
mov dword [esp + 0x18], esi
call fcn.00428667
call fcn.00419ab0
add esp, 4
cmp eax, esi
je 0x419c88
mov ecx, dword [esp + 0x18]
push ecx
call sub.WSOCK32.dll_inet_addr
mov esi, eax
jmp 0x419c9d
mov edx, dword [esp + 0x18]
push edx
call sub.WSOCK32.dll_gethostbyname
cmp eax, esi
je 0x419c9d
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov esi, dword [ecx]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.004288f2
mov ecx, dword [esp + 8]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret
Function at 0x41a190
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
lea eax, [esp]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jge 0x41a1ae
xor eax, eax
add esp, 0x10c
ret
mov edx, dword [esp + 0x110]
lea ecx, [esp + 4]
push ecx
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jge 0x41a1da
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
add esp, 0x10c
ret
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
mov eax, dword [esp]
jne 0x41a201
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
add esp, 0x10c
ret
mov ecx, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
lea ecx, [esp + 8]
push eax
push ecx
push edx
call fcn.0041bf00
add esp, 0xc
mov eax, 1
add esp, 0x10c
ret
Function at 0x41a700
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x43249f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov dword [esp + 0xc], 0
mov eax, dword [0x43db14]
mov dword [esp + 0x20], 1
mov dword [esp + 0x10], eax
push 0
push 0
push 0
push 0
push 0x43daf4
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 0
mov ebx, eax
push 0
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edx, dword [0x43db14]
mov esi, eax
mov dword [esp + 8], edx
test esi, esi
mov byte [esp + 0x20], 3
je 0x41a7c0
push ebp
push edi
push 0x7d1
call fcn.00428e1c
mov ebp, eax
mov ecx, 0x1f4
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
add esp, 4
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
push eax
push 0x7d0
push ebp
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41a7ae
push ebp
lea ecx, [esp + 0x14]
call fcn.00428a2f
push ebp
call fcn.00428e45
add esp, 4
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop ebp
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00428667
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call fcn.004288f2
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.004288f2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.004288f2
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x42e2be
Capabilities:
Create http request

Disassembly:
mov eax, 0x43280c
call fcn.0041ce88
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x42e2f6
call fcn.0042fb70
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x42e31b
push eax
push dword [esi + 4]
call fcn.0042efa0
jmp 0x42e327
push esi
push eax
mov ecx, 0x4416e0
call fcn.0042e338
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x42e4b4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x432847
call fcn.0041ce88
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0042947a
mov eax, dword [0x43db14]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x4416e0
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0042e338
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00428a2f
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.0041b29c
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004289df
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.004288f2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x10011fc0
Capabilities:
Parse pe header

Disassembly:
insb byte es:[edi], dx
and al, 0x54
mov ebx, dword [0x100230f0]
lea eax, [esp + 0x10]
push 0
push eax
push 0x40
push edi
push esi
call ebx
test eax, eax
je 0x10012095
cmp dword [esp + 0x10], 0x40
jne 0x10012095
cmp word [edi], 0x5a4d
jne 0x10012095
mov ecx, dword [edi + 0x3c]
push 0
push 0
push ecx
push esi
call dword [fcn.100230f8]
xor byte [edx], al
adc byte [ebx], bh
inc edi
cmp al, 0xf
invalid
mov dword [eax], eax
add byte [eax], al
lea edx, [esp + 0x10]

Function at 0x10011fe0
Capabilities:
Parse pe header

Disassembly:
insb byte es:[edi], dx
and al, 0x54
mov ebx, dword [0x100230f0]
lea eax, [esp + 0x10]
push 0
push eax
push 0x40
push edi
push esi
call ebx
test eax, eax
je 0x10012095
cmp dword [esp + 0x10], 0x40
jne 0x10012095
cmp word [edi], 0x5a4d
jne 0x10012095
mov ecx, dword [edi + 0x3c]
push 0
push 0
push ecx
push esi
call dword [fcn.100230f8]
xor byte [edx], al
adc byte [ebx], bh
inc edi
cmp al, 0xf
invalid
mov dword [eax], eax
add byte [eax], al
lea edx, [esp + 0x10]

Function at 0x10017120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10021610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
push 0xd3d3d3
push 1
push 0
lea ecx, [esp + 0x20]
call fcn.1001ff76
push 0xffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call fcn.1001ff6a
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x28], 1
call fcn.1001ff70
lea ecx, [esp + 0xc]
mov edi, eax
push ecx
mov ecx, esi
call fcn.1001ff64
mov ebx, eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [fcn.10023054]
push edi
mov ecx, esi
call fcn.1001ff70
push ebx
mov ecx, esi
call fcn.1001ff64
mov esi, 0x10023ab8
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.1001fc6a
mov dword [esp + 0xc], 0x10023aa4
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 3
call fcn.1001fc6a
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x1001a4f0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
call edi
push eax
lea ecx, [esp + 0x20]
call fcn.1001fca6
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x44]
call fcn.1001fdd2
push 0x1002b1b8
lea ecx, [esp + 0x30]
dec esp
and al, 0x30
Function at 0x1001de50
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret