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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.004065cc
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0043e024
test ebx, ebx
jne 0x443237
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00443120
mov ebx, eax
test ebx, ebx
je 0x443322
cmp esi, ebx
je 0x443260
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x443275
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x4432ad
add eax, 0xffffff5f
sub eax, 2
jb 0x4432c5
dec eax
sub eax, 2
jb 0x4432d9
dec eax
sub eax, 2
jb 0x4432cf
jmp 0x4432e3
add eax, 0xfffffdff
sub eax, 2
jb 0x4432c5
dec eax
sub eax, 2
jb 0x4432d9
dec eax
sub eax, 2
jb 0x4432cf
jmp 0x4432e3
mov byte [esp + 0x120], 0
jmp 0x4432eb
mov byte [esp + 0x120], 2
jmp 0x4432eb
mov byte [esp + 0x120], 1
jmp 0x4432eb
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00450be0
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0043f7a0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x443324
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x443f90
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 + 0x240], 0
je 0x443fac
cmp dword [esi + 4], 0
je 0x443fd9
test byte [ebx + 0x55], 1
jne 0x443fcb
mov eax, ebx
call fcn.00442378
test eax, eax
jne 0x443fcb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4440e9
mov edx, esi
mov eax, ebx
call fcn.00443998
jmp 0x4440e9
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 0x4440e2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00445fe8
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.0043f7a0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00443f90
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.00445fe8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4440e9
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 0x44b36c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4dbb7c]
cmp byte [eax + 0xc], 0
je 0x44b4d9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44b4d2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4df544], 0
jne 0x44b3c0
push 0x44b4e0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44b4e8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4df544], eax
cmp dword [0x47166c], 0
jne 0x44b4bb
push 0x44b4f8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x47166c], eax
cmp dword [0x47166c], 0
je 0x44b4bb
push 0x44b504
mov eax, dword [0x47166c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4df548], eax
push 0x44b514
mov eax, dword [0x47166c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4df54c], eax
push 0x44b528
mov eax, dword [0x47166c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4df550], eax
push 0x44b540
mov eax, dword [0x47166c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4df554], eax
push 0x44b558
mov eax, dword [0x47166c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4df558], eax
push 0x44b56c
mov eax, dword [0x47166c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4df55c], eax
push 0x44b584
mov eax, dword [0x47166c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4df560], eax
push 0x44b59c
mov eax, dword [0x47166c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4df564], eax
push 0x44b5b8
mov eax, dword [0x47166c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4df568], eax
push 0x44b5c4
mov eax, dword [0x47166c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4df56c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b4d9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x450b48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x450b9c]
test si, 4
je 0x450b5d
or bl, 1
test si, 8
je 0x450b67
or bl, 4
test si, 1
je 0x450b71
or bl, 8
test si, 2
je 0x450b7b
or bl, 0x10
test si, 0x10
je 0x450b85
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450b94
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450ba0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x450bdc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450bba
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450bc9
or bl, 4
test esi, 0x20000000
je 0x450bd4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x458290
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4582a2
add esp, 0xfffffff0
call fcn.00403be0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a4d0
mov eax, dword [0x4db830]
mov dword [eax + 4], ebx
mov dword [eax], 0x458634
mov eax, dword [0x4db83c]
mov dword [eax + 4], ebx
mov dword [eax], 0x458640
mov eax, ebx
call fcn.0045864c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4122cc]
call fcn.0040388c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4122cc]
call fcn.0040388c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4122cc]
call fcn.0040388c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4122cc]
call fcn.0040388c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4122cc]
call fcn.0040388c
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, 0x4540e4
push eax
push 0
push 0
mov eax, dword [0x4db988]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e00c]
call fcn.0041f860
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e00c]
call fcn.0041f860
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e00c]
call fcn.0041f860
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458a7c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45894c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45894c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45894c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4583df
call fcn.00403c38
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458730
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 0x4588db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4588bc
mov dl, 1
mov eax, dword [0x4126f0]
call fcn.0040388c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046e8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4588ab
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.0044b6c8
test al, al
je 0x45889e
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, 0x4588ec
lea eax, [ebp - 0x254]
call fcn.00409484
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45889e
xor eax, eax
push ebp
push 0x458897
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 0x458924
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x458880
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404958
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 0x458880
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404958
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45889e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4587a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004163d0
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 0x4588e2
lea eax, [ebp - 0x260]
call fcn.004046e8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4df57c]
cmp byte [eax + 0xad], 0
jne 0x4592c5
cmp dword [0x4df594], 0
jne 0x459286
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459210
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4df594], eax
cmp dword [0x4df590], 0
jne 0x4592a1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4df590], eax
cmp dword [0x4df598], 0
jne 0x4592c5
push esp
push 0
push 0
push 0x4591b4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4df598], eax
pop edx
ret
Function at 0x459498
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4594af
add esp, 0xfffffff0
call fcn.00403be0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a4d0
mov eax, dword [0x4db970]
cmp word [eax + 2], 0
jne 0x4594d7
mov eax, dword [0x4db970]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045af48
mov eax, dword [0x4dba20]
cmp word [eax + 2], 0
jne 0x4594f1
mov eax, dword [0x4dba20]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b154
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4122cc]
call fcn.0040388c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4122cc]
call fcn.0040388c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4122cc]
call fcn.0040388c
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41eb1c]
call fcn.00426518
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4596a8
mov eax, dword [0x4db894]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004268ec
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b814
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4db894]
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.0040cd8c
test eax, eax
je 0x4595f8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e28
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cdc0
test eax, eax
je 0x45960c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404958
mov byte [ebx + 0xd4], 0
push ebx
push 0x45aaa8
call fcn.0041b64c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4db77c]
cmp byte [eax], 0
jne 0x45965d
mov eax, ebx
call fcn.004597ec
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045b9f0
mov eax, ebx
call fcn.0045c550
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45969d
call fcn.00403c38
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459a6c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4df57c]
cmp dword [eax + 0x30], 0
je 0x459b16
cmp dword [ebx + 0x94], 0
jne 0x459b10
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4599fc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459b10
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 0x459ad6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459b10
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.00414678
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459ae5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a830
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45a865
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.004047d8
jmp 0x45a872
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040473c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45bbd4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45bc42
mov eax, esi
call fcn.00446388
test al, al
je 0x45bc42
mov eax, dword [ebx + 0x84]
call fcn.00445fe8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45bc42
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45bc36
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445fe8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043e414
jmp 0x45bc42
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045ba10
pop esi
pop ebx
ret
Function at 0x402449
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
test ebx, ebx
jne 0x402462
push 1
pop eax
jmp 0x4024d7
mov eax, dword [0x408498]
push 0
mov dword [ebp - 0x100], eax
push 0
lea eax, [ebp - 0x104]
push 0
push eax
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x104], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x4024d0
test eax, eax
je 0x402462
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x402462
mov eax, ebx
push 0
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x4024d0
cmp eax, 0xffffffff
je 0x4024d0
add esi, eax
cmp esi, ebx
jb 0x402462
xor eax, eax
cmp esi, ebx
sete al
pop esi
pop ebx
leave
ret

Function at 0x402c3a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80
push 4
push ebx
push 2
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402caf
push edi
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
xor eax, eax
lea edi, [ebp - 0xb]
mov byte [ebp - 0xc], bl
mov dword [ebp + 8], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x402ca7
lea eax, [ebp - 0xc]
push 0xa
push eax
call fcn.00401bc2
pop ecx
lea eax, [ebp + 8]
pop ecx
push ebx
push eax
lea eax, [ebp - 0xc]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
dec edi
jne 0x402c85
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402f20
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push edi
mov ebx, 0x407144
push str.GetLastError
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call edi
push str.ExitProcess
push ebx
call esi
push eax
call edi
push str.GetCurrentThreadId
push ebx
call esi
push eax
call edi
push str.CreateMutexA
push ebx
call esi
push eax
call edi
push str.GetModuleFileNameA
push ebx
call esi
push eax
call edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push str.Sleep
push ebx
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x11c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x11c]
push 0x104
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [ebp - 8]
call fcn.00403005
test eax, eax
je 0x402fe7
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.Sertiey
push eax
mov dword [ebp - 0x14], 0x402cb3
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [ebp - 4]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Framewordk_COMx_Suppogt
push str.Sertiey
call fcn.00403166
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x403005
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push edi
mov ebx, str.ADVAPI32.dll
push str.RegCloseKey
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call edi
push str.RegOpenKeyExA
push ebx
mov dword [ebp - 0x28], eax
call esi
push eax
call edi
push 0x40
mov dword [ebp - 0x30], eax
xor edx, edx
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
mov byte [ebp - 0x134], dl
mov byte [ebp - 0x24], 0x53
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp - 0x24]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 0x23], 0x59
mov byte [ebp - 0x22], 0x53
mov byte [ebp - 0x21], 0x54
mov byte [ebp - 0x20], 0x45
mov byte [ebp - 0x1f], 0x4d
mov byte [ebp - 0x1e], 0x5c
mov byte [ebp - 0x1d], 0x43
mov byte [ebp - 0x1c], 0x75
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x72
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x43
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6e
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0xc], 0x5c
mov byte [ebp - 0xb], 0x53
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x76
mov byte [ebp - 7], 0x69
mov byte [ebp - 6], 0x63
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], 0x5c
mov byte [ebp - 2], dl
lea ebx, [ebp - 0x134]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
lea ebx, [ebp - 0x134]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.Sertiey
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
push 0xf003f
lea eax, [ebp - 0x134]
and ecx, 3
push edx
push eax
rep movsb byte es:[edi], byte [esi]
push closesocket
call dword [ebp - 0x30]
pop edi
pop esi
test eax, eax
pop ebx
jne 0x403162
push dword [ebp - 0x2c]
call dword [ebp - 0x28]
push 1
pop eax
leave
ret
xor eax, eax
leave
ret