Function at 0x41ce87
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movsx eax, byte [0x438c1b]
push ebx
push esi
push edi
push eax
push 0xca93ffff
call fcn.0040aa18
pop ecx
mov word [0x438c2e], ax
pop ecx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x41cf81
push 0xadf5ffff
push 0xa405ffff
call fcn.0040ab0e
add byte [0x438c18], al
pop ecx
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x7afffff
mov ebx, eax
push dword [0x438c3c]
call fcn.0040aa18
mov dword [0x438c40], eax
mov esi, 0x80000000
movsx ax, byte [0x438c18]
and eax, dword [0x438c58]
pop ecx
pop ecx
mov edi, 0xc0000000
add word [0x438c34], ax
cmp ebx, esi
jb 0x41cf28
cmp ebx, edi
jae 0x41cf28
push 0x49
call fcn.0040ebd2
pop ecx
call eax
test esi, eax
jne 0x41cf81
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov byte [0x438c1d], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp + 0xc]
mov word [0x438c2c], ax
mov ax, word [0x438c38]
or ax, word [0x438c24]
push ebx
mov word [0x438c32], ax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + 8], eax
movsx eax, byte [0x438c1c]
push eax
movsx eax, byte [0x438c19]
push eax
call fcn.0040a8f9
cmp dword [ebp + 8], 0
pop ecx
pop ecx
mov dword [0x438c4c], eax
jne 0x41cf88
xor eax, eax
jmp 0x41d3b3
mov ax, word [0x438c2e]
push 0x49
dec ax
mov word [0x438c30], ax
call fcn.0040ebd2
pop ecx
call eax
and eax, edi
cmp eax, esi
jne 0x41cfaf
push ebx
call fcn.0041d3ba
pop ecx
mov ebx, eax
push dword [0x438c48]
push 0x26e9ffff
call fcn.0040aa4f
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add byte [0x438c1c], al
pop ecx
pop ecx
push 0x40
push ebx
call edi
test eax, eax
jne 0x41d3b0
movsx eax, word [0x438c24]
push eax
movsx eax, word [0x438c28]
push eax
call fcn.0040ab0e
mov dword [0x438c3c], eax
movsx eax, word [0x438c22]
push eax
push dword [0x438c38]
call fcn.0040aa83
add esp, 0x10
mov dword [0x438c3c], eax
cmp word [ebx], 0x5a4d
jne 0x41d3b0
mov al, byte [0x438c18]
mov byte [0x438c1e], al
movsx eax, byte [0x438c20]
push eax
push 0xa5d1ffff
call fcn.0040a9a5
push 0x689ffff
push 0xc65ffff
mov byte [0x438c18], al
call fcn.0040aac5
add word [0x438c22], ax
push dword [ebx + 0x3c]
push ebx
call fcn.0041bffa
mov esi, eax
movsx eax, word [0x438c32]
push eax
push 0xba37ffff
call fcn.0040ab0e
add esp, 0x20
mov byte [0x438c1a], al
call dword [sym.imp.USER32.dll_GetActiveWindow]
push 0xf8
push esi
mov dword [0x438c54], eax
call edi
test eax, eax
jne 0x41d3b0
push 0x5a15ffff
push 0x6b1ffff
call fcn.0040aa4f
add byte [0x438c1c], al
pop ecx
pop ecx
call dword [sym.imp.USER32.dll_GetInputState]
mov dword [0x438c48], eax
mov al, byte [0x438c58]
dec al
mov byte [0x438c1c], al
cmp dword [esi], 0x4550
jne 0x41d3b0
push 0x7ef5ffff
push 0x60e3ffff
mov word [0x438c24], 0xfffe
call fcn.0040aa4f
add word [0x438c32], ax
push dword [esi + 0x78]
push ebx
call fcn.0041bffa
mov esi, eax
mov byte [0x438c1f], 1
xor edi, edi
push dword [esi + 0x1c]
push ebx
call fcn.0041bffa
mov dword [ebp - 4], eax
movsx eax, word [0x438c34]
push eax
push 0x24b1ffff
call fcn.0040ab0e
add byte [0x438c1c], al
push 0x500bffff
push 0x2083ffff
mov word [0x438c26], 0xfffe
call fcn.0040a8f9
add esp, 0x28
mov dword [0x438c54], eax
cmp dword [esi + 0x14], edi
jbe 0x41d213
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
push 0x7611ffff
push 0x8183ffff
call fcn.0040a9de
add byte [0x438c21], al
movsx eax, byte [0x438c1b]
push eax
push 0x1ae1ffff
call fcn.0040aa18
mov word [0x438c26], ax
movsx eax, byte [0x438c1b]
push eax
movsx eax, byte [0x438c21]
push eax
call fcn.0040aa83
add dword [0x438c48], eax
mov eax, dword [ebp + 0xc]
push dword [eax]
push ebx
call fcn.0041bffa
mov dword [ebp - 8], eax
add esp, 0x20
movsx eax, byte [0x438c1b]
push eax
call dword [sym.imp.USER32.dll_IsMenu]
push 0xf6cbffff
push 0xacc7ffff
mov word [0x438c2c], ax
call fcn.0040a96f
add dword [0x438c4c], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
pop ecx
pop ecx
je 0x41d213
movsx eax, word [0x438c30]
push 0x8ec3ffff
push eax
call fcn.0040aa18
add word [0x438c24], ax
mov ax, word [0x438c34]
add word [0x438c26], ax
add dword [ebp + 0xc], 4
inc edi
pop ecx
cmp edi, dword [esi + 0x14]
pop ecx
jb 0x41d151
mov al, byte [0x438c1b]
dec word [0x438c22]
neg al
mov byte [0x438c1a], al
mov eax, dword [0x438c54]
mov ecx, eax
imul ecx, ecx, 0xc5c7ffff
inc byte [0x438c18]
mov dword [0x438c5c], ecx
cmp edi, dword [esi + 0x14]
jae 0x41d384
push 0xc8adffff
push 0xd4e1ffff
call fcn.0040a933
push 0xf03ffff
push 0xb8cbffff
mov word [0x438c32], ax
call fcn.0040a9a5
push dword [0x438c3c]
inc byte [0x438c1c]
mov dword [0x438c54], eax
push eax
call fcn.0040aac5
mov byte [0x438c1e], al
inc byte [0x438c1f]
movsx eax, word [0x438c2a]
and dword [ebp + 0xc], 0
push eax
movsx eax, word [0x438c2e]
push eax
call fcn.0040ab0e
mov dword [0x438c4c], eax
mov eax, dword [ebp - 4]
add esp, 0x20
lea esi, [eax + edi*4]
lea eax, [ebp + 0xc]
push eax
push 4
push 4
push esi
push 0x5b
call fcn.0040ebd2
pop ecx
call eax
mov edi, eax
movsx eax, byte [0x438c1d]
push eax
push dword [0x438c54]
call fcn.0040aa83
add byte [0x438c20], al
push 0x799dffff
push dword [0x438c54]
call fcn.0040aa18
add esp, 0x10
mov byte [0x438c18], al
test edi, edi
je 0x41d33f
movsx eax, byte [0x438c21]
push eax
push 0xd451ffff
mov dword [0x438c50], 1
call fcn.0040aa4f
add word [0x438c28], ax
mov eax, dword [ebp + 0x10]
sub eax, ebx
pop ecx
mov dword [esi], eax
pop ecx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push 4
push esi
push 0x5b
call fcn.0040ebd2
pop ecx
call eax
movsx eax, byte [0x438c1c]
or eax, 0x5d9dffff
push 0xfb5dffff
add dword [0x438c3c], eax
dec word [0x438c26]
movsx eax, word [0x438c28]
push eax
call fcn.0040aa4f
mov byte [0x438c1e], al
mov al, byte [0x438c32]
and al, byte [0x438c1d]
pop ecx
pop ecx
add byte [0x438c21], al
jmp 0x41d3b0
movsx ecx, word [0x438c22]
and ecx, 0xdb3bffff
mov dword [0x438c54], 0x4401ffff
mov dword [0x438c58], ecx
mov ecx, dword [0x438c3c]
or ecx, eax
mov word [0x438c28], cx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc