joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013f0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41bf4e
push eax
mov dword fs:[0], esp
sub esp, 0x194
lea eax, [esp + 4]
push eax
push 2
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x401474
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x260
mov dword [0x428a90], 0
call fcn.00415ed1
add esp, 4
mov dword [esp], eax
test eax, eax
mov dword [esp + 0x19c], 0
je 0x401456
mov ecx, eax
call fcn.00404930
jmp 0x401458
xor eax, eax
push 0
push 0
mov dword [0x428ba0], eax
push 0x402610
mov dword [eax], 0
call fcn.004097fa
add esp, 0xc
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
add esp, 0x1a0
ret

Function at 0x401590
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x41bf76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x344
push ebp
lea ecx, [esp + 0xc]
call fcn.004085cf
mov ebp, dword [esp + 0x358]
lea eax, [esp + 0x1b8]
push ebp
push str._s.
push eax
mov dword [esp + 0x35c], 0
call fcn.0040996d
add esp, 0xc
lea ecx, [esp + 0x1b8]
push 0
push ecx
lea ecx, [esp + 0x14]
call fcn.00408692
test eax, eax
je 0x4016d5
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.004088b2
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], eax
call fcn.00408879
test eax, eax
jne 0x4016c7
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.00408aaa
push 0xc8
mov ecx, eax
mov byte [esp + 0x35c], 1
call fcn.00416374
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x358], 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00416172
mov edx, dword [esp + 0x14]
push 0x10
lea ecx, [esp + 0x18]
call dword [edx + 0x38]
test eax, eax
lea eax, [esp + 0x30]
push eax
push ebp
push str._s_s
je 0x4016a9
lea ecx, [esp + 0x104]
push ecx
call fcn.0040996d
lea edx, [esp + 0x108]
push edx
call fcn.00401590
add esp, 0x14
jmp 0x4016c7
lea ecx, [esp + 0x294]
push ecx
call fcn.0040996d
add esp, 0x10
lea edx, [esp + 0x288]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4015fa
pop edi
pop esi
lea ecx, [esp + 0xc]
call fcn.00408648
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
pop ebp
mov dword [esp + 0x34c], 0xffffffff
lea ecx, [esp + 8]
jne 0x401715
call fcn.0040860c
xor al, al
mov ecx, dword [esp + 0x344]
mov dword fs:[0], ecx
add esp, 0x350
ret
call fcn.0040860c
mov ecx, dword [esp + 0x344]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x350
ret
Function at 0x401d40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
push ebx
push esi
lea eax, [esp + 0x14]
push edi
push eax
push 0x20019
push 0
push ecx
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401d7f
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push 0
push eax
push 0
push esi
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call fcn.00415ed1
mov edx, dword [esp + 0x1c]
add esp, 4
mov ebx, eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ebx
push ecx
push 0
push esi
push edx
call edi
test eax, eax
je 0x401de4
push ebx
call fcn.00415efa
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x20]
mov ecx, eax
mov esi, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
call fcn.00415efa
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x401e30
Capabilities:
Set registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
lea eax, [esp]
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x401e60
xor eax, eax
pop ecx
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
push 7
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x401e91
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop ecx
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ecx
ret
Function at 0x4041a0
Capabilities:
Access the windows event log
Get session user name
Get user security identifier

Disassembly:
sub esp, 0x218
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x20]
mov esi, 0x101
push eax
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edx, [esp + 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
mov edi, dword [esp + 0x238]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x128]
mov dword [esp + 0x18], esi
push eax
lea edx, [esp + 0x18]
xor esi, esi
push ecx
push edx
lea eax, [esp + 0x30]
push esi
push eax
push esi
mov dword [esp + 0x2c], esi
call ebx
test eax, eax
jne 0x404236
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00415ed1
add esp, 4
mov esi, eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x128]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x30]
push esi
push eax
push 0
call ebx
test eax, eax
je 0x404236
mov edi, esi
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x244]
mov eax, dword [esp + 0x240]
push ecx
mov ecx, dword [esp + 0x240]
push edx
mov edx, dword [esp + 0x23c]
push eax
mov eax, dword [esp + 0x23c]
push ecx
mov ecx, dword [esp + 0x23c]
push edi
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
test esi, esi
mov edi, eax
je 0x404288
push esi
call fcn.00415efa
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 0x20
Function at 0x404370
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41c1c8
push eax
mov dword fs:[0], esp
sub esp, 0x20
lea eax, [esp]
push ebx
push esi
xor ebx, ebx
push eax
push 0x2001f
push ebx
push str.SYSTEMCurrentControlSetServicesEventLogApplication_
push reloc.WS2_32.dll_bind
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40454f
lea ecx, [esp + 0x10]
mov eax, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x3c]
lea edx, [esp + 0x3c]
push ecx
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x404530
mov esi, dword [esp + 0x40]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x3c]
inc eax
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push ebx
push str.EventMessageFile
push ecx
call esi
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x40], eax
je 0x40442d
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x44]
push 4
push edx
push 4
push ebx
push str.TypesSupported
push eax
call esi
test eax, eax
mov dword [esp + 0x40], 1
je 0x404431
mov dword [esp + 0x40], ebx
mov ecx, dword [esp + 0x3c]
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
call fcn.00414ab4
push str.Sources
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], ebx
call fcn.0041619c
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
mov byte [esp + 0x44], 1
call fcn.00404740
add esp, 0xc
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x38], bl
call fcn.00416172
cmp esi, ebx
je 0x40451a
mov eax, dword [esp + 0x24]
xor edi, edi
xor esi, esi
cmp eax, ebx
jle 0x4044d8
cmp edi, ebx
jne 0x40451a
lea edx, [esp + 0x14]
push esi
push edx
lea ecx, [esp + 0x24]
call fcn.00404570
mov eax, dword [eax]
push ebp
push eax
call fcn.0040a35f
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete al
and eax, 0xff
mov edi, eax
call fcn.00416172
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x404497
cmp edi, ebx
jne 0x40451a
push ebp
push eax
lea ecx, [esp + 0x24]
call fcn.00414c90
push str.Sources
lea ecx, [esp + 0x18]
call fcn.0041619c
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
mov byte [esp + 0x44], 2
call fcn.00404820
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], bl
call fcn.00416172
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00414ae7
mov esi, dword [esp + 0x44]
pop edi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4045a0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x41c200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push edi
push str.SYSTEMCurrentControlSetServicesEventLogApplication_
lea ecx, [esp + 0x14]
call fcn.0041619c
mov ebx, dword [esp + 0x38]
xor edi, edi
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], edi
call fcn.00416320
mov eax, dword [esp + 0x10]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0xc]
mov ebp, eax
push ecx
push 0x2001f
neg ebp
push edi
push str.SYSTEMCurrentControlSetServicesEventLogApplication_
sbb ebp, ebp
push reloc.WS2_32.dll_bind
inc ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404719
push esi
lea ecx, [esp + 0x18]
call fcn.00414ab4
push str.Sources
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 1
call fcn.0041619c
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
lea eax, [esp + 0x3c]
push edx
push eax
push ecx
mov byte [esp + 0x40], 2
call fcn.00404740
add esp, 0xc
lea ecx, [esp + 0x3c]
mov esi, eax
mov byte [esp + 0x34], 1
call fcn.00416172
cmp esi, edi
je 0x4046ff
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
jle 0x4046ff
test esi, esi
jne 0x4046c7
lea edx, [esp + 0x3c]
push edi
push edx
lea ecx, [esp + 0x20]
call fcn.00404570
mov eax, dword [eax]
push ebx
push eax
call fcn.0040a35f
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
sete al
and eax, 0xff
mov esi, eax
call fcn.00416172
test esi, esi
je 0x4046ba
push 1
push edi
lea ecx, [esp + 0x20]
call fcn.00414cbc
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x404676
test esi, esi
je 0x4046ff
push str.Sources
lea ecx, [esp + 0x40]
call fcn.0041619c
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x3c]
push ecx
push edx
push eax
mov byte [esp + 0x40], 3
call fcn.00404820
add esp, 0xc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call fcn.00416172
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0
call fcn.00414ae7
pop esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.00416172
mov ecx, dword [esp + 0x28]
mov eax, ebp
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x404740
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp + 0xc]
push ebp
push esi
push 0
push 0
mov esi, dword [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x40480a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00415ed1
mov edx, dword [esp + 0x18]
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 8]
mov dword [esp + 8], edx
mov eax, dword [eax]
push ecx
lea edx, [esp + 0x10]
push ebp
push edx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404801
cmp dword [esp + 0xc], 7
jne 0x404801
push ebx
mov ebx, dword [esp + 0x20]
push 0xffffffffffffffff
push 0
mov ecx, ebx
mov esi, ebp
call fcn.00414b47
cmp byte [ebp], 0
je 0x4047ec
push edi
mov eax, dword [ebx + 8]
push esi
push eax
mov ecx, ebx
call fcn.00414c90
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [esi + ecx + 1]
lea esi, [esi + ecx + 1]
test al, al
jne 0x4047c7
pop edi
push ebp
call fcn.00415efa
add esp, 4
mov eax, 1
pop ebx
pop esi
pop ebp
add esp, 8
ret
push ebp
call fcn.00415efa
add esp, 4
pop esi
xor eax, eax
pop ebp
add esp, 8
ret

Function at 0x404820
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
xor esi, esi
mov ebx, dword [ebp + 8]
xor edi, edi
test ebx, ebx
mov dword [esp + 0x1c], ebx
jle 0x404866
lea eax, [esp + 0x18]
push edi
push eax
mov ecx, ebp
call fcn.00404570
mov ecx, dword [eax]
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x18]
lea eax, [esi + edx + 1]
mov dword [esp + 0x10], eax
call fcn.00416172
mov esi, dword [esp + 0x10]
inc edi
cmp edi, ebx
jl 0x40483a
inc esi
push esi
mov dword [esp + 0x14], esi
call fcn.00415ed1
mov ecx, esi
mov edx, eax
mov ebx, ecx
xor eax, eax
mov edi, edx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
xor ebx, ebx
and ecx, 3
xor ebp, ebp
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
test eax, eax
jle 0x4048f5
lea ecx, [esp + 0x14]
push ebp
push ecx
mov ecx, dword [esp + 0x34]
call fcn.00404570
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
add edx, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x14]
lea ebx, [ebx + edx + 1]
call fcn.00416172
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x40489a
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push esi
push edx
mov eax, dword [eax]
push 7
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x18]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call fcn.00415efa
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4049a0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], 1
mov eax, dword [esi + 4]
test eax, eax
jl 0x4049b8
call fcn.004049f0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi + 4], eax
pop esi
test eax, eax
jge 0x4049cf
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 1
push 6
push eax
call sub.WS2_32.dll_setsockopt
neg eax
sbb eax, eax
neg eax
dec eax
pop ecx
ret

Function at 0x404b40
Capabilities:
Set socket configuration

Disassembly:
push ecx
mov eax, dword [ecx + 4]
push edi
test eax, eax
mov dword [esp + 4], 1
jge 0x404b56
xor eax, eax
pop edi
pop ecx
ret
push 0
push 0
push eax
call sub.WS2_32.dll_accept
mov edi, eax
test edi, edi
jge 0x404b6b
xor eax, eax
pop edi
pop ecx
ret
push esi
push 8
call fcn.00415ed1
add esp, 4
test eax, eax
je 0x404b8c
mov ecx, eax
call fcn.00404960
mov esi, eax
test esi, esi
je 0x404b8e
mov dword [esi + 4], edi
jmp 0x404b9c
xor esi, esi
push 2
push edi
call sub.WS2_32.dll_shutdown
push edi
call sub.WS2_32.dll_closesocket
mov ecx, dword [esi + 4]
lea eax, [esp + 8]
push 4
push eax
push 1
push 6
push ecx
call sub.WS2_32.dll_setsockopt
mov eax, esi
pop esi
pop edi
pop ecx
ret

Function at 0x41b1cc
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 0x41b1fa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41b218
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041b132
jmp 0x41b218
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41b218
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041b132
test edi, edi
mov eax, edi
jne 0x41b202
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x420e90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48f7cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00481d39
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x420f12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047f590
mov eax, dword [eax]
push 0x65c254
push eax
call fcn.00471694
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00481fc4
test bl, bl
je 0x420f12
push 0x65c254
lea ecx, [esp + 0xc]
call fcn.004823a0
push 0x65fde8
lea ecx, [esp + 0xc]
call fcn.004823a0
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x420f4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00481fc4
jmp 0x421019
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x420fd2
lea edx, [esp + 0x7c]
push 0x65fde4
push edx
call fcn.00471694
add esp, 8
test eax, eax
je 0x420fd2
lea eax, [esp + 0x7c]
push 0x65fde0
push eax
call fcn.00471694
add esp, 8
test eax, eax
je 0x420fd2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x420f62
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00481fc4
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x421810
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x421872
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x421880
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48f84b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x66704c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4219b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4218e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00481fc4
xor eax, eax
jmp 0x421a2f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048214d
push esi
lea ecx, [esp + 0xc]
call fcn.004823dc
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x65fe20
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x421a0d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00421810
test eax, eax
jne 0x421a0d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00421810
test eax, eax
jne 0x421a0d
lea eax, [esp + 0x14]
push 0x65fdfc
push eax
call fcn.00472770
mov esi, eax
add esp, 8
test esi, esi
jne 0x4219ec
lea ecx, [esp + 0x14]
push 0x65fdf8
push ecx
call fcn.004726f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4219ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4219ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004820fd
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4218fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00481fc4
xor eax, eax
jmp 0x421a2f
mov byte [esi], 0
push 0x65fdf4
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00481fc4
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4