joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e414
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x41e42b
add esp, 0xfffffff0
call fcn.00448e6c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043feac
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x439ae0]
call fcn.00448b68
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x439ae0]
call fcn.00448b68
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x40e350]
call fcn.00413c6c
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x41e59c
mov eax, dword [0x45a388]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00414010
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x41feac
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45a388]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.00445400
test eax, eax
je 0x41e51b
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00443b50
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00445428
test eax, eax
je 0x41e52f
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00449754
mov eax, dword [0x45a38c]
cmp byte [eax], 0
jne 0x41e560
mov eax, ebx
call fcn.0041e688
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41e592
call fcn.00448ec4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41e8e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45a480]
cmp dword [eax + 0x24], 0
je 0x41e970
cmp dword [ebx + 0x7c], 0
jne 0x41e96d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x41e874
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x41e96d
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 0x41e93c
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x41e96d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.0043b08c
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x41e948
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x41f2c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x41f2f5
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0044960c
jmp 0x41f2ff
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.004495c0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4201dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x420214
mov eax, esi
call fcn.0042c90c
test al, al
je 0x420214
mov eax, dword [ebx + 0x6c]
call fcn.0042c4e4
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x420214
push 0
mov eax, dword [ebx + 0x6c]
call fcn.0042c4e4
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x42462c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x45a508], 0
sete dl
or al, dl
jne 0x424770
mov eax, dword [0x45a50c]
mov bx, 0xffff
call fcn.00448d74
mov eax, dword [0x45a508]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42473f
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x45a508]
call fcn.0043b08c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x424737
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x424737
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x424737
mov eax, dword [ebp - 0x10]
call fcn.0042c4e4
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x424737
push ebp
call fcn.004245e8
pop ecx
test al, al
jne 0x424737
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x4246f3
mov eax, dword [ebp - 0x10]
call fcn.0042ae28
dec eax
jle 0x424737
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00448d74
cmp byte [ebp - 0x15], 0
je 0x424737
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x424737
mov edx, dword [ebp - 0x10]
mov eax, dword [0x45a50c]
call fcn.00423e98
inc edi
dec esi
jne 0x424686
mov eax, dword [0x45a50c]
cmp dword [eax + 8], 0
jle 0x424757
mov eax, dword [0x45a50c]
call fcn.00423f28
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x424770
push ebp
mov eax, dword [ebp - 0x14]
call fcn.004244a0
pop ecx
test al, al
jne 0x424770
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429fb4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x429fe5
je 0x42a03f
sub eax, 7
je 0x42a006
dec eax
je 0x42a030
sub eax, 0x17
je 0x42a0c0
jmp 0x42a0fe
add eax, 0xffffff00
sub eax, 9
jb 0x42a0ac
add eax, 0xffffff09
sub eax, 0xb
jb 0x42a096
jmp 0x42a0fe
mov eax, ebx
call fcn.004173b4
mov edi, eax
test edi, edi
je 0x42a15e
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x42a167
jmp 0x42a15e
test byte [ebx + 0x44], 0x20
jne 0x42a167
jmp 0x42a15e
mov edx, esi
mov eax, ebx
call fcn.004278a8
cmp dword [esi + 0xc], 0xffffffff
jne 0x42a167
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.004419fc
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00426350
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00429e64
test eax, eax
je 0x42a167
mov dword [esi + 0xc], 1
jmp 0x42a167
mov edx, esi
mov eax, ebx
call fcn.00429f28
test al, al
jne 0x42a167
jmp 0x42a15e
mov eax, ebx
call fcn.00426f20
test al, al
jne 0x42a167
jmp 0x42a15e
mov eax, ebx
call fcn.0042c4e4
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x42a15e
cmp dword [0x456a5c], 0
je 0x42a15e
mov eax, dword [0x456a5c]
cmp ebx, dword [eax + 0x24]
jne 0x42a15e
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x456a5c]
call fcn.004277c4
jmp 0x42a15e
mov eax, dword [0x45a4d0]
cmp byte [eax + 0x20], 0
je 0x42a15e
mov eax, dword [0x45a4d0]
cmp dword [eax + 0x1c], 0
je 0x42a15e
mov eax, dword [esi]
mov edx, dword [0x45a4d0]
cmp eax, dword [edx + 0x1c]
jne 0x42a15e
lea eax, [ebp - 0x110]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.004172c8
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.00448d74
jmp 0x42a167
mov edx, esi
mov eax, ebx
call fcn.004278a8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a5f8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x42a614
cmp dword [esi + 4], 0
je 0x42a641
test byte [ebx + 0x45], 1
jne 0x42a633
mov eax, ebx
call fcn.00429670
test eax, eax
jne 0x42a633
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42a751
mov edx, esi
mov eax, ebx
call fcn.0042a270
jmp 0x42a751
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 0x42a74a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042c4e4
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.004277c4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042a5f8
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.0042c4e4
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a751
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 0x433290
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x433368
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45a550], 0
jne 0x43334c
lea eax, [ebp - 4]
mov edx, 0x433380
call fcn.004495c0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00449968
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x43334c
mov eax, ebx
call fcn.00448548
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x433345
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x43332f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x433390
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x43332f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x45a550], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43334c
mov eax, dword [ebp - 0xc]
call fcn.00448560
ret
mov ebx, dword [0x45a550]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43336f
lea eax, [ebp - 4]
call fcn.00449528
ret

Function at 0x438b00
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x45a578], 0
jne 0x438b23
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x438a84
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x45a578], eax
ret

Function at 0x444358
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x444391
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0044960c
jmp 0x44439a
mov eax, ebx
mov edx, esi
call fcn.004495c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4443a4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4443c5
mov al, byte [esp]
jmp 0x4443c7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x448a10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x456dc4]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x448aa8
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x448a88
xor eax, eax
push ebp
push 0x448a81
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x448ac4
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448a88
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x456dc4]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x456dc4], ax
mov esp, ebp
pop ebp
ret
Function at 0x44a850
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x44aa08
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x44a8b1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x44aa24
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x44a91e
xor eax, eax
push ebp
push 0x44a917
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x44a900
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x44aa44
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a91e
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x44a9ff
cmp byte [ebp - 0xd], 0
jne 0x44a960
cmp byte [ebp - 0x12], 0
je 0x44a9ff
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x44a979
dec ebx
cmp byte [ebx], 0x2e
je 0x44a988
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x44a978
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x44a9ff
inc ebx
cmp byte [ebp - 0x12], 0
je 0x44a9b5
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x44a9ff
cmp byte [ebp - 0xd], 0
je 0x44a9ff
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x44a9ff
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44adc8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x44aeb0
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x45ab88], 1
jae 0x44aea2
xor eax, eax
mov dword [0x45a794], eax
xor eax, eax
mov dword [0x45a79c], eax
xor eax, eax
mov dword [0x45a7a0], eax
mov byte [0x45a7a6], 2
mov byte [0x45a7a7], 2
mov byte [0x45a7a8], 3
mov word [0x45ab50], 0
mov word [0x45ab60], 1
mov word [0x45ab70], 0xa
mov dword [0x45ab78], 0x80020004
mov dword [0x45ab44], 0x44a1a4
mov dword [0x45ab48], 0x44a19c
mov dword [0x45ab4c], 0x44a1a4
call fcn.004489e0
test al, al
je 0x44ae61
call fcn.00448a10
call fcn.00448ad4
mov eax, 0x45a7ac
mov edx, 0x44aebc
call fcn.0044629e
mov eax, 0x45a978
mov edx, 0x44aebc
call fcn.0044629e
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x45a78c], eax
call fcn.00447204
mov dword [0x45a788], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x45a780], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44aeb7
ret

Function at 0x44f454
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x458934], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x44f50c
cmp byte [0x4552d7], 0
je 0x44f4c6
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.0044f3a0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44f4af
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.0044f3a0
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44f4af
lea ebx, [ebp - 0x54]
jmp 0x44f4b0
inc ebx
call fcn.0044f40c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x44f52d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x458938
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0044ba78
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x45893b
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x44f52d
cmp dword [0x458934], 0xffffffff
je 0x44f52d
mov eax, dword [0x458934]
test eax, eax
je 0x44f52d
cmp byte [eax], 0
je 0x44f52d
push esi
push eax
call fcn.0044f5ac
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44f5ac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x44f60e
call fcn.0044f55c
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0044ba78
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0044ba78
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44fb5c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x45b484], 0
jne 0x44fbdd
cmp dword [0x45b4a0], 0
jne 0x44fb8c
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x45b4a0], eax
test eax, eax
jne 0x44fb8c
push str.GetEnvironmentStrings_failed
call fcn.0044f544
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x45b4a0]
jmp 0x44fba0
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0044ba78
pop ecx
mov edi, eax
test eax, eax
jne 0x44fb98
lea edi, [ebp + 1]
push edi
call fcn.0044b4e0
pop ecx
mov ebx, eax
mov dword [0x45b488], ebx
test ebx, ebx
jne 0x44fbca
xor eax, eax
jmp 0x44fca0
push edi
mov edx, dword [0x45b4a0]
push edx
push ebx
call fcn.0044b928
add esp, 0xc
jmp 0x44fbfd
xor esi, esi
mov ebx, dword [0x45b484]
jmp 0x44fbf7
push eax
call fcn.0044ba78
pop ecx
test eax, eax
jne 0x44fbf3
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x44fbe7
lea ebx, [esi + 4]
push 4
mov dword [0x45b48c], ebx
inc ebx
push ebx
call fcn.0044aec0
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x44fc20
xor eax, eax
jmp 0x44fca0
cmp dword [0x45b484], 0
jne 0x44fc51
xor esi, esi
mov ebx, dword [0x45b488]
mov eax, dword [esp]
mov ebp, eax
jmp 0x44fc42
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0044ba78
pop ecx
mov edi, eax
test eax, eax
jne 0x44fc38
jmp 0x44fc82
xor esi, esi
mov ebx, dword [0x45b484]
mov eax, dword [esp]
mov edi, eax
jmp 0x44fc7c
push eax
call fcn.0044ba78
pop ecx
test eax, eax
je 0x44fc71
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x44fc75
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x44fc60
mov eax, dword [0x45b484]
test eax, eax
je 0x44fc92
push eax
call fcn.0044b4f0
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x45b484], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401939
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c07c]
jne 0x401943
repz ret
jmp fcn.00402491

Function at 0x405601
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42c07c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040308d
and dword [ebp - 0x14], 0
cmp dword [0x42eb1c], 0
mov dword [ebp - 0x18], eax
jne 0x4056b4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40575c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40575c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42eb1c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42eb20], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42eb24], eax
call edi
push eax
call esi
mov dword [0x42eb2c], eax
test eax, eax
je 0x4056b4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42eb28], eax
mov eax, dword [0x42eb28]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40570d
cmp dword [0x42eb2c], ecx
je 0x40570d
push eax
call esi
push dword [0x42eb2c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40570d
test ebx, ebx
je 0x40570d
call edi
test eax, eax
je 0x405704
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405704
test byte [ebp - 8], 1
jne 0x40570d
or dword [ebp + 0x10], 0x200000
jmp 0x405740
mov eax, dword [0x42eb20]
cmp eax, dword [ebp - 0x18]
je 0x405740
push eax
call esi
test eax, eax
je 0x405740
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405740
mov eax, dword [0x42eb24]
cmp eax, dword [ebp - 0x18]
je 0x405740
push eax
call esi
test eax, eax
je 0x405740
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42eb1c]
call esi
test eax, eax
je 0x40575c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40575e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401939
leave
ret