Function at 0x41ac96
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movsx eax, byte [0x437be9]
push ebx
push esi
push edi
push eax
movsx eax, byte [0x437bea]
push eax
call fcn.0040ffc6
mov dword [0x437c18], eax
movsx eax, word [0x437bf8]
push eax
push 0x1f61ffff
call fcn.0040ff78
mov byte [0x437bec], al
add esp, 0x10
movsx eax, al
push dword [ebp + 0x10]
and eax, 0x3ccfffff
add dword [0x437c2c], eax
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x41adeb
push 0xdd19ffff
push 0x57f5ffff
call fcn.0040ff78
add dword [0x437c1c], eax
xor eax, eax
cmp dword [0x437c28], eax
push 0x7465ffff
push 0xf94bffff
setne al
add dword [0x437c20], eax
call fcn.0040ff1a
add esp, 0x10
mov word [0x437bf8], ax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x35ffffff
push 0xfe63ffff
mov ebx, eax
call fcn.00410092
add dword [0x437c28], eax
mov ax, word [0x437bf8]
mov edi, 0x80000000
pop ecx
dec ax
cmp ebx, edi
pop ecx
mov word [0x437c02], ax
mov esi, 0xc0000000
jb 0x41ad7f
cmp ebx, esi
jae 0x41ad7f
push 0x4d
call fcn.0041448a
pop ecx
call eax
test edi, eax
jne 0x41adeb
push dword [0x437c18]
push 0x4c07ffff
call fcn.0040ffe3
add word [0x437c00], ax
push dword [0x437c28]
movsx eax, byte [0x437bea]
push eax
call fcn.00410016
add byte [0x437bf1], al
add esp, 0x10
movsx ax, byte [0x437beb]
push dword [ebp + 0xc]
add eax, dword [0x437c18]
add word [0x437bfe], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
movsx ecx, byte [0x437bea]
and ecx, 0x15dbffff
mov dword [ebp + 8], eax
test eax, eax
mov dword [0x437c2c], ecx
jne 0x41adf2
xor eax, eax
jmp 0x41b26b
push 0xd0dffff
push 0x3f2dffff
call fcn.0040fede
push dword [0x437c24]
mov byte [0x437bf1], al
movsx eax, byte [0x437be8]
push eax
call fcn.004100bc
add esp, 0x10
mov dword [0x437c18], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, esi
cmp eax, edi
jne 0x41ae36
push ebx
call fcn.0041b272
pop ecx
mov ebx, eax
movsx eax, word [0x437bfa]
add dword [0x437c0c], 0x5c180000
push eax
push 0x9023ffff
call fcn.00410092
add dword [0x437c20], eax
mov eax, dword [0x437c0c]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
pop ecx
pop ecx
dec eax
push 0x40
push ebx
mov word [0x437c02], ax
call edi
test eax, eax
jne 0x41b268
movsx eax, byte [0x437bea]
and eax, 0x7db7ffff
mov dword [0x437c18], eax
cmp word [ebx], 0x5a4d
jne 0x41b268
movsx eax, word [0x437bfc]
push eax
push 0xa641ffff
call fcn.00410016
add dword [0x437c14], eax
pop ecx
movsx eax, word [0x437bf2]
pop ecx
push eax
push dword [0x437c20]
push 0xf471ffff
call dword [sym.imp.KERNEL32.dll_MulDiv]
add byte [0x437be9], al
push dword [ebx + 0x3c]
push ebx
call fcn.00419d99
mov esi, eax
movsx eax, byte [0x437bf1]
push eax
push 0xc36fffff
call fcn.004100bc
movsx ecx, byte [0x437bf0]
add esp, 0x10
and ecx, eax
add dword [0x437c14], ecx
mov dword [0x437c10], eax
push pe_nt_image_headers32
push esi
call edi
test eax, eax
jne 0x41b268
push 0xe32dffff
push dword [0x437c2c]
call fcn.0040ff78
add byte [0x437bef], al
push 0xfe71ffff
push 0x1bc3ffff
call fcn.0040ffc6
add esp, 0x10
mov dword [0x437c24], eax
cmp dword [esi], 0x4550
jne 0x41b268
push dword [0x437c10]
push 0x3b61ffff
call fcn.00410092
dec word [0x437bf8]
mov byte [0x437be8], al
push dword [esi + 0x78]
push ebx
call fcn.00419d99
push 0x1e07ffff
push 0xd1ffff
mov esi, eax
xor edi, edi
call fcn.0040ffc6
mov byte [0x437beb], al
xor eax, eax
cmp word [0x437bf8], ax
setne al
add dword [0x437c0c], eax
push dword [esi + 0x1c]
push ebx
call fcn.00419d99
movsx cx, byte [0x437be8]
mov dword [ebp - 4], eax
add esp, 0x20
movsx ax, byte [0x437bf0]
sub ax, word [0x437bfa]
sub word [0x437bfa], cx
mov word [0x437bfc], ax
cmp dword [esi + 0x14], edi
jbe 0x41b05c
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
add dword [0x437c08], eax
mov eax, dword [ebp + 0xc]
push dword [eax]
push ebx
call fcn.00419d99
mov dword [ebp - 8], eax
mov eax, dword [0x437c08]
add eax, 0x6231ffff
push 0xea89ffff
push 0xfc57ffff
mov dword [0x437c24], eax
call fcn.0040fede
mov dword [0x437c14], eax
mov eax, dword [ebp + 8]
add esp, 0x10
cmp dword [ebp - 8], eax
je 0x41b056
movsx eax, word [0x437bfa]
push eax
push 0x7867ffff
mov byte [0x437bec], 1
call fcn.0040ff4b
inc word [0x437bf4]
add dword [ebp + 0xc], 4
inc edi
pop ecx
mov word [0x437bf8], ax
cmp edi, dword [esi + 0x14]
pop ecx
jb 0x41afdc
mov ax, word [0x437bfc]
push dword [0x437c20]
movsx eax, ax
push eax
call fcn.0040ffc6
pop ecx
mov word [0x437c04], ax
pop ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov byte [0x437bec], al
cmp edi, dword [esi + 0x14]
jae 0x41b238
movsx eax, byte [0x437bf0]
push 0xd711ffff
push eax
call fcn.0040ff1a
pop ecx
mov byte [0x437bec], al
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add byte [0x437bf0], al
xor eax, eax
cmp byte [0x437be9], al
setne al
add byte [0x437beb], al
movsx eax, byte [0x437bf0]
push eax
push 0xf33fffff
call fcn.0040ff78
mov byte [0x437bf0], al
movsx eax, byte [0x437bee]
push eax
push dword [0x437c20]
call fcn.00410092
add word [0x437c00], ax
movsx eax, word [0x437bfe]
push eax
push 0xe03bffff
call fcn.00410016
add word [0x437c04], ax
and dword [ebp + 0xc], 0
or al, 0xff
push 0xd79dffff
sub al, byte [0x437be9]
push 0x3339ffff
add byte [0x437beb], al
call fcn.0040ff1a
add byte [0x437bec], al
push 0x2ebdffff
movsx eax, word [0x437bf2]
push eax
call fcn.0040ff1a
mov word [0x437bf4], ax
mov eax, dword [ebp - 4]
add esp, 0x28
lea esi, [eax + edi*4]
lea eax, [ebp + 0xc]
push eax
push 4
push 4
push esi
push 0x5e
call fcn.0041448a
pop ecx
call eax
mov edi, eax
push 0xd2d7ffff
movsx eax, byte [0x437bec]
push eax
call fcn.0040fede
push 0xb431ffff
mov word [0x437c02], ax
push dword [0x437c10]
call fcn.0040ff4b
add dword [0x437c14], eax
push 0xa9a1ffff
push 0xca95ffff
call fcn.00410016
add esp, 0x18
mov word [0x437bf2], ax
test edi, edi
je 0x41b1e2
movsx eax, word [0x437c02]
push eax
push 0x678dffff
call fcn.0040ff1a
mov byte [0x437bf0], al
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 0x5e
call fcn.0041448a
pop ecx
call eax
cmp dword [0x437c1c], 0
push dword [0x437c2c]
setne al
mov byte [0x437be9], al
movsx eax, byte [0x437bef]
push eax
call fcn.0040fede
add byte [0x437bef], al
pop ecx
movsx ax, byte [0x437bef]
mov word [0x437bf4], ax
pop ecx
movsx eax, word [0x437bfe]
or eax, 0xa469ffff
mov dword [0x437c08], 1
add dword [0x437c28], eax
jmp 0x41b268
mov eax, dword [0x437c18]
push 0xdf87ffff
dec eax
add word [0x437c02], ax
movsx eax, byte [0x437be9]
push eax
call fcn.0040ff1a
sub dword [0x437c08], 0x22200001
pop ecx
pop ecx
mov byte [0x437beb], al
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc