Function at 0x42530c
Capabilities:
Parse pe header

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1ac
push ebx
push esi
push edi
mov esi, ecx
push 0
lea edi, [esi + 4]
push 0x80
mov ecx, edi
call fcn.004a0ff9
push 4
pop edx
mov ecx, eax
call fcn.00482361
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0x6c], ebx
mov dword [ebp + 0x70], eax
cmp ebx, 0xffffffff
jne 0x42535b
mov ecx, edi
call fcn.004a0ff9
push eax
push 0x513024
jmp 0x425543
push 0x40
lea edx, [ebp - 0x3c]
mov ecx, ebx
call fcn.004b83dc
test eax, eax
jne 0x425536
mov eax, 0x5a4d
cmp word [ebp - 0x3c], ax
jne 0x425536
push 0
push 0
push dword [ebp]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4253ac
push dword [ebp]
push dword [edi]
push 0x512fc8
lea eax, [ebp + 0x74]
push eax
call fcn.004a1618
add esp, 0x10
jmp 0x42554f
push 0xf8
lea edx, [ebp - 0x134]
mov ecx, ebx
call fcn.004b83dc
test eax, eax
jne 0x425536
cmp dword [ebp - 0x134], 0x4550
jne 0x425536
push 0x28
lea edx, [ebp + 0x30]
mov ecx, ebx
call fcn.004b83dc
test eax, eax
je 0x4253f8
mov ecx, edi
call fcn.004a0ff9
push eax
push 0x512f88
jmp 0x425543
xor eax, eax
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x68], eax
cmp ax, word [ebp - 0x12e]
jae 0x42543e
mov eax, dword [ebp + 0x44]
cmp eax, dword [ebp + 0x58]
jbe 0x42541f
mov ecx, dword [ebp + 0x40]
add ecx, eax
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x74], ecx
push 0x28
lea edx, [ebp + 0x30]
mov ecx, ebx
call fcn.004b83dc
test eax, eax
jne 0x425475
movzx eax, word [ebp - 0x12e]
inc dword [ebp + 0x68]
cmp dword [ebp + 0x68], eax
jl 0x42540c
lea ecx, [ebp + 0x6c]
call fcn.004250a3
xor ebx, ebx
push ebx
push dword [ebp + 0x74]
mov ecx, edi
call fcn.004a0ff9
mov ecx, eax
call fcn.004f9fec
mov dword [esi], eax
cmp eax, ebx
jne 0x42548a
lea eax, [ebp + 0x74]
push 0x512f5c
push eax
call fcn.004a1618
pop ecx
pop ecx
jmp 0x42554f
mov ecx, edi
call fcn.004a0ff9
push eax
push dword [ebp + 0x68]
push 0x512f24
jmp 0x42539b
mov ecx, eax
call fcn.004fa250
test al, al
je 0x425561
lea eax, [ebp + 0x5c]
push eax
push 0x512f08
mov ecx, esi
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x60], ebx
call fcn.00425246
test al, al
je 0x425512
cmp dword [ebp + 0x64], ebx
je 0x425512
lea ecx, [ebp + 4]
call fcn.00424d7c
push ebx
lea eax, [ebp + 4]
push eax
push dword [ebp + 0x64]
mov ecx, reloc.gdiplus.dll_GdipCreateBitmapFromStream
push dword [ebp + 0x5c]
push 0xb
pop edx
call fcn.00482a9c
lea eax, [ebp + 4]
push eax
mov ecx, esi
call fcn.00424f6d
lea ecx, [ebp + 0x5c]
call fcn.004a0bd2
lea ecx, [esi + 0x38]
call fcn.004a0e99
mov ecx, eax
call fcn.0049e604
push eax
lea ecx, [esi + 0x40]
call fcn.004a101e
lea ecx, [ebp + 4]
call fcn.00424da1
mov bl, 1
jmp 0x42552a
push dword [0x895430]
lea ecx, [esi + 0x48]
call fcn.004a101e
lea ecx, [ebp + 0x5c]
call fcn.004a0bd2
xor bl, bl
lea ecx, [ebp + 0x6c]
call fcn.004250a3
mov al, bl
jmp 0x42556b
mov ecx, edi
call fcn.004a0ff9
push eax
push 0x512ed8
lea eax, [ebp + 0x74]
push eax
call fcn.004a1618
add esp, 0xc
push dword [eax]
lea ecx, [esi + 0x48]
call fcn.004a101e
lea ecx, [ebp + 0x74]
call fcn.004a0c7d
lea ecx, [ebp + 0x6c]
call fcn.004250a3
xor al, al
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret