joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c670
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 0x43c6bc
mov eax, esi
call fcn.00451f94
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43c6bc
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43c6bc
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 0x43c7fb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43c6fc
cmp eax, 0x108
ja 0x43c6fc
mov eax, esi
call fcn.00451f94
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43c7f2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43c7fb
jmp 0x43c7f2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43c7db
cmp eax, 0x20a
ja 0x43c7db
test byte [esi + 0x50], 0x80
jne 0x43c72e
sub eax, 0x203
je 0x43c72b
sub eax, 3
je 0x43c72b
sub eax, 3
jne 0x43c72e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43c742
dec eax
je 0x43c757
dec eax
je 0x43c774
dec eax
je 0x43c757
jmp 0x43c77b
mov ecx, ebx
mov eax, dword [0x4adb14]
mov eax, dword [eax]
mov edx, esi
call fcn.0045b9a0
jmp 0x43c7f2
cmp byte [esi + 0x5d], 1
jne 0x43c76d
mov eax, esi
mov si, 0xffed
call fcn.004037a4
jmp 0x43c7fb
or word [esi + 0x54], 1
jmp 0x43c7f2
and word [esi + 0x54], 0xfffe
jmp 0x43c7f2
mov eax, dword [0x4aeb14]
cmp byte [eax + 0x20], 0
je 0x43c7f2
mov eax, dword [0x4aeb14]
cmp dword [eax + 0x1c], 0
je 0x43c7f2
mov eax, dword [ebx]
mov edx, dword [0x4aeb14]
cmp eax, dword [edx + 0x1c]
jne 0x43c7f2
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.00451ed8
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.004037a4
jmp 0x43c7fb
cmp eax, 0xb00b
jne 0x43c7f2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043afa4
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 0x43fc9c
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 0x43fcb8
cmp dword [esi + 4], 0
je 0x43fce5
test byte [ebx + 0x55], 1
jne 0x43fcd7
mov eax, ebx
call fcn.0043e8a8
test eax, eax
jne 0x43fcd7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43fdf5
mov edx, esi
mov eax, ebx
call fcn.0043f7c0
jmp 0x43fdf5
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 0x43fdee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00441b44
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.0043c5a4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043fc9c
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.00441b44
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43fdf5
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 0x4462f8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4add78]
cmp byte [eax + 0xc], 0
je 0x446465
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44645e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4aeb68], 0
jne 0x44634c
push 0x44646c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x446474
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeb68], eax
cmp dword [0x4abc40], 0
jne 0x446447
push 0x446484
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4abc40], eax
cmp dword [0x4abc40], 0
je 0x446447
push 0x446490
mov eax, dword [0x4abc40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeb6c], eax
push 0x4464a0
mov eax, dword [0x4abc40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeb70], eax
push 0x4464b4
mov eax, dword [0x4abc40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeb74], eax
push 0x4464cc
mov eax, dword [0x4abc40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeb78], eax
push 0x4464e4
mov eax, dword [0x4abc40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeb7c], eax
push 0x4464f8
mov eax, dword [0x4abc40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeb80], eax
push 0x446510
mov eax, dword [0x4abc40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeb84], eax
push 0x446528
mov eax, dword [0x4abc40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeb88], eax
push 0x446544
mov eax, dword [0x4abc40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeb8c], eax
push 0x446550
mov eax, dword [0x4abc40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4aeb90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446465
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44a580
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.00404400
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44a5cf
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.00404670
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451e48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451e98]
test si, 4
je 0x451e5c
or bl, 1
test si, 8
je 0x451e66
or bl, 4
test si, 1
je 0x451e70
or bl, 8
test si, 2
je 0x451e7a
or bl, 0x10
test si, 0x10
je 0x451e84
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451e93
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x451e9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x451ed4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451eb5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x451ec4
or bl, 4
test esi, 0x20000000
je 0x451ecf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x456e94
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x456f22
mov ax, word [esi + 4]
sub ax, 9
je 0x456ebb
add eax, 0xffffffe4
sub ax, 4
jb 0x456eed
jmp 0x456f22
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x456f22
push 1
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
setge cl
mov edx, dword [ebx + 0x220]
mov eax, ebx
call fcn.0044204c
mov dword [esi + 0xc], 1
pop esi
pop ebx
ret
mov eax, dword [ebx + 0x220]
test eax, eax
je 0x456f2b
push 0
mov dx, word [esi + 4]
cmp dx, 0x27
je 0x456f0d
cmp dx, 0x28
je 0x456f0d
xor ecx, ecx
jmp 0x456f0f
mov cl, 1
mov edx, dword [eax + 0x30]
xchg edx, eax
call fcn.0044204c
mov dword [esi + 0xc], 1
pop esi
pop ebx
ret
mov edx, esi
mov eax, ebx
call fcn.00440f88
pop esi
pop ebx
ret

Function at 0x458598
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4585aa
add esp, 0xfffffff0
call fcn.00403914
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422ba0
mov eax, dword [0x4ad82c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45893c
mov eax, dword [0x4ad83c]
mov dword [eax + 4], ebx
mov dword [eax], 0x458948
mov eax, ebx
call fcn.00458954
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417738]
call fcn.0040356c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417738]
call fcn.0040356c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417738]
call fcn.0040356c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417738]
call fcn.0040356c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417738]
call fcn.0040356c
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, 0x454d6c
push eax
push 0
push 0
mov eax, dword [0x4ada60]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424614]
call fcn.00425d74
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424614]
call fcn.00425d74
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424614]
call fcn.00425d74
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458e58
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458cd8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458cd8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458cd8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4586e7
call fcn.0040396c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458abc
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 0x458c67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458c48
mov dl, 1
mov eax, dword [0x417e54]
call fcn.0040356c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404400
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x458c37
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.00446658
test al, al
je 0x458c2a
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, 0x458c78
lea eax, [ebp - 0x254]
call fcn.00409a44
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458c2a
xor eax, eax
push ebp
push 0x458c23
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 0x458cb0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x458c0c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404670
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 0x458c0c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404670
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458c2a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458b2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041cba8
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 0x458c6e
lea eax, [ebp - 0x260]
call fcn.00404400
ret

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

Disassembly:
push ecx
mov eax, dword [0x4aebb4]
cmp byte [eax + 0xa5], 0
jne 0x459669
cmp dword [0x4aebcc], 0
jne 0x45962a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4595b4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4aebcc], eax
cmp dword [0x4aebc8], 0
jne 0x459645
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4aebc8], eax
cmp dword [0x4aebd0], 0
jne 0x459669
push esp
push 0
push 0
push 0x459558
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4aebd0], eax
pop edx
ret
Function at 0x459cfc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4aebb4]
cmp dword [eax + 0x30], 0
je 0x459da6
cmp dword [ebx + 0x94], 0
jne 0x459da0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459c8c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459da0
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 0x459d66
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459da0
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.0041a19c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x459d75
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a904
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 0x45a939
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.004044f0
jmp 0x45a946
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404454
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45bae8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45bb29
mov eax, esi
call fcn.00441e1c
test al, al
je 0x45bb29
mov eax, dword [ebx + 0x84]
call fcn.00441b44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45bb29
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441b44
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45c80c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416cb4]
call fcn.00404ed4
xor eax, eax
push ebp
push 0x45c950
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4abe74], 0
jne 0x45c85f
mov ecx, dword [0x4ad708]
mov dl, 1
mov eax, dword [0x407b68]
call fcn.0040cae0
call fcn.00403d7c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fac
mov eax, ebx
call fcn.00404ce8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45c960
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405f90
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404cf8
test eax, eax
jle 0x45c8f7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45c8f0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404688
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404670
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408ab8
test eax, eax
jne 0x45c8f0
mov ebx, 0x15
jmp 0x45c8fc
mov ebx, 0x10
jmp 0x45c8fc
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4abe74]
call fcn.0045c764
mov eax, dword [ebp - 8]
call fcn.0045c764
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405fa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c957
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404424
lea eax, [ebp - 0x10]
mov edx, dword [0x416cb4]
call fcn.00404fa4
ret

Function at 0x465514
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
mov eax, dword [ebx + 4]
call fcn.004048c0
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
lea eax, [esp + 4]
push eax
push edi
push esi
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [esp]
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4666c4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x4666f0
cmp dword [esp + 4], 5
jne 0x4666ec
cmp dword [esp + 8], 1
jae 0x4666f0
xor eax, eax
jmp 0x4666f2
mov al, 1
mov byte [0x4aec6c], al
add esp, 0x94
ret
Function at 0x47c6a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov byte [ebp - 1], cl
mov edi, edx
mov esi, eax
mov ebx, 0x4af0a8
xor eax, eax
call fcn.0047c65c
xor eax, eax
mov dword [ebp - 9], eax
xor eax, eax
mov dword [ebp - 5], eax
call fcn.0047c414
mov eax, ebx
xor ecx, ecx
mov edx, 0x4c
call fcn.00402fac
mov dword [ebx], esi
mov dword [ebx + 4], edi
cmp byte [ebp - 1], 0
je 0x47c6ed
cmp dword [0x4af0fc], 0
jne 0x47c6f1
xor eax, eax
jmp 0x47c6f3
mov al, 1
mov byte [ebx + 8], al
mov al, byte [ebp + 8]
mov byte [ebx + 0x3c], al
lea eax, [ebx + 0x34]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebx + 0x1c]
push eax
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetClientRect
push 2
lea eax, [ebx + 0x1c]
push eax
push 0
mov eax, dword [ebx]
push eax
call sub.user32.dll_MapWindowPoints
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetWindowRect
push 3
push 0
mov eax, dword [ebx]
push eax
call sub.user32.dll_GetDCEx
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov dword [ebx + 0x2c], eax
mov esi, dword [ebp - 0x18]
sub esi, dword [ebp - 0x20]
mov dword [ebx + 0x30], esi
push esi
mov eax, dword [ebx + 0x2c]
push eax
mov eax, dword [ebx + 0x10]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x10]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov esi, eax
mov dword [ebx + 0x14], esi
mov eax, dword [ebx + 0x18]
push eax
push esi
call sub.gdi32.dll_SelectObject
push 0x1e
mov eax, dword [ebx + 0x14]
push eax
push 0x317
mov eax, dword [ebx]
push eax
call sub.user32.dll_SendMessageA
cmp byte [ebx + 8], 0
je 0x47c7e3
push 0xffffffffffffffec
mov esi, dword [ebx]
push esi
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
mov dword [ebx + 0xc], 0x20
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x14], 0
mov al, byte [ebx + 0xc]
mov byte [ebp - 0x12], al
push 2
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 9]
push eax
mov eax, dword [ebx + 0x14]
push eax
lea eax, [ebx + 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
mov eax, dword [ebx]
push eax
call dword [0x4af0fc]
jmp 0x47c80c
xor eax, eax
mov dword [ebx + 0xc], eax
push 0
push 0
push 0
push 0
call sub.gdi32.dll_CreateRectRgn
mov esi, eax
push 0
push esi
mov eax, dword [ebx]
push eax
call sub.user32.dll_SetWindowRgn
test eax, eax
jne 0x47c80c
push esi
call sub.gdi32.dll_DeleteObject
push 0x425f
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx]
push eax
call sub.user32.dll_SetWindowPos
push 0
push 4
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x47c460
xor edx, edx
xor eax, eax
call fcn.004043bc
mov dword [0x4af0a4], eax
cmp dword [0x4af0a4], 0
jne 0x47c84e
call fcn.0047c5d4
jmp 0x47c85f
inc dword [0x4af0f4]
mov eax, dword [0x4af0a4]
push eax
call sub.kernel32.dll_ResumeThread
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4