Function at 0x42b2a0
Capabilities:
Get file size
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x58]
push 0x30
push ebx
push eax
mov edi, edx
mov dword [ebp - 4], ebx
mov esi, ecx
call fcn.004352b0
add esp, 0xc
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x42b2f0
push str.GetFileSizeEx__
push eax
push 0x11e
push str.QHImageHlp.c
call fcn.0042e040
add esp, 0x10
jmp 0x42b462
mov ecx, 0x4000
mov dword [ebp - 0x2c], 0x4000
call fcn.0042ef60
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x42b325
push 0x468ce8
push eax
push 0x223
push str.QHImageHlp.c
call fcn.0042e040
add esp, 0x10
jmp 0x42b462
lea eax, [ebp - 0x58]
mov edx, 0x40
push eax
push 0
push 0
mov ecx, edi
call fcn.0042b040
add esp, 0xc
test eax, eax
je 0x42b462
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x42b808
mov eax, dword [edi + 0x3c]
test eax, eax
jle 0x42b808
cdq
lea ecx, [ebp - 0x58]
push ecx
push edx
push eax
mov edx, 4
lea ecx, [ebp - 0x24]
call fcn.0042b040
add esp, 0xc
test eax, eax
je 0x42b462
cmp dword [ebp - 0x24], 0x4550
je 0x42b3a3
push str._rN_f
push 1
push 0x22e
push str.QHImageHlp.c
call fcn.0042e140
add esp, 0x10
jmp 0x42b462
mov eax, dword [edi + 0x3c]
mov esi, dword [ebp + 8]
lea ebx, [eax + 4]
mov dword [esi + 0xa0], 0
cmp eax, 0x110
jb 0x42b3f1
lea eax, [ebp - 0x58]
mov edx, 0x90
push eax
push 0
push 0x80
mov ecx, edi
call fcn.0042b040
add esp, 0xc
test eax, eax
je 0x42b460
cmp dword [edi], 0x82c8851f
jne 0x42b3f1
mov dword [esi + 0xa0], 0x80
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
xor eax, eax
push eax
push ebx
lea edx, [eax + 0x14]
call fcn.0042b040
add esp, 0xc
test eax, eax
je 0x42b460
add ebx, 0x14
lea ecx, [ebp - 0x58]
push ecx
mov eax, 0
lea ecx, [ebp - 0x10]
adc eax, eax
mov edx, 2
push eax
push ebx
mov dword [ebp - 8], eax
call fcn.0042b040
add esp, 0xc
test eax, eax
je 0x42b460
mov eax, dword [ebp - 0x10]
mov ecx, 0x10b
cmp ax, cx
jne 0x42b4a6
movzx eax, word [edi + 0x10]
cmp eax, 0x78
jae 0x42b498
push 0x46959c
push 1
push 0x248
push str.QHImageHlp.c
call fcn.0042e140
add esp, 0x10
xor ebx, ebx
xor esi, esi
cmp dword [ebp - 0x30], 0
je 0x42b47b
mov eax, dword [0x46fb28]
push dword [ebp - 0x30]
push eax
mov eax, dword [eax + 0x10]
call eax
add esp, 8
test ebx, ebx
je 0x42b48f
mov ecx, dword [0x46fb28]
push ebx
push ecx
mov ecx, dword [ecx + 0x10]
call ecx
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0xc], 1
mov ecx, 0xe0
jmp 0x42b4dc
mov ecx, 0x20b
cmp ax, cx
jne 0x42b7f7
movzx eax, word [edi + 0x10]
mov ecx, 0x88
cmp ax, cx
jae 0x42b4d0
push 0x46959c
push 1
push 0x24e
jmp 0x42b453
mov dword [ebp - 0xc], 0
mov ecx, 0xf0
movzx eax, ax
cmp eax, ecx
cmovb ecx, eax
movzx eax, word [edi + 2]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x42b512
lea eax, [ebp - 0x58]
mov edx, ecx
push eax
mov eax, dword [ebp - 8]
mov ecx, edi
push eax
push ebx
call fcn.0042b040
add esp, 0xc
test eax, eax
je 0x42b460
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0x40]
mov dword [esi], eax
je 0x42b56a
lea eax, [ebx + 0x80]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x80]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x84]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x10], eax
mov byte [esi + 0x9c], 0
cmp word [edi + 0x44], 1
jne 0x42b55b
mov byte [esi + 0x9d], 1
mov edx, dword [edi + 0x70]
mov eax, dword [edi + 0x74]
jmp 0x42b5b5
mov byte [esi + 0x9d], 0
mov edx, dword [edi + 0x70]
mov eax, dword [edi + 0x74]
jmp 0x42b5b5
lea eax, [ebx + 0x90]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x90]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x94]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x10], eax
mov byte [esi + 0x9c], 1
cmp word [edi + 0x44], 1
jne 0x42b5a2
mov byte [esi + 0x9d], 1
jmp 0x42b5a9
mov byte [esi + 0x9d], 0
mov edx, dword [edi + 0x80]
mov eax, dword [edi + 0x84]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
add eax, 4
mov dword [ebp - 0x20], edx
add ebx, ecx
mov dword [esi + 8], eax
mov dword [esi + 0x18], 0
adc dword [ebp - 8], 0
cmp dword [esi + 0xa0], 0
mov byte [esi + 0x9e], 0
mov dword [esi + 0xb0], ebx
je 0x42b600
cmp byte [esi + 0x9c], 0
jne 0x42b600
cmp byte [esi + 0x9d], 0
je 0x42b600
mov eax, 1
jmp 0x42b602
xor eax, eax
mov dword [ebp - 0x18], eax
test edx, edx
jne 0x42b611
test eax, eax
je 0x42b7ea
mov edx, dword [ebp - 0x14]
mov eax, 0x333
cmp dx, ax
mov dword [ebp - 0x14], 0xffff
mov ecx, 0xfffe
mov dword [ebp - 0x10], 0x333
cmova edx, eax
cmp dx, word [ebp - 0x14]
movzx eax, dx
cmovne ecx, eax
movzx eax, cx
mov dword [ebp - 0xc], eax
movzx eax, ax
lea eax, [eax + eax*4]
shl eax, 3
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.0042ef60
mov dword [ebp - 4], eax
test eax, eax
jne 0x42b67c
push 0x468ce8
push eax
push 0x289
push str.QHImageHlp.c
call fcn.0042e040
add esp, 0x10
mov ebx, dword [ebp - 4]
jmp 0x42b462
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x42b6a8
lea eax, [ebp - 0x58]
mov edx, ecx
push eax
mov eax, dword [ebp - 8]
push eax
push ebx
mov ebx, dword [ebp - 4]
mov ecx, ebx
call fcn.0042b040
add esp, 0xc
test eax, eax
je 0x42b462
mov ecx, dword [ebp - 0x14]
jmp 0x42b6ab
mov ebx, dword [ebp - 4]
add dword [esi + 0xb0], ecx
cmp dword [ebp - 0x18], 0
je 0x42b6e9
mov ecx, ebx
xor eax, eax
mov ebx, dword [ebp - 0xc]
xor edx, edx
cmp ax, bx
jae 0x42b6ec
cmp dword [ecx], 0x54494e49
jne 0x42b6d5
movzx eax, byte [ecx + 4]
test al, al
je 0x42b6e0
inc edx
add ecx, 0x28
cmp dx, bx
jb 0x42b6c5
jmp 0x42b6ec
mov byte [esi + 0x9e], 1
jmp 0x42b6ec
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push ebx
push dword [ebp - 4]
call fcn.0042b8e0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42b7ea
lea eax, [ebp - 0x58]
mov edx, 0xa
push eax
push ecx
push edi
mov ecx, ebx
call fcn.0042b830
add esp, 0xc
test eax, eax
je 0x42b7ea
mov ecx, dword [eax + 4]
cmp ecx, 0x80000000
jb 0x42b7ea
lea eax, [ebp - 0x58]
mov edx, 0x360
push eax
push ecx
and ecx, 0x7fffffff
push edi
add ecx, ebx
call fcn.0042b830
add esp, 0xc
test eax, eax
je 0x42b7ea
mov ecx, dword [eax + 4]
cmp ecx, 0x80000000
jb 0x42b7ea
lea eax, [ebp - 0x58]
xor edx, edx
push eax
push ecx
and ecx, 0x7fffffff
push edi
add ecx, ebx
call fcn.0042b830
add esp, 0xc
test eax, eax
je 0x42b7ea
mov eax, dword [eax + 4]
cmp eax, 0x80000000
jae 0x42b7ea
lea ecx, [ebp - 0x58]
add eax, ebx
push ecx
push 0
push eax
mov edx, 0x10
mov ecx, edi
call fcn.0042b040
add esp, 0xc
test eax, eax
je 0x42b674
cmp dword [edi + 4], 0x80
jne 0x42b7ea
mov eax, dword [ebp - 0xc]
mov edx, 0x80
mov ecx, dword [edi]
push eax
push dword [ebp - 4]
call fcn.0042b8e0
lea ecx, [ebp - 0x58]
mov edx, 0x80
push ecx
push 0
lea ecx, [esi + 0x1c]
push eax
call fcn.0042b040
add esp, 0x14
test eax, eax
je 0x42b674
mov dword [esi + 0x18], ebx
mov ebx, dword [ebp - 4]
mov esi, 1
jmp 0x42b464
push str._rN_e
push 1
push 0x252
jmp 0x42b453
push str._rN_f
push 1
push 0x229
push str.QHImageHlp.c
call fcn.0042e140
add esp, 0x10
jmp 0x42b462