joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435833
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 0x435983
push ebx
xor ebx, ebx
cmp dword [esi + 0xc], ecx
push edi
jbe 0x435881
xor edi, edi
mov eax, dword [esi + 0x14]
add eax, edi
cmp dword [eax + 8], ecx
je 0x435876
cmp byte [eax + 4], 6
je 0x435876
mov eax, dword [esi + 0x14]
add eax, edi
push str.Submit
push eax
push dword [eax + 8]
mov ecx, esi
call fcn.0042e774
inc ebx
add edi, 0x14
xor ecx, ecx
cmp ebx, dword [esi + 0xc]
jb 0x435851
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 0x4358b1
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 0x4358f6
cmp dword [ebp - 8], 1
jne 0x4358e5
cmp dword [ebp - 4], 1
jle 0x4358e5
cmp ebx, 0xffffffff
jne 0x4358c4
xor ebx, ebx
push 0xa
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.004017e8
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push eax
call fcn.0040152b
cmp edi, dword [esi + 0xc]
je 0x435971
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 0x43595d
mov edi, dword [eax + 8]
inc dword [ebp - 4]
test edi, edi
je 0x435914
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 0x435947
test ebx, ebx
je 0x435933
or ebx, 0xffffffff
jmp 0x435936
mov ebx, dword [ebp - 4]
test edi, edi
je 0x43595d
push 1
push 0
push 0xffffffffffffffff
push 0x458f24
jmp 0x435956
test edi, edi
je 0x43595d
push 1
push 0
push 0xffffffffffffffff
push 0x45771c
mov ecx, edi
call fcn.0040152b
mov edi, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x14
inc edi
cmp edi, dword [esi + 0xc]
mov dword [ebp - 0x14], edi
jbe 0x435897
cmp byte [ebp + 8], 0
pop edi
pop ebx
je 0x435983
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop esi
leave
ret 4

Function at 0x435a09
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 0x435a36
cmp al, 0x21
je 0x435a31
cmp al, 0x2b
je 0x435a2b
cmp al, 0x5e
jne 0x435a3c
or byte [ebp - 1], 2
jmp 0x435a35
or byte [ebp - 1], 1
jmp 0x435a35
or byte [ebp - 1], 4
inc esi
mov al, byte [esi]
cmp al, bl
jne 0x435a19
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push ebx
push ebx
push esi
call fcn.00413c75
add esp, 0x14
cmp al, bl
mov byte [ebp + 8], al
jne 0x435a5d
xor ax, ax
jmp 0x435a85
push esi
call fcn.00413a1d
cmp ax, bx
pop ecx
jne 0x435a74
push ebx
push dword [ebp + 8]
call fcn.0041218a
pop ecx
pop ecx
test ah, 1
je 0x435a7d
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 0x43850b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x14]
push eax
push 1
push 0
push dword [ebp + 0xc]
mov byte [esi], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x438532
xor eax, eax
jmp 0x43855f
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret

Function at 0x438562
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000
call fcn.00454e20
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 0x4385a3
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x8000]
push eax
push dword [ebp + 0xc]
call fcn.00454280
add esp, 0xc
jmp 0x4385a9
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov eax, esi
pop esi
leave
ret

Function at 0x438f93
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43901c
cmp byte [esi], 0
je 0x43901c
push 4
push 0x45d638
push esi
call fcn.004550f0
add esp, 0xc
test eax, eax
mov eax, esi
jne 0x438fc2
lea eax, [esi + 4]
push 0x45c17c
push eax
call fcn.00438acb
test eax, eax
pop ecx
pop ecx
je 0x439000
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
je 0x43901c
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x438ffc
mov ecx, dword [ebp - 0x140]
mov dword [eax], ecx
mov al, 1
jmp 0x43901e
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x439010
mov dword [ecx], eax
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
jmp 0x43901e
xor al, al
pop esi
leave
ret
Function at 0x43b338
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 0x43b350
xor eax, eax
jmp 0x43b4b3
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ebx
push edi
call esi
cmp eax, dword [0x464dbc]
mov dword [ebp - 0xc], eax
je 0x43b375
push edi
call fcn.0043b0bc
test al, al
pop ecx
jne 0x43b4b0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x43b391
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jne 0x43b39d
mov eax, edi
jmp 0x43b4b2
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43b3b1
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x4644bd], bl
jne 0x43b3cc
push dword [ebp - 8]
push edi
call fcn.0043a166
cmp eax, ebx
pop ecx
pop ecx
jne 0x43b4b2
cmp dword [ebp - 8], ebx
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov byte [ebp - 1], bl
mov byte [ebp - 2], bl
je 0x43b42c
push ebx
push dword [ebp - 8]
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x43b42f
cmp dword [0x464dbc], esi
je 0x43b412
push dword [ebp - 8]
call fcn.0043b0bc
test al, al
pop ecx
jne 0x43b412
push 1
push esi
push dword [0x464dbc]
call edi
test eax, eax
setne byte [ebp - 1]
cmp dword [ebp - 0xc], ebx
je 0x43b42f
cmp esi, dword [ebp - 0xc]
je 0x43b42f
push 1
push dword [ebp - 0xc]
push esi
call edi
test eax, eax
setne byte [ebp - 2]
jmp 0x43b42f
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0043a166
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
jne 0x43b482
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 5
jl 0x43b432
mov esi, 0xffc3d44d
push esi
push ebx
push ebx
push ebx
push 0x12
push 2
call fcn.00411044
push esi
push ebx
push ebx
push ebx
push 0x12
push 2
call fcn.00411044
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0043a166
mov esi, dword [ebp - 0x18]
add esp, 0x38
mov dword [ebp - 0x14], eax
cmp byte [ebp - 1], bl
je 0x43b491
push ebx
push esi
push dword [0x464dbc]
call edi
cmp byte [ebp - 2], bl
je 0x43b49d
push ebx
push dword [ebp - 0xc]
push esi
call edi
cmp dword [ebp - 0x14], ebx
je 0x43b4b0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [ebp - 0x14]
jmp 0x43b4b2
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x43b4b7
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x801c
call fcn.00454e20
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp ecx, ebx
push esi
push edi
je 0x43b4e2
push 1
push ebx
push 0xffffffffffffffff
push ebx
call fcn.0040152b
mov eax, 0x458f24
jmp 0x43b4e7
mov eax, 0x458b9c
mov ecx, dword [0x464c98]
xor esi, esi
inc esi
push esi
push ebx
push 0xffffffffffffffff
push eax
call fcn.0040152b
cmp dword [ebp + 0x18], ebx
jne 0x43b506
mov dword [ebp + 0x18], 0x1f4
cmp dword [ebp + 0x1c], esi
jge 0x43b512
mov dword [ebp + 0x1c], 0x32
cmp dword [ebp + 0x10], esi
jge 0x43b51a
mov dword [ebp + 0x10], esi
cmp dword [ebp + 0xc], ebx
je 0x43b69c
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 0x43b69c
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x18]
jg 0x43b69c
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0x8000
push eax
call fcn.00437528
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x43b69c
mov al, byte [0x4654b9]
mov byte [ebp - 1], al
cmp al, bl
mov eax, dword [ebp - 0xc]
jne 0x43b589
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 0x43b60a
cmp word [ebp - 0x10], 0x7fff
ja 0x43b66f
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 0x43b60a
cmp byte [ebp - 1], bl
jne 0x43b5f9
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 0x43b647
push dword [ebp + 0x14]
push dword [ebp - 8]
call fcn.0043ad28
test al, al
pop ecx
pop ecx
jne 0x43b64e
cmp dword [ebp + 8], ebx
jne 0x43b674
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43b688
cmp dword [ebp + 0x18], ebx
jl 0x43b636
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 0x43b65a
push 1
push dword [ebp + 0x1c]
call fcn.0040be3b
pop ecx
pop ecx
jmp 0x43b59a
mov eax, dword [ebp - 8]
mov byte [eax], bl
jmp 0x43b66f
push 1
push ebx
push 0xffffffffffffffff
push 0x45771c
jmp 0x43b664
push 1
push ebx
push 0xffffffffffffffff
push 0x458f24
mov ecx, dword [0x464c98]
call fcn.0040152b
cmp dword [ebp + 8], ebx
je 0x43b688
mov ecx, dword [ebp + 8]
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 8]
call fcn.0040152b
mov esi, eax
jmp 0x43b68b
xor esi, esi
inc esi
push dword [ebp - 0xc]
push dword [ebp - 0x14]
call fcn.00437a3a
pop ecx
pop ecx
mov eax, esi
jmp 0x43b69f
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b946
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp byte [ebp + 0x10], bl
je 0x43b95c
push dword [ebp + 8]
call fcn.0042bdb1
pop ecx
jmp 0x43b969
push ebx
push ebx
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [ebp + 0xc], ebx
jge 0x43b973
mov dword [ebp + 0xc], ebx
cmp ebx, ebx
je 0x43b9cc
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.0040be3b
mov esi, dword [sym.imp.USER32.dll_IsWindow]
pop ecx
pop ecx
push dword [ebp + 8]
call esi
test eax, eax
je 0x43b9ca
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 0x43b9ca
push 1
push edi
call fcn.0040be3b
pop ecx
pop ecx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x43b9ab
pop edi
pop esi
mov eax, dword [ebp + 8]
pop ebx
pop ebp
ret
Function at 0x43b9f5
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8c58
call fcn.00454e20
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 0x43ba17
cmp al, 0x61
jne 0x43ba68
cmp byte [esi + 1], bl
jne 0x43ba68
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], bl
jne 0x43ba68
mov ecx, dword [ebp + 0x14]
cmp byte [ecx], bl
jne 0x43ba68
cmp byte [edi], bl
jne 0x43ba68
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [ebp + 8]
mov esi, eax
cmp esi, ebx
je 0x43ba52
cmp byte [edi + 0x132], bl
jne 0x43ba52
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43ba52
xor esi, esi
cmp byte [ebp + 0x20], bl
je 0x43ba61
cmp esi, ebx
je 0x43ba61
mov dword [edi + 0x118], esi
mov eax, esi
jmp 0x43bb6f
cmp al, bl
jne 0x43ba8c
mov eax, dword [ebp + 0x10]
cmp byte [eax], bl
jne 0x43ba8c
mov eax, dword [ebp + 0x14]
cmp byte [eax], bl
jne 0x43ba8c
cmp byte [edi], bl
jne 0x43ba8c
push dword [ebp + 8]
call fcn.0043a964
pop ecx
jmp 0x43bb6f
lea ecx, [ebp - 0x8c58]
call fcn.0043aa81
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.0043ad9b
test eax, eax
je 0x43bb44
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 0x43bb48
cmp dword [ebp - 0x843c], 0xffff
je 0x43bb23
push dword [ebp - 0x843c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43bb44
cmp byte [esi + 0x132], bl
jne 0x43bb23
push dword [ebp - 0x843c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43bb23
push 0xfffffffffffffff0
push dword [ebp - 0x843c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000000
je 0x43bb44
push dword [ebp - 0x843c]
lea ecx, [ebp - 0x8c58]
call fcn.0043ad83
push ebx
lea ecx, [ebp - 0x8c58]
call fcn.0043aac8
test eax, eax
jne 0x43bb5a
xor eax, eax
jmp 0x43bb6f
lea eax, [ebp - 0x8c58]
push eax
push 0x43a850
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp + 0x20], bl
mov eax, dword [ebp - 0x8428]
je 0x43bb6f
cmp eax, ebx
je 0x43bb6f
mov dword [esi + 0x118], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43caaf
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00454e20
mov eax, dword [0x463b50]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x4689a0]
mov dword [ebp - 4], eax
jae 0x43cbf2
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x4689c0]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x43cbf2
push 1
push esi
push ebx
call fcn.0043e433
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x43cbfc
push 2
push esi
push ebx
call fcn.0043e433
add esp, 0xc
cmp eax, 0xffffffff
je 0x43cbfc
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x43cb9c
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00454750
push 0x8000
push ebx
call fcn.00440bb5
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x43cb5b
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.00441dd3
add esp, 0xc
cmp eax, 0xffffffff
je 0x43cb79
sub edi, eax
test edi, edi
jg 0x43cb50
jmp 0x43cb8f
cmp dword [0x4684f4], 5
jne 0x43cb8c
mov dword [0x4684f0], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.00440bb5
pop ecx
pop ecx
jmp 0x43cbdc
jge 0x43cbdc
push 0
push dword [ebp + 0xc]
push ebx
call fcn.0043e433
push ebx
call fcn.0043ef33
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 0x43cbdc
mov dword [0x4684f0], 0xd
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [0x4684f4], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.0043e433
add esp, 0xc
mov eax, esi
pop edi
jmp 0x43cbff
mov dword [0x4684f0], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.004409f9
leave
ret
Function at 0x43d095
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x463b50]
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 + 0x463a00]
je 0x43d0ca
inc eax
cmp eax, 0x13
jb 0x43d0bb
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x463a00]
jne 0x43d1f0
mov eax, dword [0x468554]
cmp eax, 1
je 0x43d1c8
cmp eax, edx
jne 0x43d0fa
cmp dword [0x4638a4], 1
je 0x43d1c8
cmp ecx, 0xfc
je 0x43d1f0
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 0x43d130
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00454650
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00454880
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43d164
mov eax, edi
push eax
call fcn.00454880
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x4590a8
push edi
call fcn.00455640
add esp, 0x10
push edi
call fcn.00454880
push dword [esi + 0x463a04]
mov ebx, eax
call fcn.00454880
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00454e20
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00454650
push edi
push ebx
call fcn.00454660
push 0x45f388
push ebx
call fcn.00454660
push dword [esi + 0x463a04]
push ebx
call fcn.00454660
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0043d20c
add esp, 0x2c
jmp 0x43d1f0
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x463a04]
push dword [esi]
call fcn.00454880
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.004409f9
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x43d20c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x468750], ebx
push esi
push edi
jne 0x43d28c
push str.user32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43d2c7
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x45f444
push edi
call esi
test eax, eax
mov dword [0x468750], eax
je 0x43d2c7
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x468754], eax
call esi
cmp dword [0x4684fc], 2
mov dword [0x468758], eax
jne 0x43d28c
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x468760], eax
je 0x43d28c
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x46875c], eax
mov eax, dword [0x46875c]
test eax, eax
je 0x43d2d1
call eax
test eax, eax
je 0x43d2b8
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x468760]
test eax, eax
je 0x43d2b8
test byte [ebp - 8], 1
jne 0x43d2d1
cmp dword [0x468508], 4
jb 0x43d2cb
or byte [ebp + 0x12], 0x20
jmp 0x43d2f0
xor eax, eax
jmp 0x43d300
or byte [ebp + 0x12], 4
jmp 0x43d2f0
mov eax, dword [0x468754]
test eax, eax
je 0x43d2f0
call eax
mov ebx, eax
test ebx, ebx
je 0x43d2f0
mov eax, dword [0x468758]
test eax, eax
je 0x43d2f0
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x468750]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43d72d
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 0x43d75b
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 0x43d762
cmp ebx, dword [eax + 4]
jae 0x43d762
xor eax, eax
jmp 0x43d952
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x43d773
xor eax, eax
inc eax
jmp 0x43d951
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x43d789
cmp ecx, edx
jae 0x43d8ce
cmp dword [eax + 4], 0
je 0x43d792
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x43d77a
cmp dword [ebp + 8], 0
je 0x43d7b4
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x43d8ce
cmp eax, esi
jae 0x43d8ce
mov eax, dword [0x4685b8]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x43d7d9
cmp dword [esi*4 + 0x4685c0], edi
je 0x43d8d2
inc esi
cmp esi, eax
jl 0x43d7c7
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x43d94e
cmp dword [ebp - 8], 0x1000000
jne 0x43d94e
test byte [ebp - 0xc], 0xcc
je 0x43d857
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x43d94e
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x43d94e
cmp word [eax + 0x18], 0x10b
jne 0x43d94e
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x43d94e
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x43d857
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x43d857
test byte [ecx + 0x27], 0x80
jne 0x43d8ce
push 1
push 0x468600
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
test eax, eax
jne 0x43d76b
mov ecx, dword [0x4685b8]
test ecx, ecx
mov edx, ecx
jle 0x43d88b
lea eax, [ecx*4 + 0x4685bc]
cmp dword [eax], edi
je 0x43d88b
dec edx
sub eax, 4
test edx, edx
jg 0x43d87f
test edx, edx
jne 0x43d8bc
push 0xf
pop ebx
cmp ecx, ebx
jg 0x43d898
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x43d8b0
lea eax, [edx*4 + 0x4685c0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x43d89e
cmp ecx, 0x10
jge 0x43d8bc
inc ecx
mov dword [0x4685b8], ecx
push 0
push 0x468600
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
jmp 0x43d76b
xor eax, eax
jmp 0x43d951
test esi, esi
jle 0x43d76b
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 1
push 0x468600
call ebx
test eax, eax
jne 0x43d76b
cmp dword [esi*4 + 0x4685c0], edi
je 0x43d928
mov eax, dword [0x4685b8]
lea esi, [eax - 1]
test esi, esi
jl 0x43d916
cmp dword [esi*4 + 0x4685c0], edi
je 0x43d912
dec esi
jns 0x43d906
test esi, esi
jge 0x43d926
cmp eax, 0x10
jge 0x43d921
inc eax
mov dword [0x4685b8], eax
lea esi, [eax - 1]
jmp 0x43d928
je 0x43d940
xor ecx, ecx
test esi, esi
jl 0x43d940
lea eax, [ecx*4 + 0x4685c0]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x43d92e
push 0
push 0x468600
call ebx
jmp 0x43d76b
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret