joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b914
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 + 0x1e8], 0
je 0x42b930
cmp dword [esi + 4], 0
je 0x42b95d
test byte [ebx + 0x45], 1
jne 0x42b94f
mov eax, ebx
call fcn.0042a84c
test eax, eax
jne 0x42b94f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42ba6d
mov edx, esi
mov eax, ebx
call fcn.0042b58c
jmp 0x42ba6d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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 0x42ba66
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042d8e4
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.004287b0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042b914
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 + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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.0042d8e4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ba6d
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 0x43520c
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.00403c18
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43525b
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.00403e48
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43cd54
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46e7e4
cmp dword [edi], 0
jne 0x43cdd0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46e7e0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46a8c0
mov ecx, 2
call fcn.0040287c
mov edx, 0x43cd2c
lea eax, [esi + 5]
call fcn.0043cd4c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043cd4c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43cda5
mov dword [0x46e7e0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43ceec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43cf3c]
test si, 4
je 0x43cf00
or bl, 1
test si, 8
je 0x43cf0a
or bl, 4
test si, 1
je 0x43cf14
or bl, 8
test si, 2
je 0x43cf1e
or bl, 0x10
test si, 0x10
je 0x43cf28
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43cf37
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43cf40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43cf78]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43cf59
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43cf68
or bl, 4
test esi, 0x20000000
je 0x43cf73
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x443780
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x443792
add esp, 0xfffffff0
call fcn.004031d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004158a4
mov eax, ebx
call fcn.00443ae4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40e7b8]
call fcn.00402e84
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40e7b8]
call fcn.00402e84
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40e7b8]
call fcn.00402e84
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40e7b8]
call fcn.00402e84
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40e7b8]
call fcn.00402e84
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x43fc98
push eax
push 0
push 0
mov eax, dword [0x46d1cc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x416de4]
call fcn.0041831c
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x416de4]
call fcn.0041831c
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x416de4]
call fcn.0041831c
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.00443ec4
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443de0
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443de0
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443de0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4438a1
call fcn.0040322c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x443bc4
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 0x443d6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x443d50
mov dl, 1
mov eax, dword [0x40ece4]
call fcn.00402e84
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403c18
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x443d3f
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.00431e28
test al, al
je 0x443d32
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, 0x443d80
lea eax, [ebp - 0x254]
call fcn.00408e44
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x443d32
xor eax, eax
push ebp
push 0x443d2b
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 0x443db8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x443d14
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403e48
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x443d14
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403e48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443d32
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x443c35
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.004123b0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443d76
lea eax, [ebp - 0x260]
call fcn.00403c18
ret

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

Disassembly:
push ecx
mov eax, dword [0x46e7d4]
cmp byte [eax + 0x95], 0
jne 0x44462d
cmp dword [0x46e7f0], 0
jne 0x4445ee
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x444578
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46e7f0], eax
cmp dword [0x46e7ec], 0
jne 0x444609
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46e7ec], eax
cmp dword [0x46e7f4], 0
jne 0x44462d
push esp
push 0
push 0
push 0x44451c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x46e7f4], eax
pop edx
ret
Function at 0x444724
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44473b
add esp, 0xfffffff0
call fcn.004031d4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004158a4
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40e7b8]
call fcn.00402e84
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40e7b8]
call fcn.00402e84
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x417774]
call fcn.0041e928
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x4448b0
mov eax, dword [0x46d094]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041ecf8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x446198
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46d094]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040bef8
test eax, eax
je 0x44482e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004087b8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bf20
test eax, eax
je 0x444842
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403e48
mov eax, dword [0x46ced4]
cmp byte [eax], 0
jne 0x444873
mov eax, ebx
call fcn.0044499c
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4448a5
call fcn.0040322c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444c0c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46e7d4]
cmp dword [eax + 0x24], 0
je 0x444caf
cmp dword [ebx + 0x84], 0
jne 0x444ca9
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x444b9c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x444ca9
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 0x444c72
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x444ca9
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00410180
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x444c81
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x4456bc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x4456f1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403d00
jmp 0x4456fb
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403c6c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44650c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x446544
mov eax, esi
call fcn.0042dbe0
test al, al
je 0x446544
mov eax, dword [ebx + 0x74]
call fcn.0042d8e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x446544
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042d8e4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x448d8c
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040404c
xor eax, eax
push ebp
push 0x448e0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040405c
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x448dd5
mov eax, dword [ebx + 4]
call fcn.0040405c
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448e11
lea eax, [ebp - 4]
call fcn.00403c18
ret
Function at 0x449de4
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x449f7b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402994
cmp word [ebx + 0x9a], 0
je 0x449e2d
mov edx, ebx
mov eax, dword [ebx + 0x9c]
call dword [ebx + 0x98]
mov eax, dword [ebx + 0x88]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x449e41
lea esi, [ebp - 8]
jmp 0x449e43
xor esi, esi
cmp dword [ebx + 0x78], 0
jne 0x449e4d
xor edi, edi
jmp 0x449e57
mov eax, dword [ebx + 0x78]
call fcn.0040405c
mov edi, eax
mov eax, dword [ebx + 0x74]
call fcn.0040405c
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00449550
mov eax, dword [ebp - 0x14]
call fcn.0040405c
push eax
push esi
mov eax, dword [ebx + 0x6c]
call fcn.0040405c
push eax
mov eax, dword [ebp - 0x10]
call fcn.0040405c
push eax
mov eax, ebx
call fcn.00449684
push eax
mov eax, ebx
call fcn.00449658
push eax
mov eax, ebx
call fcn.0044960c
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00449414
mov eax, dword [ebp - 0x18]
call fcn.0040405c
push eax
mov eax, dword [ebx + 8]
call fcn.0040405c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x88], eax
cmp dword [ebp - 0xc], 0
jne 0x449ee0
call fcn.0040c5ec
xor edx, edx
push ebp
push 0x449f59
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x449f1e
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xa2], 0
je 0x449f14
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x449f42
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449f60
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x449f8c
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xaa], 0
je 0x449fb8
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xac]
call dword [esi + 0xa8]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040405c
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x449fdd
call fcn.0040c5ec
xor eax, eax
push ebp
push 0x44a014
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x449ffd
call fcn.0040c5ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a01b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x45cb90
Capabilities:
Get socket status

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffbdc
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 8], edx
xor ebp, ebp
xor esi, esi
xor eax, eax
mov dword [esp + 0x320], eax
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x118], eax
xor eax, eax
mov dword [esp + 0x21c], eax
movsx edi, word [esp + 4]
mov ebx, dword [esp]
mov word [esp + 6], 0
test ebx, ebx
jl 0x45cc36
lea eax, [esp + 0x320]
push eax
push ebx
call sub.wsock32.dll___WSAFDIsSet
test eax, eax
jne 0x45cc36
cmp esi, ebx
jge 0x45cbf5
mov esi, ebx
mov eax, edi
and eax, 1
dec eax
jne 0x45cc08
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.0045cb80
mov eax, edi
and eax, 4
cmp eax, 4
jne 0x45cc20
lea edx, [esp + 0x118]
mov eax, ebx
call fcn.0045cb80
and edi, 2
cmp edi, 2
jne 0x45cc36
lea edx, [esp + 0x21c]
mov eax, ebx
call fcn.0045cb80
cmp dword [esp + 8], 0
jl 0x45cc5d
mov eax, dword [esp + 8]
mov ecx, 0x3e8
cdq
idiv ecx
mov ecx, eax
mov dword [esp + 0xc], ecx
imul eax, ecx, 0x3e8
mov dword [esp + 0x10], eax
lea ebp, [esp + 0xc]
push ebp
lea eax, [esp + 0x220]
push eax
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x20]
push eax
inc esi
push esi
call sub.wsock32.dll_select
test eax, eax
jl 0x45cd04
xor esi, esi
mov di, word [esp + 4]
and di, 7
movsx edi, di
mov ebx, dword [esp]
test ebx, ebx
jl 0x45ccf9
lea eax, [esp + 0x320]
push eax
push ebx
call sub.wsock32.dll___WSAFDIsSet
test eax, eax
je 0x45ccb0
mov edi, 0x20
jmp 0x45ccec
lea eax, [esp + 0x14]
push eax
push ebx
call sub.wsock32.dll___WSAFDIsSet
test eax, eax
jne 0x45ccc2
and edi, 0xfffffffe
lea eax, [esp + 0x118]
push eax
push ebx
call sub.wsock32.dll___WSAFDIsSet
test eax, eax
jne 0x45ccd7
and edi, 0xfffffffb
lea eax, [esp + 0x21c]
push eax
push ebx
call sub.wsock32.dll___WSAFDIsSet
test eax, eax
jne 0x45ccec
and edi, 0xfffffffd
mov eax, edi
mov word [esp + 6], ax
test ax, ax
je 0x45ccf9
inc esi
test esi, esi
jle 0x45cd01
mov eax, esi
jmp 0x45cd04
or eax, 0xffffffff
add esp, 0x424
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45ce58
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push ecx
mov bl, byte [eax + 0x10]
test bl, bl
je 0x45cea3
xor ecx, ecx
cmp bl, 3
je 0x45ce9f
mov esi, dword [eax + 0xc]
test dl, dl
je 0x45ce7e
xor edx, edx
mov dword [esp], edx
and dword [eax + 0xc], 0x7ffffffe
jmp 0x45ce89
mov dword [esp], 1
or dword [eax + 0xc], 1
cmp esi, dword [eax + 0xc]
je 0x45ce9f
push esp
push 0x8004667e
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
mov ecx, eax
mov eax, ecx
jmp 0x45cea6
or eax, 0xffffffff
pop edx
pop esi
pop ebx
ret
Function at 0x45e8ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
cmp esi, dword [ebp + 8]
jge 0x45e8c7
mov bl, byte [ecx + esi]
xor bl, byte [eax + esi]
mov byte [edx + esi], bl
inc esi
cmp esi, dword [ebp + 8]
jl 0x45e8b8
pop esi
pop ebx
pop ebp
ret 4

Function at 0x45ed1c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc8
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
lea edi, [esp + 0x15]
mov ebx, esi
lea edx, [esp + 0x15]
mov eax, dword [esp]
mov ecx, 8
call fcn.0040287c
mov byte [esp + 0x1d], 0
test ebp, ebp
je 0x45eded
cmp byte [ebp], 0
je 0x45eded
lea ecx, [esp + 8]
lea edx, [esp + 4]
mov eax, ebp
call fcn.0045eaf8
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
lea eax, [esp + 0x15]
call fcn.0045eaf8
mov ecx, dword [esp + 8]
xor ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
xor edx, dword [esp + 0xc]
lea eax, [esp + 0x20]
call fcn.0045ec54
jmp 0x45edc0
lea eax, [esp + 0x20]
call fcn.0045ecd4
fmul dword [0x45edf8]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0045ec90
add eax, 0x40
jno 0x45edb8
call fcn.00402df0
mov byte [ebx], al
add ebx, 1
add edi, 1
cmp byte [edi], 0
jne 0x45ed93
lea eax, [esp + 0x20]
call fcn.0045ecd4
fmul dword [0x45edf8]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0045ec90
cmp ebx, esi
je 0x45eded
xor byte [esi], al
add esi, 1
cmp ebx, esi
jne 0x45ede4
mov byte [ebx], 0
add esp, 0x38
pop ebp
pop edi
pop esi
pop ebx
ret