joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42dd58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x42dda4
mov eax, esi
call fcn.00443174
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42dda4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42dda4
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x42dee3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42dde4
cmp eax, 0x108
ja 0x42dde4
mov eax, esi
call fcn.00443174
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42deda
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42dee3
jmp 0x42deda
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42dec3
cmp eax, 0x20a
ja 0x42dec3
test byte [esi + 0x50], 0x80
jne 0x42de16
sub eax, 0x203
je 0x42de13
sub eax, 3
je 0x42de13
sub eax, 3
jne 0x42de16
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42de2a
dec eax
je 0x42de3f
dec eax
je 0x42de5c
dec eax
je 0x42de3f
jmp 0x42de63
mov ecx, ebx
mov eax, dword [0x450fc0]
mov eax, dword [eax]
mov edx, esi
call fcn.0044c9c0
jmp 0x42deda
cmp byte [esi + 0x5d], 1
jne 0x42de55
mov eax, esi
mov si, 0xffed
call fcn.00403430
jmp 0x42dee3
or word [esi + 0x54], 1
jmp 0x42deda
and word [esi + 0x54], 0xfffe
jmp 0x42deda
mov eax, dword [0x452b14]
cmp byte [eax + 0x20], 0
je 0x42deda
mov eax, dword [0x452b14]
cmp dword [eax + 0x1c], 0
je 0x42deda
mov eax, dword [ebx]
mov edx, dword [0x452b14]
cmp eax, dword [edx + 0x1c]
jne 0x42deda
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004430b8
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403430
jmp 0x42dee3
cmp eax, 0xb00b
jne 0x42deda
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042c6c0
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431364
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x431380
cmp dword [esi + 4], 0
je 0x4313ad
test byte [ebx + 0x55], 1
jne 0x43139f
mov eax, ebx
call fcn.0042ff70
test eax, eax
jne 0x43139f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4314bd
mov edx, esi
mov eax, ebx
call fcn.00430e88
jmp 0x4314bd
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4314b6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004331d4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042dc8c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00431364
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004331d4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4314bd
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4378cc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x451124]
cmp byte [eax + 0xc], 0
je 0x437a39
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x437a32
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x452b68], 0
jne 0x437920
push 0x437a40
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x437a48
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b68], eax
cmp dword [0x450b00], 0
jne 0x437a1b
push 0x437a58
call sub.kernel32.dll_LoadLibraryA
mov dword [0x450b00], eax
cmp dword [0x450b00], 0
je 0x437a1b
push 0x437a64
mov eax, dword [0x450b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b6c], eax
push 0x437a74
mov eax, dword [0x450b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b70], eax
push 0x437a88
mov eax, dword [0x450b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b74], eax
push 0x437aa0
mov eax, dword [0x450b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b78], eax
push 0x437ab8
mov eax, dword [0x450b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b7c], eax
push 0x437acc
mov eax, dword [0x450b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b80], eax
push 0x437ae4
mov eax, dword [0x450b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b84], eax
push 0x437afc
mov eax, dword [0x450b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b88], eax
push 0x437b18
mov eax, dword [0x450b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b8c], eax
push 0x437b24
mov eax, dword [0x450b00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x452b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437a39
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43b8c4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403ff0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43b913
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404260
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x443028
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443078]
test si, 4
je 0x44303c
or bl, 1
test si, 8
je 0x443046
or bl, 4
test si, 1
je 0x443050
or bl, 8
test si, 2
je 0x44305a
or bl, 0x10
test si, 0x10
je 0x443064
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443073
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44307c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4430b4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443095
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4430a4
or bl, 4
test esi, 0x20000000
je 0x4430af
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44975c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44976e
add esp, 0xfffffff0
call fcn.00403540
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041972c
mov eax, dword [0x450df4]
mov dword [eax + 4], ebx
mov dword [eax], 0x449b00
mov eax, dword [0x450e00]
mov dword [eax + 4], ebx
mov dword [eax], 0x449b0c
mov eax, ebx
call fcn.00449b18
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4114a8]
call fcn.00403204
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4114a8]
call fcn.00403204
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4114a8]
call fcn.00403204
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4114a8]
call fcn.00403204
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4114a8]
call fcn.00403204
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x445f34
push eax
push 0
push 0
mov eax, dword [0x450f44]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b150]
call fcn.0041c594
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b150]
call fcn.0041c594
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b150]
call fcn.0041c594
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449f38
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449e14
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449e14
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449e14
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4498ab
call fcn.00403598
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x449bf8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449da3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449d84
mov dl, 1
mov eax, dword [0x4118c4]
call fcn.00403204
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ff0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x449d73
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00437c2c
test al, al
je 0x449d66
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x449db4
lea eax, [ebp - 0x254]
call fcn.00408a44
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x449d66
xor eax, eax
push ebp
push 0x449d5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x449dec
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449d48
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404260
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x449d48
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404260
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449d66
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449c69
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415414
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449daa
lea eax, [ebp - 0x260]
call fcn.00403ff0
ret

Function at 0x44a6d8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x452bb4]
cmp byte [eax + 0xa5], 0
jne 0x44a749
cmp dword [0x452bcc], 0
jne 0x44a70a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a694
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x452bcc], eax
cmp dword [0x452bc8], 0
jne 0x44a725
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x452bc8], eax
cmp dword [0x452bd0], 0
jne 0x44a749
push esp
push 0
push 0
push 0x44a638
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x452bd0], eax
pop edx
ret
Function at 0x44a840
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44a857
add esp, 0xfffffff0
call fcn.00403540
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041972c
mov eax, dword [0x450f30]
cmp word [eax + 2], 0
jne 0x44a87f
mov eax, dword [0x450f30]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044bfa8
mov eax, dword [0x450fdc]
cmp word [eax + 2], 0
jne 0x44a899
mov eax, dword [0x450fdc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c1a0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4114a8]
call fcn.00403204
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4114a8]
call fcn.00403204
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b900]
call fcn.00421548
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44aa20
mov eax, dword [0x450e54]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421918
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44c750
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x450e54]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c080
test eax, eax
je 0x44a98e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408424
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c0a8
test eax, eax
je 0x44a9a2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404260
mov eax, dword [0x450d58]
cmp byte [eax], 0
jne 0x44a9d6
mov eax, ebx
call fcn.0044ab48
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044c92c
mov eax, ebx
call fcn.0044d2f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44aa16
call fcn.00403598
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44adc8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x452bb4]
cmp dword [eax + 0x30], 0
je 0x44ae72
cmp dword [ebx + 0x94], 0
jne 0x44ae6c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44ad58
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44ae6c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44ae32
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ae6c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413884
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44ae41
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b9d4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44ba09
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004040e0
jmp 0x44ba16
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404044
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44cb08
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44cb49
mov eax, esi
call fcn.00433434
test al, al
je 0x44cb49
mov eax, dword [ebx + 0x84]
call fcn.004331d4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44cb49
push 0
mov eax, dword [ebx + 0x84]
call fcn.004331d4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44d4f0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
mov edi, eax
xor ebx, ebx
push 1
push 0
push 0
push 0
push 2
push 2
call sub.ws2_32.dll_WSASocketA
mov dword [esi], eax
cmp dword [esi], 0xffffffff
je 0x44d572
test edi, edi
jne 0x44d51c
mov bl, 1
jmp 0x44d572
mov dword [esp], 0xffffffff
push 4
lea eax, [esp + 4]
push eax
push 4
push 0xffff
mov eax, dword [esi]
push eax
call sub.ws2_32.dll_setsockopt
test eax, eax
jne 0x44d572
mov word [esp + 4], 2
push edi
call sub.ws2_32.dll_htons
mov word [esp + 6], ax
xor eax, eax
mov dword [esp + 8], eax
push 0x10
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
push eax
call sub.ws2_32.dll_bind
inc eax
jne 0x44d570
mov eax, esi
call fcn.0044d4d8
jmp 0x44d572
mov bl, 1
mov eax, ebx
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x44d57c
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 0x202
call sub.ws2_32.dll_WSAStartup
test eax, eax
je 0x44d5a4
push 0x10
push 0x44d5ac
push 0x44d5b4
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x190
ret
Function at 0x44dd98
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
call fcn.004044a0
xor eax, eax
push ebp
push 0x44de8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov word [ebx + 0x58], 2
mov ax, word [ebp + 8]
push eax
call sub.ws2_32.dll_htons
mov word [ebx + 0x5a], ax
mov eax, dword [ebp + 0xc]
call fcn.004044b0
push eax
call sub.ws2_32.dll_inet_addr
mov esi, eax
mov dword [ebx + 0x5c], esi
cmp esi, 0xffffffff
jne 0x44de04
mov ecx, 0x44dea8
mov dl, 1
mov eax, dword [0x44d678]
call fcn.0040b344
call fcn.004039a8
push 0x10
lea eax, [ebx + 0x58]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebx + 0x30]
push eax
call sub.ws2_32.dll_sendto
inc eax
jne 0x44de71
call sub.ws2_32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x44de75
cmp word [ebx + 0x3a], 0
je 0x44de43
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, ebx
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
cmp dword [ebp - 0xc], 0
je 0x44de75
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, 0x44dec4
mov dl, 1
mov eax, dword [0x44d678]
call fcn.0040b380
call fcn.004039a8
jmp 0x44de75
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44de92
lea eax, [ebp + 0xc]
call fcn.00403ff0
ret

Function at 0x44e8ec
Capabilities:
Shutdown system

Disassembly:
push ebx
add esp, 0xffffffcc
xor ecx, ecx
test dl, dl
je 0x44e8fb
lea ebx, [eax + 4]
jmp 0x44e8fd
mov ebx, eax
mov eax, dword [0x451118]
cmp dword [eax], 1
jne 0x44e915
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb ecx, ecx
inc ecx
mov eax, dword [0x451118]
cmp dword [eax], 2
jne 0x44e998
call sub.kernel32.dll_GetCurrentProcess
push esp
push 0x28
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 8]
push eax
push 0x44e9a0
push 0x44e9b4
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 2
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x1c]
shl eax, 2
lea eax, [eax + eax*2]
add eax, 4
push eax
lea eax, [esp + 0x20]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb ecx, ecx
inc ecx
mov eax, ecx
add esp, 0x34
pop ebx
ret
Function at 0x44e9b8
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe30
mov ebp, eax
lea eax, [esp + 0x40]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup_1
mov eax, ebp
call fcn.00403ff0
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x44ea12
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x44ea06
push dword [edi]
call sub.wsock32.dll_inet_ntoa_1
mov edx, ebp
call fcn.004085d4
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x44e9f7
call sub.wsock32.dll_WSACleanup_1
add esp, 0x1d0
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x404550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4210f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov dword [esp + 0x14], 0
mov ebx, 1
lea ecx, [esp + 8]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x20], 2
test eax, eax
jne 0x404596
mov eax, 0x42e820
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x20], 4
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
test eax, eax
jge 0x4045e3
mov esi, dword [esp + 0x28]
push 0x42e820
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], ebx
jmp 0x40468e
mov edx, dword [esp + 0xc]
mov ecx, dword [edx - 8]
add ecx, eax
lea eax, [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CString::CString
push 0x42c1f8
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
test eax, eax
jge 0x40463c
mov esi, dword [esp + 0x28]
push 0x42e820
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
jmp 0x40468a
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::TrimLeft_2
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::TrimRight_1
mov esi, dword [esp + 0x28]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc