joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4399f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.004294e0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push edi
push esi
mov dword [esp + 0x20], 0xffffffff
call ebx
mov ebp, eax
test ebp, ebp
je 0x439ad4
push 0xf0
push edi
push esi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
xor edi, edi
test eax, eax
je 0x439a44
push eax
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push ebp
push esi
mov dword [esp + 0x18], 0
call ebx
test eax, eax
je 0x439aad
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x439aad
push edi
push ebx
call fcn.0042c140
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push edx
push edi
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
mov esi, eax
test esi, esi
je 0x439a8f
cmp esi, 0xffffffff
jne 0x439a99
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp edi, ebx
je 0x439abb
push edi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x439abb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x439aca
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x439ff9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
push edi
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
xor edi, edi
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
je 0x43a0eb
mov eax, dword [esi + 0x30]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x43a0eb
cmp ecx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
je 0x43a081
mov eax, dword [esi + 0x30]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x43a081
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov eax, edx
imul eax, edi
add eax, ecx
cmp edi, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jbe 0x43a072
mov ebp, dword [esi + 0x48]
imul ebp, edi
add eax, ebp
mov dword [esp + 0x24], eax
mov ebp, dword [esi + 0x38]
add ebp, ecx
add edx, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x43a09f
cmp dword [esi + 0x78], edi
jne 0x43a0a7
add edi, 1
jmp 0x43a012
mov eax, dword [esi + 4]
push 0x101
push ebx
push ebx
push eax
mov dword [esi + 0x78], edi
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esi + 4]
xor eax, eax
lea edx, [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10
Function at 0x43a609
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
push edi
xor ebx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
xor edi, edi
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
mov dword [esp + 0x3c], edi
je 0x43a72d
mov eax, dword [esi + 0x30]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x43a72d
cmp ecx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
je 0x43a695
mov eax, dword [esi + 0x30]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x43a695
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov eax, edx
imul eax, edi
add eax, ecx
cmp edi, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jbe 0x43a686
mov ebp, dword [esi + 0x48]
imul ebp, edi
add eax, ebp
mov dword [esp + 0x24], eax
mov ebp, dword [esi + 0x38]
add ebp, ecx
add edx, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x43a6b6
add edi, 1
jmp 0x43a622
mov eax, dword [esi + 0x80]
lea ecx, [esp + 0x3c]
lea ebx, [esi + 0x7c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
mov dword [esp + 0x1c], eax
call fcn.0043a590
mov ebp, eax
mov eax, dword [ebp]
test eax, eax
je 0x43a6e1
cmp eax, ebx
je 0x43a6e6
call fcn.00475a50
mov eax, dword [esp + 0x14]
cmp dword [ebp + 4], eax
jne 0x43a72d
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x43a702
mov eax, dword [esi + 0x30]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x43a707
call fcn.00475a50
mov ecx, dword [esi + 0x2c]
movzx edx, word [ecx + edi*8 + 4]
mov eax, dword [esi + 0x24]
push 0
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10
Function at 0x43b1a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x118]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x120]
push edi
mov edi, dword [esp + 0x120]
push edi
mov ebp, ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x43b203
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea ecx, [esp + 0x20]
push str.LoadLibrary___s___failed__error_code___08X_
push ecx
call fcn.00474ff6
add esp, 0x10
jmp 0x43b29b
push str.InitModuleInterface
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x43b230
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push edi
lea edx, [esp + 0x24]
push str.GetProcAddress___s___08X____InitModuleInterface___failed__error_code___08X_
push edx
call fcn.00474ff6
add esp, 0x14
jmp 0x43b294
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 4]
push 0
push 0
push ecx
push edx
push esi
call eax
add esp, 0x14
test eax, eax
jne 0x43b25e
lea eax, [esp + 0x10]
push eax
lea ecx, [ebp + 0x278]
call fcn.004397f0
mov eax, 1
jmp 0x43b29d
push eax
push edi
lea ecx, [esp + 0x20]
push str.Failed_to_fetch_the_interface_from_module__s__error_code___08X
push ecx
call fcn.00474ff6
mov eax, dword [esi]
add esp, 0x10
test eax, eax
je 0x43b294
mov edx, dword [eax + 8]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43b294
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00475ec4
add esp, 0x10c
ret 0xc

Function at 0x43cfd0
Capabilities:
Hide graphical window

Disassembly:
test ecx, ecx
push esi
je 0x43cfda
lea esi, [ecx - 0x20]
jmp 0x43cfdc
xor esi, esi
mov eax, dword [esi + 4]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
ret

Function at 0x43fee0
Capabilities:
Hide graphical window

Disassembly:
test ecx, ecx
push esi
je 0x43feea
lea esi, [ecx - 0x24]
jmp 0x43feec
xor esi, esi
mov eax, dword [esi + 4]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
ret
Function at 0x442940
Capabilities:
Hide graphical window

Disassembly:
test ecx, ecx
push esi
je 0x44294a
lea esi, [ecx - 0x24]
jmp 0x44294c
xor esi, esi
mov eax, dword [esi + 4]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
ret

Function at 0x444c10
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4a1c53
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4c26a0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea eax, [esi + 4]
push eax
mov dword [esi], vtable.CMitThread.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x20]
push eax
push 4
push esi
push 0x4026d0
push ebx
push ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], ebx
mov dword [eax], ebx
call fcn.0047576d
add esp, 0x18
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x30], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TUpdateThread.0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], eax
push ebx
lea edx, [esp + 0x28]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x24], 2
mov byte [ecx + 4], bl
call fcn.0040a730
push 0xffffffffffffffff
lea ecx, [esi + 0x50]
push ebx
lea eax, [esp + 0x4c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x24], 3
mov byte [ecx + 4], bl
call fcn.0040a730
cmp dword [esp + 0x38], 0x10
mov ecx, dword [esp + 0x60]
mov dword [esi + 0x6c], ecx
jb 0x444ce6
mov edx, dword [esp + 0x24]
push edx
call fcn.00474c07
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
jb 0x444d0a
mov eax, dword [esp + 0x48]
push eax
call fcn.00474c07
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x44
Function at 0x4451e0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4a1d30
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4c26a0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esi + 4]
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CMitThread.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x20]
push eax
push 4
push esi
push 0x4026d0
push ebx
push ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], ebx
mov dword [eax], ebx
call fcn.0047576d
add esp, 0x18
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.CUpdateWindow::TestServerThread.0
mov dword [esi + 0x28], eax
push ebx
lea edx, [esp + 0x2c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x24], 1
mov byte [ecx + 4], bl
call fcn.0040a730
cmp dword [esp + 0x3c], 0x10
mov dword [esi + 0x24], 1
jb 0x44528a
mov eax, dword [esp + 0x28]
push eax
call fcn.00474c07
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x20

Function at 0x4455e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp eax, dword [esi + 0x180]
jne 0x4455fa
cmp byte [esp + 0x10], 0
je 0x44574e
push ebx
mov dword [esi + 0x180], eax
sub eax, 0
push edi
je 0x4456b5
sub eax, 2
jne 0x44574c
mov bl, byte [esp + 0x14]
test bl, bl
lea eax, [esi + 0x290]
jne 0x445628
lea eax, [esi + 0x294]
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0x1c4]
call fcn.00415720
mov edx, dword [esi + 0x1d0]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edx
call edi
mov eax, dword [esi + 0x230]
push 0
push eax
call edi
mov ecx, dword [esi + 0x298]
push 0
push 0x64
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test bl, bl
jne 0x44574c
mov ebx, dword [esi + 0x188]
test ebx, ebx
jl 0x44574c
lea ecx, [esi + 0x194]
call fcn.0042cee0
add ebx, 1
cmp ebx, eax
jae 0x44574c
mov edx, dword [esi + 0x2a0]
push 5
push edx
call edi
mov eax, dword [esi + 0x298]
push 0
push eax
call edi
pop edi
pop ebx
pop esi
ret 0xc
mov ecx, dword [esi + 0x298]
push 0
push 0
push 0x402
push ecx
mov byte [esi + 0x184], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x298]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edx
call edi
mov eax, dword [esi + 0x2a0]
push 0
push eax
call edi
lea ecx, [esi + 0x1a4]
call fcn.0040a4a0
mov ecx, dword [esi + 0x1c8]
push 0x4a9678
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [esi + 0x1c8]
push 5
push edx
call edi
mov eax, dword [esi + 0x28c]
push eax
lea ecx, [esp + 0x1c]
lea ebx, [esi + 0x1c4]
push ecx
mov ecx, ebx
call fcn.00415720
mov edx, dword [ebx]
push 5
push edx
call edi
mov eax, dword [esi + 0x1d0]
push 0
push eax
call edi
mov ecx, dword [esi + 0x230]
push 5
push ecx
call edi
pop edi
pop ebx
pop esi
ret 0xc
Function at 0x4486a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a2279
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4c26a0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x6c]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x10], 1
call fcn.0046f9b0
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x68], 1
call fcn.00460270
push str.configupdateserver.txt
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x74], 2
call fcn.0040b1f0
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 3
call fcn.00470700
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jb 0x44873f
mov edx, dword [esp + 0x28]
push edx
call fcn.00474c07
add esp, 4
cmp dword [esp + 0x58], esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x64], 1
jb 0x448767
mov eax, dword [esp + 0x44]
push eax
call fcn.00474c07
add esp, 4
lea ecx, [esp + 0x14]
xor esi, esi
call fcn.0046ebb0
test eax, eax
jbe 0x4487d9
lea ecx, [esp + 0x24]
call fcn.0046f9b0
push 0x2c
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 4
call fcn.0046eb60
push eax
lea ecx, [esp + 0x2c]
call fcn.004703c0
lea ecx, [esp + 0x24]
call fcn.0046ebb0
cmp eax, 1
jbe 0x4487bb
push 1
lea ecx, [esp + 0x28]
call fcn.0046eb60
push eax
mov ecx, edi
call fcn.004481d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 1
call fcn.0046f9c0
lea ecx, [esp + 0x14]
add esi, 1
call fcn.0046ebb0
cmp esi, eax
jb 0x448776
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], bl
call fcn.0046f9c0
mov eax, edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret 4

Function at 0x44a309
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0xf060
push esi
mov esi, ecx
jne 0x44a31c
call fcn.00449b30
mov eax, 1
pop esi
ret 0xc
cmp eax, 0xf020
jne 0x44a340
cmp dword [0x4c22c0], 0
je 0x44a334
mov eax, dword [esi + 4]
push 0
push eax
jmp 0x44a33a
mov ecx, dword [esi + 4]
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x18]
mov dword [edx + 0x20], 0
xor eax, eax
pop esi
ret 0xc
Function at 0x44d730
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x44d746
push 0x80004005
call fcn.00401160
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
add eax, 1
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x44d770
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x220]
push esi
push edi
mov edi, dword [esp + 0x224]
xor esi, esi
push esi
mov dword [esp + 0x10], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0xc]
push eax
push 0x4ab6a4
push 1
push esi
push 0x4ab8d4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x44d843
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x44d843
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
test eax, eax
jl 0x44d843
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], esi
mov ecx, dword [eax]
push 0x4aec54
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x44d837
cmp dword [esp + 0x10], esi
je 0x44d837
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 2
lea ecx, [esp + 0x18]
push ecx
push eax
call edx
xor ecx, ecx
test eax, eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
setge cl
push eax
mov eax, dword [edx + 8]
mov esi, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x21c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00475ec4
add esp, 0x214
ret 8
Function at 0x44ead0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push 0x10
mov dword [esp + 8], ecx
lea ecx, [esp + 4]
push ecx
push 0
mov word [esp + 0xe], dx
mov edx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
mov word [esp + 0x18], 2
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00475ec4
add esp, 0x14
ret

Function at 0x44f2f0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0x10], eax
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x44f30d
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x44f357
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.004772a0
add esp, 0xc
cmp dword [esp + 0x30], 0x10
jb 0x44f344
mov edx, dword [esp + 0x1c]
push edx
call fcn.00474c07
add esp, 4
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00475ec4
add esp, 0x14
ret
cmp dword [esp + 0x30], 0x10
jb 0x44f36b
mov eax, dword [esp + 0x1c]
push eax
call fcn.00474c07
add esp, 4
mov ecx, dword [esp + 0x10]
xor ecx, esp
xor eax, eax
call fcn.00475ec4
add esp, 0x14
ret

Function at 0x44f460
Capabilities:
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x4a2be8
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4c26a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x48]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov dword [esp + 0x44], 0
mov byte [ecx + 4], 0
call fcn.0040a730
call fcn.0044f2f0
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x44f4f0
cmp dword [esp + 0x3c], 0x10
jb 0x44f4db
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00474c07
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44f52c
cmp dword [esp + 0x3c], 0x10
jb 0x44f4db
mov edx, dword [esp + 0x28]
push edx
call fcn.00474c07
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
push eax
push ebp
push ecx
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov ecx, edi
mov edx, eax
call fcn.0044ead0
add esp, 0xc
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esp + 0x3c], 0x10
jb 0x44f567
mov edx, dword [esp + 0x28]
push edx
call fcn.00474c07
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x454db0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x454e17
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x454df3
cmp eax, 2
jne 0x454e06
test esi, esi
mov eax, dword [esp + 0x14]
je 0x454e13
test eax, eax
je 0x454e10
cmp byte [eax + esi - 1], 0
je 0x454e13
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x454e20
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
mov esi, ecx
mov edi, edx
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x454e94
lea eax, [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x454e8d
cmp esi, dword [esp + 0x18]
je 0x454e7c
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x454e65
jmp 0x454e8d
test edi, edi
je 0x454e8b
mov ecx, 0x4a
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov bl, 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.00475ec4
add esp, 0x12c
ret