joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436269
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
mov esi, ecx
xor ecx, ecx
cmp dword [esi], ecx
je 0x4363b9
push ebx
xor ebx, ebx
cmp dword [esi + 0xc], ecx
push edi
jbe 0x4362b7
xor edi, edi
mov eax, dword [esi + 0x14]
add eax, edi
cmp dword [eax + 8], ecx
je 0x4362ac
cmp byte [eax + 4], 6
je 0x4362ac
mov eax, dword [esi + 0x14]
add eax, edi
push str.Submit
push eax
push dword [eax + 8]
mov ecx, esi
call fcn.0042f0b8
inc ebx
add edi, 0x14
xor ecx, ecx
cmp ebx, dword [esi + 0xc]
jb 0x436287
xor edi, edi
xor ebx, ebx
cmp edi, dword [esi + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ecx
je 0x4362e7
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0xc]
push 0xfffffffffffffff0
push dword [eax + ecx]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x20000
je 0x43632c
cmp dword [ebp - 8], 1
jne 0x43631b
cmp dword [ebp - 4], 1
jle 0x43631b
cmp ebx, 0xffffffff
jne 0x4362fa
xor ebx, ebx
push 0xa
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.0040125c
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push eax
call fcn.0040187e
cmp edi, dword [esi + 0xc]
je 0x4363a7
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0xc]
add eax, ecx
cmp byte [eax + 4], 6
jne 0x436393
mov edi, dword [eax + 8]
inc dword [ebp - 4]
test edi, edi
je 0x43634a
inc dword [ebp - 8]
mov dword [ebp - 0x10], edi
push 0
push 0
push 0xf0
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x43637d
test ebx, ebx
je 0x436369
or ebx, 0xffffffff
jmp 0x43636c
mov ebx, dword [ebp - 4]
test edi, edi
je 0x436393
push 1
push 0
push 0xffffffffffffffff
push 0x45af3c
jmp 0x43638c
test edi, edi
je 0x436393
push 1
push 0
push 0xffffffffffffffff
push 0x459724
mov ecx, edi
call fcn.0040187e
mov edi, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x14
inc edi
cmp edi, dword [esi + 0xc]
mov dword [ebp - 0x14], edi
jbe 0x4362cd
cmp byte [ebp + 8], 0
pop edi
pop ebx
je 0x4363b9
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop esi
leave
ret 4

Function at 0x43643f
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov byte [ebp - 1], bl
jmp 0x43646c
cmp al, 0x21
je 0x436467
cmp al, 0x2b
je 0x436461
cmp al, 0x5e
jne 0x436472
or byte [ebp - 1], 2
jmp 0x43646b
or byte [ebp - 1], 1
jmp 0x43646b
or byte [ebp - 1], 4
inc esi
mov al, byte [esi]
cmp al, bl
jne 0x43644f
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push ebx
push ebx
push esi
call fcn.00415869
add esp, 0x14
cmp al, bl
mov byte [ebp + 8], al
jne 0x436493
xor ax, ax
jmp 0x4364bb
push esi
call fcn.00415611
cmp ax, bx
pop ecx
jne 0x4364aa
push ebx
push dword [ebp + 8]
call fcn.00413cfd
pop ecx
pop ecx
test ah, 1
je 0x4364b3
or byte [ebp - 1], 8
xor eax, eax
mov ah, byte [ebp - 1]
mov al, byte [ebp + 8]
pop esi
pop ebx
leave
ret
Function at 0x438f6f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x438f98
mov eax, dword [ebp + 0x14]
mov byte [eax], bl
xor eax, eax
jmp 0x438fff
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
lea eax, [ebp - 4]
push eax
push esi
push ebx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], ebx
jne 0x438ff9
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x438ff9
dec eax
mov dword [ebp - 4], eax
cmp byte [eax + esi], bl
jne 0x438fe9
cmp eax, ebx
je 0x438ffd
cmp byte [esi + eax - 1], bl
jne 0x438ffd
dec eax
mov dword [ebp - 4], eax
jne 0x438fdb
jmp 0x438ffd
inc eax
cmp eax, edi
mov dword [ebp - 4], eax
jae 0x438ff9
mov byte [eax + esi], bl
mov eax, dword [ebp - 4]
jmp 0x438ffd
mov byte [esi], bl
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x439002
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000
call fcn.00457ac0
push esi
push 0x7fff
lea eax, [ebp - 0x8000]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x439043
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x8000]
push eax
push dword [ebp + 0xc]
call fcn.00456f20
add esp, 0xc
jmp 0x439049
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov eax, esi
pop esi
leave
ret

Function at 0x439a3a
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x439ac3
cmp byte [esi], 0
je 0x439ac3
push 4
push 0x45f668
push esi
call fcn.00457ce0
add esp, 0xc
test eax, eax
mov eax, esi
jne 0x439a69
lea eax, [esi + 4]
push 0x45e4f0
push eax
call fcn.0043956b
test eax, eax
pop ecx
pop ecx
je 0x439aa7
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x439ac3
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x439aa3
mov ecx, dword [ebp - 0x140]
mov dword [eax], ecx
mov al, 1
jmp 0x439ac5
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x439ab7
mov dword [ecx], eax
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
jmp 0x439ac5
xor al, al
pop esi
leave
ret
Function at 0x43be50
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
jne 0x43be68
xor eax, eax
jmp 0x43bfcb
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ebx
push edi
call esi
cmp eax, dword [0x466c9c]
mov dword [ebp - 0xc], eax
je 0x43be8d
push edi
call fcn.0043bba4
test al, al
pop ecx
jne 0x43bfc8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x43bea9
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jne 0x43beb5
mov eax, edi
jmp 0x43bfca
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43bec9
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x466395], bl
jne 0x43bee4
push dword [ebp - 8]
push edi
call fcn.0043ac69
cmp eax, ebx
pop ecx
pop ecx
jne 0x43bfca
cmp dword [ebp - 8], ebx
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov byte [ebp - 1], bl
mov byte [ebp - 2], bl
je 0x43bf44
push ebx
push dword [ebp - 8]
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x43bf47
cmp dword [0x466c9c], esi
je 0x43bf2a
push dword [ebp - 8]
call fcn.0043bba4
test al, al
pop ecx
jne 0x43bf2a
push 1
push esi
push dword [0x466c9c]
call edi
test eax, eax
setne byte [ebp - 1]
cmp dword [ebp - 0xc], ebx
je 0x43bf47
cmp esi, dword [ebp - 0xc]
je 0x43bf47
push 1
push dword [ebp - 0xc]
push esi
call edi
test eax, eax
setne byte [ebp - 2]
jmp 0x43bf47
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0043ac69
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
jne 0x43bf9a
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 5
jl 0x43bf4a
mov esi, 0xffc3d44d
push esi
push ebx
push ebx
push ebx
push 0x12
push 2
call fcn.00412b58
push esi
push ebx
push ebx
push ebx
push 0x12
push 2
call fcn.00412b58
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0043ac69
mov esi, dword [ebp - 0x18]
add esp, 0x38
mov dword [ebp - 0x14], eax
cmp byte [ebp - 1], bl
je 0x43bfa9
push ebx
push esi
push dword [0x466c9c]
call edi
cmp byte [ebp - 2], bl
je 0x43bfb5
push ebx
push dword [ebp - 0xc]
push esi
call edi
cmp dword [ebp - 0x14], ebx
je 0x43bfc8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [ebp - 0x14]
jmp 0x43bfca
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x43bfcf
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x801c
call fcn.00457ac0
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp ecx, ebx
push esi
push edi
je 0x43bffa
push 1
push ebx
push 0xffffffffffffffff
push ebx
call fcn.0040187e
mov eax, 0x45af3c
jmp 0x43bfff
mov eax, 0x45abb4
mov ecx, dword [0x466b78]
xor esi, esi
inc esi
push esi
push ebx
push 0xffffffffffffffff
push eax
call fcn.0040187e
cmp dword [ebp + 0x18], ebx
jne 0x43c01e
mov dword [ebp + 0x18], 0x1f4
cmp dword [ebp + 0x1c], esi
jge 0x43c02a
mov dword [ebp + 0x1c], 0x32
cmp dword [ebp + 0x10], esi
jge 0x43c032
mov dword [ebp + 0x10], esi
cmp dword [ebp + 0xc], ebx
je 0x43c1b4
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea eax, [ebp - 0x18]
push eax
mov edi, 0x7d0
push edi
push 2
push ebx
push ebx
push 0x406
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x43c1b4
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x18]
jg 0x43c1b4
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0x8000
push eax
call fcn.00437f81
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x43c1b4
mov al, byte [0x467399]
mov byte [ebp - 1], al
cmp al, bl
mov eax, dword [ebp - 0xc]
jne 0x43c0a1
lea eax, [ebp - 0x801c]
dec dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov byte [eax], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
push edi
push 2
push ebx
push dword [ebp + 0x10]
push 0x403
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x43c122
cmp word [ebp - 0x10], 0x7fff
ja 0x43c187
lea eax, [ebp - 0x10]
push eax
push edi
push 2
push dword [ebp - 0xc]
push dword [ebp + 0x10]
push 0x402
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x43c122
cmp byte [ebp - 1], bl
jne 0x43c111
movzx eax, word [ebp - 0x10]
push ebx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x43c15f
push dword [ebp + 0x14]
push dword [ebp - 8]
call fcn.0043b80d
test al, al
pop ecx
pop ecx
jne 0x43c166
cmp dword [ebp + 8], ebx
jne 0x43c18c
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43c1a0
cmp dword [ebp + 0x18], ebx
jl 0x43c14e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x18]
add ecx, edx
sub ecx, eax
cmp ecx, 5
jle 0x43c172
push 1
push dword [ebp + 0x1c]
call fcn.0040dca7
pop ecx
pop ecx
jmp 0x43c0b2
mov eax, dword [ebp - 8]
mov byte [eax], bl
jmp 0x43c187
push 1
push ebx
push 0xffffffffffffffff
push 0x459724
jmp 0x43c17c
push 1
push ebx
push 0xffffffffffffffff
push 0x45af3c
mov ecx, dword [0x466b78]
call fcn.0040187e
cmp dword [ebp + 8], ebx
je 0x43c1a0
mov ecx, dword [ebp + 8]
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 8]
call fcn.0040187e
mov esi, eax
jmp 0x43c1a3
xor esi, esi
inc esi
push dword [ebp - 0xc]
push dword [ebp - 0x14]
call fcn.00438493
pop ecx
pop ecx
mov eax, esi
jmp 0x43c1b7
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43c45e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp byte [ebp + 0x10], bl
je 0x43c474
push dword [ebp + 8]
call fcn.0042c6ff
pop ecx
jmp 0x43c481
push ebx
push ebx
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [ebp + 0xc], ebx
jge 0x43c48b
mov dword [ebp + 0xc], ebx
cmp ebx, ebx
je 0x43c4e4
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
call ebx
push 1
mov edi, 0x8000012f
push edi
mov dword [ebp + 0x10], eax
call fcn.0040dca7
mov esi, dword [sym.imp.USER32.dll_IsWindow]
pop ecx
pop ecx
push dword [ebp + 8]
call esi
test eax, eax
je 0x43c4e2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add eax, ecx
mov dword [ebp + 0x10], eax
call ebx
mov ecx, dword [ebp + 0x10]
sub ecx, eax
cmp ecx, 5
jle 0x43c4e2
push 1
push edi
call fcn.0040dca7
pop ecx
pop ecx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x43c4c3
pop edi
pop esi
mov eax, dword [ebp + 8]
pop ebx
pop ebp
ret
Function at 0x43c50d
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8c58
call fcn.00457ac0
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov al, byte [esi]
xor ebx, ebx
cmp al, 0x41
push edi
mov edi, dword [ebp + 0x18]
je 0x43c52f
cmp al, 0x61
jne 0x43c580
cmp byte [esi + 1], bl
jne 0x43c580
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], bl
jne 0x43c580
mov ecx, dword [ebp + 0x14]
cmp byte [ecx], bl
jne 0x43c580
cmp byte [edi], bl
jne 0x43c580
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [ebp + 8]
mov esi, eax
cmp esi, ebx
je 0x43c56a
cmp byte [edi + 0xbe], bl
jne 0x43c56a
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43c56a
xor esi, esi
cmp byte [ebp + 0x20], bl
je 0x43c579
cmp esi, ebx
je 0x43c579
mov dword [edi + 0x9c], esi
mov eax, esi
jmp 0x43c687
cmp al, bl
jne 0x43c5a4
mov eax, dword [ebp + 0x10]
cmp byte [eax], bl
jne 0x43c5a4
mov eax, dword [ebp + 0x14]
cmp byte [eax], bl
jne 0x43c5a4
cmp byte [edi], bl
jne 0x43c5a4
push dword [ebp + 8]
call fcn.0043b44f
pop ecx
jmp 0x43c687
lea ecx, [ebp - 0x8c58]
call fcn.0043b56c
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x8c58]
push dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0043b883
test eax, eax
je 0x43c65c
test byte [ebp - 0x8c58], 2
mov al, byte [ebp + 0x1c]
mov byte [ebp - 0x8430], al
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x8420], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x841c], eax
je 0x43c660
cmp dword [ebp - 0x843c], 0xffff
je 0x43c63b
push dword [ebp - 0x843c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43c65c
cmp byte [esi + 0xbe], bl
jne 0x43c63b
push dword [ebp - 0x843c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43c63b
push 0xfffffffffffffff0
push dword [ebp - 0x843c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000000
je 0x43c65c
push dword [ebp - 0x843c]
lea ecx, [ebp - 0x8c58]
call fcn.0043b86b
push ebx
lea ecx, [ebp - 0x8c58]
call fcn.0043b5b3
test eax, eax
jne 0x43c672
xor eax, eax
jmp 0x43c687
lea eax, [ebp - 0x8c58]
push eax
push 0x43b33b
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp + 0x20], bl
mov eax, dword [ebp - 0x8428]
je 0x43c687
cmp eax, ebx
je 0x43c687
mov dword [esi + 0x9c], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43d5c7
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00457ac0
mov eax, dword [0x465ad8]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x46a940]
mov dword [ebp - 4], eax
jae 0x43d70a
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x46a960]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x43d70a
push 1
push esi
push ebx
call fcn.0043ef4b
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x43d714
push 2
push esi
push ebx
call fcn.0043ef4b
add esp, 0xc
cmp eax, 0xffffffff
je 0x43d714
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x43d6b4
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.004573f0
push 0x8000
push ebx
call fcn.00441695
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x43d673
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.0044285b
add esp, 0xc
cmp eax, 0xffffffff
je 0x43d691
sub edi, eax
test edi, edi
jg 0x43d668
jmp 0x43d6a7
cmp dword [0x46a498], 5
jne 0x43d6a4
mov dword [0x46a494], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.00441695
pop ecx
pop ecx
jmp 0x43d6f4
jge 0x43d6f4
push 0
push dword [ebp + 0xc]
push ebx
call fcn.0043ef4b
push ebx
call fcn.0043fa4b
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x43d6f4
mov dword [0x46a494], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x46a498], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.0043ef4b
add esp, 0xc
mov eax, esi
pop edi
jmp 0x43d717
mov dword [0x46a494], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.004414d9
leave
ret
Function at 0x43dbad
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x465ad8]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x465988]
je 0x43dbe2
inc eax
cmp eax, 0x13
jb 0x43dbd3
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x465988]
jne 0x43dd08
mov eax, dword [0x46a4f0]
cmp eax, 1
je 0x43dce0
cmp eax, edx
jne 0x43dc12
cmp dword [0x465824], 1
je 0x43dce0
cmp ecx, 0xfc
je 0x43dd08
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43dc48
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.004572f0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00457520
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43dc7c
mov eax, edi
push eax
call fcn.00457520
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x45b0c8
push edi
call fcn.00458220
add esp, 0x10
push edi
call fcn.00457520
push dword [esi + 0x46598c]
mov ebx, eax
call fcn.00457520
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00457ac0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.004572f0
push edi
push ebx
call fcn.00457300
push 0x461448
push ebx
call fcn.00457300
push dword [esi + 0x46598c]
push ebx
call fcn.00457300
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0043dd24
add esp, 0x2c
jmp 0x43dd08
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x46598c]
push dword [esi]
call fcn.00457520
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.004414d9
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x43dd24
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x46a6e8], ebx
push esi
push edi
jne 0x43dda4
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43dddf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x461504
push edi
call esi
test eax, eax
mov dword [0x46a6e8], eax
je 0x43dddf
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x46a6ec], eax
call esi
cmp dword [0x46a4a0], 2
mov dword [0x46a6f0], eax
jne 0x43dda4
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x46a6f8], eax
je 0x43dda4
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x46a6f4], eax
mov eax, dword [0x46a6f4]
test eax, eax
je 0x43dde9
call eax
test eax, eax
je 0x43ddd0
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x46a6f8]
test eax, eax
je 0x43ddd0
test byte [ebp - 8], 1
jne 0x43dde9
cmp dword [0x46a4ac], 4
jb 0x43dde3
or byte [ebp + 0x12], 0x20
jmp 0x43de08
xor eax, eax
jmp 0x43de18
or byte [ebp + 0x12], 4
jmp 0x43de08
mov eax, dword [0x46a6ec]
test eax, eax
je 0x43de08
call eax
mov ebx, eax
test ebx, ebx
je 0x43de08
mov eax, dword [0x46a6f0]
test eax, eax
je 0x43de08
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x46a6e8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43e245
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x43e273
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x43e27a
cmp ebx, dword [eax + 4]
jae 0x43e27a
xor eax, eax
jmp 0x43e46a
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x43e28b
xor eax, eax
inc eax
jmp 0x43e469
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x43e2a1
cmp ecx, edx
jae 0x43e3e6
cmp dword [eax + 4], 0
je 0x43e2aa
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x43e292
cmp dword [ebp + 8], 0
je 0x43e2cc
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x43e3e6
cmp eax, esi
jae 0x43e3e6
mov eax, dword [0x46a550]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x43e2f1
cmp dword [esi*4 + 0x46a558], edi
je 0x43e3ea
inc esi
cmp esi, eax
jl 0x43e2df
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43e466
cmp dword [ebp - 8], 0x1000000
jne 0x43e466
test byte [ebp - 0xc], 0xcc
je 0x43e36f
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x43e466
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x43e466
cmp word [eax + 0x18], 0x10b
jne 0x43e466
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x43e466
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x43e36f
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x43e36f
test byte [ecx + 0x27], 0x80
jne 0x43e3e6
push 1
push 0x46a598
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x43e283
mov ecx, dword [0x46a550]
test ecx, ecx
mov edx, ecx
jle 0x43e3a3
lea eax, [ecx*4 + 0x46a554]
cmp dword [eax], edi
je 0x43e3a3
dec edx
sub eax, 4
test edx, edx
jg 0x43e397
test edx, edx
jne 0x43e3d4
push 0xf
pop ebx
cmp ecx, ebx
jg 0x43e3b0
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x43e3c8
lea eax, [edx*4 + 0x46a558]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x43e3b6
cmp ecx, 0x10
jge 0x43e3d4
inc ecx
mov dword [0x46a550], ecx
push 0
push 0x46a598
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x43e283
xor eax, eax
jmp 0x43e469
test esi, esi
jle 0x43e283
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x46a598
call ebx
test eax, eax
jne 0x43e283
cmp dword [esi*4 + 0x46a558], edi
je 0x43e440
mov eax, dword [0x46a550]
lea esi, [eax - 1]
test esi, esi
jl 0x43e42e
cmp dword [esi*4 + 0x46a558], edi
je 0x43e42a
dec esi
jns 0x43e41e
test esi, esi
jge 0x43e43e
cmp eax, 0x10
jge 0x43e439
inc eax
mov dword [0x46a550], eax
lea esi, [eax - 1]
jmp 0x43e440
je 0x43e458
xor ecx, ecx
test esi, esi
jl 0x43e458
lea eax, [ecx*4 + 0x46a558]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x43e446
push 0
push 0x46a598
call ebx
jmp 0x43e283
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret