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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448a10]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4489f1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448a00
or bl, 4
test esi, 0x20000000
je 0x448a0b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44f0b8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44f0ca
add esp, 0xfffffff0
call fcn.00403654
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cd50
mov eax, dword [0x45ceec]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f45c
mov eax, dword [0x45cef8]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f468
mov eax, ebx
call fcn.0044f474
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414fd8]
call fcn.00403300
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414fd8]
call fcn.00403300
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414fd8]
call fcn.00403300
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414fd8]
call fcn.00403300
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414fd8]
call fcn.00403300
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, 0x44b890
push eax
push 0
push 0
mov eax, dword [0x45d04c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e7a4]
call fcn.0041fee0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e7a4]
call fcn.0041fee0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e7a4]
call fcn.0041fee0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044f894
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f770
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f770
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f770
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f207
call fcn.004036ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44f554
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 0x44f6ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44f6e0
mov dl, 1
mov eax, dword [0x4153f4]
call fcn.00403300
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404080
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44f6cf
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.0043d4e0
test al, al
je 0x44f6c2
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, 0x44f710
lea eax, [ebp - 0x254]
call fcn.00408e8c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44f6c2
xor eax, eax
push ebp
push 0x44f6bb
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 0x44f748
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44f6a4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042f0
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 0x44f6a4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f6c2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44f5c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418ed0
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 0x44f706
lea eax, [ebp - 0x260]
call fcn.00404080
ret

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

Disassembly:
push ecx
mov eax, dword [0x45ebb4]
cmp byte [eax + 0xa5], 0
jne 0x4500a5
cmp dword [0x45ebcc], 0
jne 0x450066
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44fff0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45ebcc], eax
cmp dword [0x45ebc8], 0
jne 0x450081
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45ebc8], eax
cmp dword [0x45ebd0], 0
jne 0x4500a5
push esp
push 0
push 0
push 0x44ff94
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45ebd0], eax
pop edx
ret
Function at 0x45019c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4501b3
add esp, 0xfffffff0
call fcn.00403654
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cd50
mov eax, dword [0x45d038]
cmp word [eax + 2], 0
jne 0x4501db
mov eax, dword [0x45d038]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004516f0
mov eax, dword [0x45d0e8]
cmp word [eax + 2], 0
jne 0x4501f5
mov eax, dword [0x45d0e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004518e8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414fd8]
call fcn.00403300
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414fd8]
call fcn.00403300
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 [0x41f24c]
call fcn.00426b18
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45037c
mov eax, dword [0x45cf50]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00426ee8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x451e98
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45cf50]
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.0040c5dc
test eax, eax
je 0x4502ea
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408880
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c604
test eax, eax
je 0x4502fe
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.004042f0
mov eax, dword [0x45ce28]
cmp byte [eax], 0
jne 0x450332
mov eax, ebx
call fcn.004504a4
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.00452074
mov eax, ebx
call fcn.00452a38
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450372
call fcn.004036ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450724
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45ebb4]
cmp dword [eax + 0x30], 0
je 0x4507ce
cmp dword [ebx + 0x94], 0
jne 0x4507c8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4506b4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4507c8
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 0x45078e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4507c8
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.00417340
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45079d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451330
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 0x451365
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.00404170
jmp 0x451372
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040d4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452250
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x452291
mov eax, esi
call fcn.00438ce8
test al, al
je 0x452291
mov eax, dword [ebx + 0x84]
call fcn.00438a10
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x452291
push 0
mov eax, dword [ebx + 0x84]
call fcn.00438a10
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x452f8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov eax, dword [0x45d240]
cmp dword [eax], 1
jne 0x45303e
cmp dword [0x45ec08], 0
je 0x452fae
call fcn.00452f58
lea eax, [ebp - 4]
push eax
push 0x453044
push 0x80000001
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x45303e
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x45305c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453035
cmp dword [ebp - 8], 0
je 0x453035
push 0x453074
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45ec08], eax
cmp dword [0x45ec08], 0
je 0x453035
push 0x453084
mov eax, dword [0x45ec08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45ec04], eax
cmp dword [0x45ec04], 0
je 0x453030
or eax, 0xffffffff
call fcn.00452f40
jmp 0x453035
call fcn.00452f58
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov esp, ebp
pop ebp
ret
Function at 0x4532ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x453542
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x45355c
call fcn.00452b40
mov al, 0x43
call fcn.00453250
test al, al
je 0x453335
mov byte [0x45ebe4], 2
jmp 0x453364
mov al, 0x41
call fcn.00453250
test al, al
je 0x453349
mov byte [0x45ebe4], 0
jmp 0x453364
mov al, 0x50
call fcn.00453250
test al, al
je 0x45335d
mov byte [0x45ebe4], 1
jmp 0x453364
mov byte [0x45ebe4], 3
mov al, byte [0x45ebe4]
mov byte [ebp - 1], al
cmp byte [0x45ebe4], 0
jne 0x453440
mov eax, dword [0x45d240]
cmp dword [eax], 1
jne 0x453440
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.004046cc
push 0x104
mov eax, dword [ebp - 8]
call fcn.00404540
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 8]
xchg edx, eax
call fcn.004046cc
mov eax, dword [ebp - 8]
call fcn.00404340
test eax, eax
jle 0x4533db
mov eax, dword [ebp - 8]
call fcn.00404340
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x4533db
lea eax, [ebp - 8]
mov edx, 0x453588
call fcn.00404348
lea eax, [ebp - 0x28]
mov ecx, 0x453594
mov edx, dword [ebp - 8]
call fcn.0040438c
mov eax, dword [ebp - 0x28]
call fcn.00404540
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x453515
push 0x45359c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
test esi, esi
je 0x453435
push 0
push 0
lea edx, [ebp - 0x2c]
mov eax, 2
call fcn.00402a9c
mov eax, dword [ebp - 0x2c]
call fcn.00408284
push eax
push 0x4535b0
call esi
push ebx
call sub.kernel32.dll_FreeLibrary_1
jmp 0x453515
cmp byte [0x45ebe4], 2
jne 0x453460
cmp dword [ebp + 0xc], 0
je 0x453515
call sub.user32.dll_GetForegroundWindow
call dword [ebp + 0xc]
jmp 0x453515
mov dword [0x45ebf4], esi
mov dword [0x45ebf0], ebx
mov dword [0x45ebf8], edi
mov eax, dword [ebp + 8]
mov dword [0x45ec00], eax
call fcn.00452f8c
xor eax, eax
push ebp
push 0x45350e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x45ebe4], 1
jne 0x4534af
lea edx, [ebp - 0x30]
mov eax, 2
call fcn.00402a9c
mov eax, dword [ebp - 0x30]
call fcn.00408284
mov ebx, eax
jmp 0x4534b1
xor ebx, ebx
mov eax, ebx
call fcn.00453098
mov ebx, eax
test ebx, ebx
je 0x4534fb
mov eax, ebx
call fcn.00452c5c
cmp byte [0x45ebe4], 1
je 0x4534e8
push ebx
call sub.user32.dll_SetForegroundWindow
jmp 0x4534e8
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_DispatchMessageA
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x4534d6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453515
call fcn.00452f58
ret
mov eax, 0x4535bc
call fcn.00452b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453549
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004040a4
lea eax, [ebp - 8]
call fcn.00404080
ret
Function at 0x453a60
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 [0x4145d4]
call fcn.00404a0c
xor eax, eax
push ebp
push 0x453ba4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45cd40], 0
jne 0x453ab3
mov ecx, dword [0x45ce38]
mov dl, 1
mov eax, dword [0x407230]
call fcn.0040b888
call fcn.00403abc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d44
mov eax, ebx
call fcn.004048bc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x453bb4
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.00405990
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004048cc
test eax, eax
jle 0x453b4b
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 0x453b44
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404308
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004042f0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00407fd8
test eax, eax
jne 0x453b44
mov ebx, 0x15
jmp 0x453b50
mov ebx, 0x10
jmp 0x453b50
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 [0x45cd40]
call fcn.004539b8
mov eax, dword [ebp - 8]
call fcn.004539b8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004059a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453bab
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004040a4
lea eax, [ebp - 0x10]
mov edx, dword [0x4145d4]
call fcn.00404adc
ret
Function at 0x45aa3c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404530
xor eax, eax
push ebp
push 0x45ab67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00404080
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00404540
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45ab51
mov eax, ebx
call fcn.00402744
mov edi, eax
push edi
push ebx
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x45ab78
push edi
call sub.version.dll_VerQueryValueA
mov esi, dword [ebp - 0x14]
cmp byte [ebp - 5], 0
je 0x45aafa
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [esi + 8]
shr eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [esi + 8]
and eax, 0xffff
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
mov eax, dword [esi + 0xc]
shr eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x30]
mov ecx, 2
mov eax, 0x45ab84
call fcn.00408f0c
jmp 0x45ab48
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [esi + 8]
shr eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0
mov eax, dword [esi + 8]
and eax, 0xffff
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
mov eax, dword [esi + 0xc]
shr eax, 0x10
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
mov eax, dword [esi + 0xc]
and eax, 0xffff
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea edx, [ebp - 0x50]
mov ecx, 3
mov eax, 0x45ab98
call fcn.00408f0c
mov edx, ebx
mov eax, edi
call fcn.00402764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ab6e
lea eax, [ebp - 4]
call fcn.00404080
ret

Function at 0x45b4e4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x45b51e
mov eax, dword [esp + 4]
cmp eax, 6
jne 0x45b511
cmp dword [esp + 8], 2
setae al
jmp 0x45b520
cmp eax, 6
jbe 0x45b51a
mov al, 1
jmp 0x45b520
xor eax, eax
jmp 0x45b520
xor eax, eax
add esp, 0x94
ret
Function at 0x405eab
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x42c55c], esi
push edi
jne 0x405ee5
mov ecx, 0x42c558
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405ec1
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x42c958
jl 0x405ebc
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405f1a
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c558]
xor eax, esi
inc ecx
dec edx
jne 0x405efd
pop edi
pop esi
not eax
ret 0xc

Function at 0x4010f0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop

Function at 0x401160
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call sym.___main
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x4011dd
cmp al, 9
je 0x4011d0
cmp al, 0x20
je 0x4011d0
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp al, 0x5c
je 0x401230
cmp al, 0x22
je 0x401240
mov dword [ebp - 0x54], 0
movzx eax, byte [ebx + 1]
inc ebx
test al, al
je 0x4011dd
cmp al, 9
sete cl
cmp al, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x401190
test edi, 1
jne 0x401190
lea esi, [esi]
movzx eax, byte [ebx + 1]
inc ebx
cmp al, 9
je 0x4011d0
cmp al, 0x20
je 0x4011d0
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x24], 1
jne 0x4011f8
mov word [ebp - 0x20], 1
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
inc dword [ebp - 0x54]
jmp 0x4011a7
and dword [ebp - 0x54], 1
jne 0x4011a0
xor edi, 1
jmp 0x4011a7
Function at 0x401abb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445090]
jne 0x401ac5
repz ret
jmp fcn.004029b8

Function at 0x40b545
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407895
and dword [ebp - 4], 0
cmp dword [0x4472f8], 0
mov ebx, eax
jne 0x40b5f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b6a7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b6a7
push eax
call fcn.00407823
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4472f8], eax
call esi
push eax
call fcn.00407823
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4472fc], eax
call esi
push eax
call fcn.00407823
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x447300], eax
call esi
push eax
call fcn.00407823
pop ecx
mov dword [0x447308], eax
test eax, eax
je 0x40b5f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407823
pop ecx
mov dword [0x447304], eax
mov eax, dword [0x447304]
cmp eax, ebx
je 0x40b64e
cmp dword [0x447308], ebx
je 0x40b64e
push eax
call fcn.0040789e
push dword [0x447308]
mov esi, eax
call fcn.0040789e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b64e
test edi, edi
je 0x40b64e
call esi
test eax, eax
je 0x40b645
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b645
test byte [ebp - 0xc], 1
jne 0x40b64e
or dword [ebp + 0x10], 0x200000
jmp 0x40b687
mov eax, dword [0x4472fc]
cmp eax, ebx
je 0x40b687
push eax
call fcn.0040789e
pop ecx
test eax, eax
je 0x40b687
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b687
mov eax, dword [0x447300]
cmp eax, ebx
je 0x40b687
push eax
call fcn.0040789e
pop ecx
test eax, eax
je 0x40b687
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4472f8]
call fcn.0040789e
pop ecx
test eax, eax
je 0x40b6a7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b6a9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d84b
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x445090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x1bbd92c], 0x930
jne 0x40d880
push str.farowufa
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1bbd92c], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1bbd648], eax
jne 0x40d8b7
push esi
lea eax, [ebp - 0x804]
push eax
push esi
call sub.KERNEL32.dll_VerLanguageNameW
lea eax, [ebp - 0x820]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401abb
leave
ret