Function at 0x41ad9b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x7d2bffff
push dword [0x438c10]
call fcn.0041020b
mov ebx, dword [ebp + 0x10]
add word [0x438bf6], ax
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x41ae79
mov eax, dword [0x438c20]
push dword [ebp + 8]
and eax, dword [0x438c10]
or byte [0x438be8], 0xff
add dword [0x438c0c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
xor eax, eax
cmp byte [0x438be9], al
mov esi, 0x80000000
setne al
cmp edi, esi
mov word [0x438c00], ax
jb 0x41ae21
cmp edi, 0xc0000000
jae 0x41ae21
push 0x4d
call fcn.004146c6
pop ecx
call eax
test esi, eax
jne 0x41ae79
push dword [0x438c08]
push 0xcc01ffff
call fcn.00410167
pop ecx
mov dword [0x438c28], eax
pop ecx
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xe455ffff
mov dword [ebp + 0x10], eax
push dword [0x438c24]
call fcn.0041020b
add byte [0x438bee], al
push 0x7bb1ffff
push 0x4c6bffff
call fcn.00410285
add esp, 0x10
cmp dword [ebp + 0x10], 0
mov word [0x438bf6], ax
jne 0x41ae80
xor eax, eax
jmp 0x41b2af
push dword [0x438c18]
push 0xb6bdffff
call fcn.00410246
pop ecx
mov byte [0x438beb], al
pop ecx
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xc0000000
cmp eax, esi
jne 0x41aeb4
push edi
call fcn.0041b2b6
mov edi, eax
pop ecx
mov dword [ebp + 8], edi
jmp 0x41aeb7
mov dword [ebp + 8], edi
push 0xcb21ffff
push dword [0x438c2c]
call fcn.00410092
pop ecx
mov word [0x438bfa], ax
pop ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x40
push edi
mov byte [0x438bee], al
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x41b2ac
push dword [0x438c24]
push 0xc75ffff
call fcn.0041003a
pop ecx
mov byte [0x438bf1], al
cmp word [edi], 0x5a4d
pop ecx
jne 0x41b2ac
push dword [0x438c14]
push 0x5951ffff
call fcn.00410285
mov word [0x438bf8], ax
push dword [edi + 0x3c]
push edi
call fcn.00419e5e
mov esi, eax
movsx eax, byte [0x438bed]
push eax
push 0x840fffff
call fcn.00410130
mov dword [0x438c1c], eax
push 0xefcbffff
movsx eax, byte [0x438be9]
push eax
call fcn.004100c8
add esp, 0x20
mov dword [0x438c2c], eax
push 0xf8
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x41b2ac
movsx eax, byte [0x438bed]
push eax
push dword [0x438c20]
call fcn.00410092
push 0xb9cfffff
push 0xd43bffff
mov word [0x438bf4], ax
call fcn.004100c8
add byte [0x438bec], al
push 0x983bffff
push 0x74bbffff
call fcn.0041003a
add esp, 0x18
mov byte [0x438bec], al
cmp dword [esi], 0x4550
jne 0x41b2ac
push 0x5a6dffff
push dword [0x438c2c]
call fcn.00410167
mov dword [0x438c1c], eax
push dword [esi + 0x78]
push edi
call fcn.00419e5e
or word [0x438bfe], 0xffff
mov esi, eax
xor edi, edi
inc byte [0x438bef]
push dword [esi + 0x1c]
push dword [ebp + 8]
call fcn.00419e5e
mov dword [ebp - 4], eax
push 0xb201ffff
movsx eax, word [0x438c04]
push eax
call fcn.00410092
add byte [0x438bee], al
add esp, 0x20
cmp dword [esi + 0x14], edi
jbe 0x41b0c5
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
push dword [0x438c14]
push 0x329fffff
call fcn.00410246
mov byte [0x438bee], al
mov al, byte [0x438c1c]
sub byte [0x438beb], al
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call fcn.00419e5e
mov dword [ebp - 8], eax
movsx eax, byte [0x438bec]
push eax
push dword [0x438c14]
call fcn.0041020b
add dword [0x438c2c], eax
push 0xb539ffff
push 0x9a61ffff
call fcn.00410167
add word [0x438bfa], ax
mov eax, dword [ebp + 0x10]
add esp, 0x20
cmp dword [ebp - 8], eax
je 0x41b0c5
push 0x38fdffff
push 0xc9a9ffff
call fcn.00410285
add byte [0x438beb], al
add dword [ebp + 0xc], 4
inc edi
pop ecx
mov dword [0x438c28], 1
cmp edi, dword [esi + 0x14]
pop ecx
jb 0x41b02c
movsx eax, word [0x438bfa]
push 0xc49ffff
push eax
call fcn.004101be
add dword [0x438c0c], eax
mov edx, dword [0x438c10]
movsx eax, byte [0x438bef]
push dword [0x438c0c]
mov ecx, eax
and ecx, 0x1a3ffff
mov byte [0x438bec], 1
add dword [0x438c18], ecx
push eax
movsx cx, byte [0x438bea]
sub edx, ecx
mov word [0x438bf6], dx
call fcn.00410246
add byte [0x438bec], al
add esp, 0x10
cmp edi, dword [esi + 0x14]
jae 0x41b247
push 0x4e21ffff
push 0x59c3ffff
call fcn.00410167
push 0x716bffff
push 0x1b35ffff
mov byte [0x438bf0], al
call fcn.004101be
add byte [0x438be9], al
sub ebx, dword [ebp + 8]
movsx eax, byte [0x438bf0]
dec word [0x438bfe]
push eax
push 0x45fdffff
call fcn.00410246
add word [0x438c02], ax
push 0xc685ffff
push dword [0x438c20]
call fcn.00410130
add byte [0x438bf0], al
or al, 0xff
sub al, byte [0x438c2c]
add esp, 0x20
or word [0x438c00], 0xffff
and dword [ebp + 0xc], 0
add byte [0x438bee], al
mov eax, dword [ebp - 4]
lea esi, [eax + edi*4]
lea eax, [ebp + 0xc]
push eax
push 4
push 4
push esi
push 0x5e
call fcn.004146c6
pop ecx
call eax
mov ecx, dword [0x438c2c]
neg ecx
test eax, eax
mov word [0x438c04], cx
je 0x41b21c
cmp byte [0x438bf1], 0
je 0x41b1f7
cmp byte [0x438bee], 0
je 0x41b1f7
mov dword [0x438c08], 1
jmp 0x41b1fe
and dword [0x438c08], 0
lea eax, [ebp + 0xc]
add word [0x438bf8], 0xfffe
push eax
mov dword [esi], ebx
push dword [ebp + 0xc]
push 4
push esi
push 0x5e
call fcn.004146c6
pop ecx
call eax
movsx eax, word [0x438bf8]
dec byte [0x438bf1]
push 0x32bfffff
push eax
call fcn.00410246
add dword [0x438c2c], eax
pop ecx
pop ecx
mov word [0x438c00], 1
jmp 0x41b2ac
movsx eax, word [0x438bfc]
push eax
push 0xda83ffff
call fcn.00410285
add byte [0x438bef], al
movsx eax, word [0x438bf8]
or eax, 0x3213ffff
mov word [0x438bf8], 1
add dword [0x438c20], eax
dec byte [0x438beb]
movsx eax, word [0x438bf2]
push eax
movsx eax, word [0x438bfc]
push eax
call fcn.004101be
mov byte [0x438bef], al
mov eax, dword [0x438c0c]
add esp, 0x10
add eax, 0x66bc0001
mov dword [0x438c1c], eax
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc