joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443874
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x496274]
cmp byte [eax + 0xc], 0
je 0x4439e1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4439da
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x497b68], 0
jne 0x4438c8
push 0x4439e8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4439f0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497b68], eax
cmp dword [0x494c08], 0
jne 0x4439c3
push 0x443a00
call sub.kernel32.dll_LoadLibraryA
mov dword [0x494c08], eax
cmp dword [0x494c08], 0
je 0x4439c3
push 0x443a0c
mov eax, dword [0x494c08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497b6c], eax
push 0x443a1c
mov eax, dword [0x494c08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497b70], eax
push 0x443a30
mov eax, dword [0x494c08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497b74], eax
push 0x443a48
mov eax, dword [0x494c08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497b78], eax
push 0x443a60
mov eax, dword [0x494c08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497b7c], eax
push 0x443a74
mov eax, dword [0x494c08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497b80], eax
push 0x443a8c
mov eax, dword [0x494c08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497b84], eax
push 0x443aa4
mov eax, dword [0x494c08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497b88], eax
push 0x443ac0
mov eax, dword [0x494c08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497b8c], eax
push 0x443acc
mov eax, dword [0x494c08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x497b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4439e1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44786c
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.00404344
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4478bb
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.004045b4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f0a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f0f8]
test si, 4
je 0x44f0bc
or bl, 1
test si, 8
je 0x44f0c6
or bl, 4
test si, 1
je 0x44f0d0
or bl, 8
test si, 2
je 0x44f0da
or bl, 0x10
test si, 0x10
je 0x44f0e4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f0f3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44f0fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f134]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f115
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f124
or bl, 4
test esi, 0x20000000
je 0x44f12f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4557f8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45580a
add esp, 0xfffffff0
call fcn.0040384c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041beb0
mov eax, dword [0x495d58]
mov dword [eax + 4], ebx
mov dword [eax], 0x455b9c
mov eax, dword [0x495d68]
mov dword [eax + 4], ebx
mov dword [eax], 0x455ba8
mov eax, ebx
call fcn.00455bb4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412ca8]
call fcn.004034e4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412ca8]
call fcn.004034e4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412ca8]
call fcn.004034e4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412ca8]
call fcn.004034e4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412ca8]
call fcn.004034e4
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, 0x451fcc
push eax
push 0
push 0
mov eax, dword [0x495f78]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41d904]
call fcn.0041efc4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41d904]
call fcn.0041efc4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41d904]
call fcn.0041efc4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00456004
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455ecc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455ecc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455ecc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455947
call fcn.004038a4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x455cb0
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 0x455e5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455e3c
mov dl, 1
mov eax, dword [0x41330c]
call fcn.004034e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404344
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x455e2b
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.00443bd4
test al, al
je 0x455e1e
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, 0x455e6c
lea eax, [ebp - 0x254]
call fcn.004098f8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x455e1e
xor eax, eax
push ebp
push 0x455e17
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 0x455ea4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x455e00
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045b4
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 0x455e00
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455e1e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x455d21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00417a10
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 0x455e62
lea eax, [ebp - 0x260]
call fcn.00404344
ret

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

Disassembly:
push ecx
mov eax, dword [0x497bb4]
cmp byte [eax + 0xa5], 0
jne 0x456815
cmp dword [0x497bcc], 0
jne 0x4567d6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456760
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x497bcc], eax
cmp dword [0x497bc8], 0
jne 0x4567f1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x497bc8], eax
cmp dword [0x497bd0], 0
jne 0x456815
push esp
push 0
push 0
push 0x456704
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x497bd0], eax
pop edx
ret
Function at 0x456ea8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x497bb4]
cmp dword [eax + 0x30], 0
je 0x456f52
cmp dword [ebx + 0x94], 0
jne 0x456f4c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456e38
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x456f4c
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 0x456f12
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x456f4c
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.0041533c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x456f21
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457ab0
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 0x457ae5
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.00404434
jmp 0x457af2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404398
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x458c1c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458c5d
mov eax, esi
call fcn.0043f200
test al, al
je 0x458c5d
mov eax, dword [ebx + 0x84]
call fcn.0043eefc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458c5d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043eefc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x479828
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x479882
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00479818
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004774e8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00477000
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479889
lea eax, [ebp - 4]
call fcn.00404344
ret
Function at 0x47e62c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47e88c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x47e68f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0047e0f4
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d0ac
cmp al, 1
jne 0x47e68f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0047e40c
test al, al
je 0x47e81b
cmp dword [ebp - 8], 0
jge 0x47e6ad
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0047e0f4
mov eax, dword [ebp - 0x210]
call fcn.00404604
cmp ebx, eax
jge 0x47e6f7
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0047e0f4
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x496254]
and eax, 0xff
bt dword [edx], eax
jae 0x47e6f7
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x47e70b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047e608
cmp ebx, dword [ebp - 8]
je 0x47e80d
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x47e737
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040371c
and eax, 0x7f
movzx eax, word [eax*2 + 0x495bbc]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x47e7fa
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040371c
and eax, 0x7f
movzx eax, word [eax*2 + 0x495bbc]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0043eefc
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040371c
and eax, 0x7f
movzx eax, word [eax*2 + 0x495bbc]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043eefc
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e801
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x47e86e
cmp dword [ebp - 8], 0
jge 0x47e826
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0047e0f4
mov eax, dword [ebp - 0x218]
call fcn.00404604
cmp eax, dword [ebp - 8]
jg 0x47e860
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0047e0f4
mov eax, dword [ebp - 0x21c]
call fcn.00404604
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047e608
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e893
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404368
ret
Function at 0x4891cc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [0x496038]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
jne 0x4891fb
push 0
push 0
call fcn.0044f08c
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
push eax
call sub.user32.dll_OpenClipboard
xor ecx, ecx
xor edx, edx
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx]
mov dword [esp + 8], eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [esp + 8]
inc eax
push eax
push 0x42
call sub.kernel32.dll_GlobalAlloc
mov edi, eax
xor ebx, ebx
jmp 0x489273
mov edx, dword [esp + 8]
sub edx, ebx
mov eax, 0x8000
call fcn.00489058
push eax
mov edx, edi
mov eax, ebx
call fcn.004891b8
mov edx, eax
mov eax, dword [esp + 4]
pop ecx
mov esi, dword [eax]
call dword [esi + 0xc]
mov esi, eax
movzx eax, si
add ebx, eax
push edi
call sub.kernel32.dll_GlobalUnlock
test si, si
je 0x48927c
lea eax, [ebx + 1]
cmp eax, dword [esp + 8]
jl 0x48923b
mov edx, edi
mov eax, ebx
call fcn.004891b8
mov byte [eax], 0
push edi
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_EmptyClipboard
push edi
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
mov eax, dword [0x496038]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp + 0xc]
je 0x4892bc
mov eax, dword [esp + 0xc]
call fcn.0044f0a0
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4892c4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, edx
mov dword [esp], eax
mov eax, dword [0x496038]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jne 0x4892f2
push 0
push 0
call fcn.0044f08c
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_OpenClipboard
xor ecx, ecx
xor edx, edx
mov eax, dword [esp]
mov esi, dword [eax]
call dword [esi + 0x14]
push ebx
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
call sub.kernel32.dll_GlobalSize
mov esi, eax
xor ebx, ebx
jmp 0x489358
mov edx, esi
sub edx, ebx
dec edx
mov eax, 0x8000
call fcn.00489058
push eax
mov edx, edi
mov eax, ebx
call fcn.004891b8
mov edx, eax
mov eax, dword [esp + 4]
pop ecx
mov ebp, dword [eax]
call dword [ebp + 0x10]
mov edx, esi
sub edx, ebx
dec edx
mov eax, 0x8000
call fcn.00489058
add ebx, eax
push edi
call sub.kernel32.dll_GlobalUnlock
lea eax, [ebx + 1]
cmp esi, eax
jg 0x48931c
call sub.user32.dll_CloseClipboard
mov eax, dword [0x496038]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp + 4]
je 0x48937d
mov eax, dword [esp + 4]
call fcn.0044f0a0
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x10022c2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x1004100], esi
je 0x1002366
cmp dword [0x10040e4], esi
je 0x10022e6
call fcn.0100208d
lea eax, [ebp - 4]
push eax
push 0x10011e4
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1002366
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x1004020
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100235d
cmp dword [ebp - 0xc], esi
je 0x100235d
push 0x100404c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
mov dword [0x10040e4], eax
je 0x100235d
push 0x1004068
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
mov dword [0x10040e8], eax
je 0x1002358
push 1
call fcn.01001d21
jmp 0x100235d
call fcn.0100208d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret

Function at 0x100282e
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x10012f8
call fcn.010029b0
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002869
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002869
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1002881
cmp eax, 0x20b
je 0x100286e
mov dword [ebp - 0x1c], edi
jmp 0x1002895
cmp dword [ecx + 0x84], 0xe
jbe 0x1002869
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x100288f
cmp dword [ecx + 0x74], 0xe
jbe 0x1002869
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1004158], 0xffffffff
or dword [0x100415c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1004118]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1004114]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1004160], eax
call fcn.01002a3c
cmp dword [0x10040b4], edi
jne 0x10028f0
push fcn.01002a3c
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002a25
push 0x1004010
push 0x100400c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1004110]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x100410c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1004008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01002824
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1002967
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x100299c
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010029eb
ret
Function at 0x10001330
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x1005b080]
xor eax, esp
mov dword [esp + 0xe8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0xc], edx
mov esi, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
push edi
test esi, esi
jle 0x10001548
nop dword [eax + eax]
lea eax, [ebx + 4]
cmp eax, esi
jg 0x10001548
movsx edi, byte [edx + ebx + 3]
add edx, ebx
shl edi, 8
movzx eax, byte [edx + 2]
or edi, eax
jle 0x10001548
lea eax, [edi + ebx]
mov dword [esp + 0x1c], eax
cmp eax, esi
jg 0x10001548
movsx ecx, byte [edx + 1]
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
cmp ecx, 0xad0
jne 0x10001538
mov esi, dword [esp + 0x10]
mov edx, edi
add esi, ebx
mov ecx, esi
call fcn.10001170
push dword [esp + 0x14]
mov edx, str.Sending_HW_info_data_to_socket:
push ecx
mov ecx, 0x1005ca60
call fcn.10003700
add esp, 4
mov ecx, eax
call fcn.10001a40
push eax
call fcn.100039b0
add esp, 4
mov eax, 0xad1
cmp dword [0x1005d998], 0xf
mov word [esp + 0x20], ax
mov eax, 0x1005d984
cmova eax, dword [0x1005d984]
push 0x5b
push eax
lea eax, [esp + 0x30]
push 0x5c
push eax
call fcn.1002d8ad
lea eax, [esp + 0x38]
mov byte [esp + 0x93], 0
add esp, 0x10
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001430
mov ecx, dword [0x1005d970]
sub eax, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x8c], ecx
lea edx, [eax + 1]
mov ax, word [esp + 0x20]
mov word [esp + 0x88], ax
movzx eax, dx
push eax
lea eax, [esp + 0x2c]
mov word [esp + 0x26], dx
push eax
lea eax, [esp + 0x98]
mov word [esp + 0x92], dx
push eax
call fcn.100282d0
add esp, 0xc
lea eax, [esp + 0x88]
push 0
push 0x64
push eax
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x100014be
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push ecx
mov edx, str.Send_failed:
mov ecx, 0x1005cb10
call fcn.10003700
add esp, 4
mov ecx, eax
call fcn.10001c00
jmp 0x10001508
cmp eax, 0x64
jge 0x100014f9
push 0x64
push eax
push ecx
mov edx, str.Not_all_data_sent._Sent_bytes:
mov ecx, 0x1005cb10
call fcn.10003700
add esp, 4
mov ecx, eax
call fcn.10001c00
push ecx
mov edx, str._out_of
mov ecx, eax
call fcn.10003700
add esp, 4
mov ecx, eax
call fcn.10001c00
jmp 0x10001508
mov edx, str.Data_sent_successfully_
mov ecx, 0x1005ca60
call fcn.10003700
push eax
call fcn.100039b0
mov eax, dword [esp + 0x1c]
add esp, 4
mov eax, dword [eax]
sub eax, edi
sub eax, ebx
push eax
mov eax, dword [esp + 0x14]
add eax, edi
add eax, ebx
push eax
push esi
call fcn.100282d0
mov ecx, dword [esp + 0x24]
add esp, 0xc
sub dword [ecx], edi
mov esi, dword [ecx]
jmp 0x1000153c
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
cmp ebx, esi
jl 0x10001370
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002680a
mov esp, ebp
pop ebp
ret
Function at 0x10001a10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10001a35
mov eax, dword [ebp + 8]
push 0
push 0
push eax
push 0x10001610
push 0
push 0
mov dword [0x1005d980], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x1000a6b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a340
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1005b080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.10026826
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1000fce1
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1000a650
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret