Function at 0x1010fe30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
cmp ebx, 0x40
jae 0x1010fe5e
cmp ebx, 0x10
jae 0x1010ff6e
pop edi
pop esi
mov eax, 0xfabadaff
mov edx, 0xfffabada
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1010ff6e
mov ecx, dword [esi + 0x3c]
test ecx, ecx
js 0x1010ff6e
lea eax, [ecx + 0x18]
cmp ebx, eax
jb 0x1010ff6e
lea edx, [ecx + esi]
add eax, 0xe0
cmp dword [edx], 0x4550
jne 0x1010ff6e
movzx ecx, word [edx + 4]
mov edi, 0x14c
cmp cx, di
je 0x1010feb2
mov edi, 0x8664
cmp cx, di
jne 0x1010ff6e
cmp ebx, eax
jbe 0x1010ff6e
mov eax, dword [edx + 0x28]
xor edi, edi
mov dword [ebp - 0x10], eax
xor ecx, ecx
movzx eax, word [edx + 6]
mov dword [ebp - 0x14], eax
movzx eax, word [edx + 0x14]
add edx, 0x24
add edx, eax
mov dword [ebp - 8], 0x1c
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0xc], edi
sub dword [ebp - 8], eax
mov dword [ebp - 4], ecx
nop dword [eax]
mov eax, dword [ebp - 0x14]
cmp ax, 0x3c
movzx eax, ax
jb 0x1010ff01
mov eax, 0x3c
cmp edi, eax
jge 0x1010ff54
mov eax, dword [esi + 0x3c]
mov ecx, esi
add eax, esi
sub ecx, eax
mov eax, dword [ebp - 8]
add ecx, ebx
add eax, edx
cmp eax, ecx
jae 0x1010ff3d
mov eax, dword [edx]
cmp dword [ebp - 0x10], eax
jb 0x1010ff34
cmp dword [ebp - 0xc], eax
ja 0x1010ff34
mov ecx, dword [edx + 8]
add edx, 0x28
mov dword [ebp - 0xc], eax
inc edi
mov dword [ebp - 4], ecx
jmp 0x1010fef0
mov ecx, dword [ebp - 4]
add edx, 0x28
inc edi
jmp 0x1010fef0
xorps xmm0, xmm0
pop edi
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov edx, dword [ebp - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
mov eax, 0
sub ecx, dword [ebp - 0xc]
pop edi
sbb edx, edx
add ecx, dword [ebp - 0x10]
pop esi
adc edx, eax
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi], 0x464c457f
jne 0x1010fe4d
movzx eax, byte [esi + 4]
mov ecx, eax
sub ecx, 1
je 0x1010ffa4
sub ecx, 1
jne 0x1010fe4d
cmp ebx, 0x40
jae 0x1010ffad
pop edi
pop esi
mov eax, 0xfabadaff
mov edx, 0xfffabada
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0x34
jb 0x1010fe4d
sub eax, 1
je 0x10110194
sub eax, 1
jne 0x1010fe4d
cmp word [esi + 0x10], 2
mov edi, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
jne 0x101100b9
mov eax, dword [esi + 0x20]
or eax, dword [esi + 0x24]
je 0x10110082
movzx eax, word [esi + 0x38]
mov dword [ebp - 8], eax
test ax, ax
je 0x10110082
movzx eax, ax
cdq
mov ecx, eax
mov dword [ebp - 4], edx
shld dword [ebp - 4], ecx, 3
shl ecx, 3
sub ecx, eax
mov eax, dword [ebp - 4]
sbb eax, edx
mov edx, dword [esi + 0x20]
shld eax, ecx, 3
mov dword [ebp - 4], eax
or eax, 0xffffffff
shl ecx, 3
sub eax, edx
mov dword [ebp - 0x14], eax
mov eax, 0
sbb eax, dword [esi + 0x24]
cmp eax, dword [ebp - 4]
ja 0x1011002d
jb 0x10110082
cmp dword [ebp - 0x14], ecx
jb 0x10110082
mov eax, dword [ebp - 4]
add ecx, edx
adc eax, dword [esi + 0x24]
test eax, eax
jb 0x10110040
ja 0x10110082
cmp ecx, dword [ebp + 0xc]
ja 0x10110082
mov eax, dword [ebp - 8]
add edx, esi
movzx eax, ax
xor esi, esi
test eax, eax
je 0x10110082
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
cmp ebx, dword [edx + 0x14]
jb 0x10110077
ja 0x1011005f
cmp edi, eax
jb 0x10110077
mov ecx, eax
mov eax, dword [edx + 0x2c]
add ecx, dword [edx + 0x28]
adc eax, dword [edx + 0x14]
cmp ebx, eax
jb 0x10110097
ja 0x10110074
cmp edi, ecx
jb 0x10110097
mov ecx, dword [ebp - 8]
inc esi
movzx eax, cx
add edx, 0x38
cmp esi, eax
jl 0x10110051
pop edi
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 8]
sub ecx, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
sbb eax, dword [edx + 0x14]
add ecx, edi
pop edi
adc eax, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov eax, ecx
mov edx, dword [ebp - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x28]
mov eax, ecx
or eax, dword [esi + 0x2c]
je 0x10110082
movzx eax, word [esi + 0x3c]
mov dword [ebp - 8], eax
test ax, ax
je 0x10110082
movzx eax, ax
cdq
shld edx, eax, 6
mov dword [ebp - 0xc], 0xffffffff
shl eax, 6
sub dword [ebp - 0xc], ecx
mov ecx, 0
sbb ecx, dword [esi + 0x2c]
cmp ecx, edx
ja 0x101100f7
jb 0x10110082
cmp dword [ebp - 0xc], eax
jb 0x10110082
mov ecx, dword [esi + 0x28]
add eax, ecx
mov dword [ebp - 0x14], eax
adc edx, dword [esi + 0x2c]
test edx, edx
jb 0x10110118
ja 0x10110082
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x14], eax
ja 0x10110082
mov eax, dword [ebp - 8]
lea edx, [ecx + esi]
movzx eax, ax
xor esi, esi
test eax, eax
je 0x10110082
mov ecx, dword [ebp - 8]
nop
mov eax, dword [edx + 4]
test eax, eax
je 0x10110162
cmp eax, 8
je 0x10110162
mov eax, dword [edx + 0x10]
cmp ebx, dword [edx + 0x14]
jb 0x10110162
ja 0x1011014a
cmp edi, eax
jb 0x10110162
mov ecx, eax
mov eax, dword [edx + 0x24]
add ecx, dword [edx + 0x20]
adc eax, dword [edx + 0x14]
cmp ebx, eax
jb 0x10110172
ja 0x1011015f
cmp edi, ecx
jb 0x10110172
mov ecx, dword [ebp - 8]
inc esi
movzx eax, cx
add edx, 0x40
cmp esi, eax
jl 0x10110130
jmp 0x10110082
mov ecx, dword [edx + 0x18]
sub ecx, dword [edx + 0x10]
mov eax, dword [edx + 0x1c]
sbb eax, dword [edx + 0x14]
add ecx, edi
pop edi
adc eax, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov eax, ecx
mov edx, dword [ebp - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [esi + 0x10], 2
mov edx, dword [esi + 0x18]
jne 0x1011023a
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x10110082
movzx eax, word [esi + 0x2c]
mov dword [ebp + 0xc], eax
test ax, ax
je 0x10110082
movzx edi, ax
mov eax, ecx
shl edi, 5
not eax
cmp eax, edi
jb 0x10110082
lea eax, [edi + ecx]
cmp eax, ebx
ja 0x10110082
lea eax, [ecx + esi]
mov ecx, dword [ebp + 0xc]
movzx ebx, cx
xor esi, esi
test ebx, ebx
je 0x10110082
xor ecx, ecx
nop
mov edi, dword [eax + 8]
test ecx, ecx
jb 0x10110208
ja 0x101101fd
cmp edx, edi
jb 0x10110208
mov ecx, dword [eax + 0x14]
add ecx, edi
cmp edx, ecx
jb 0x10110215
xor ecx, ecx
inc esi
add eax, 0x20
cmp esi, ebx
jl 0x101101f0
jmp 0x10110082
mov eax, dword [eax + 4]
xor ecx, ecx
sub eax, edi
pop edi
sbb ecx, ecx
add eax, edx
mov edx, 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
adc ecx, edx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x20]
test edi, edi
je 0x10110082
movzx eax, word [esi + 0x30]
test ax, ax
je 0x10110082
mov ecx, eax
lea eax, [ecx + ecx*4]
shl eax, 3
mov dword [ebp + 0xc], eax
mov eax, edi
not eax
cmp eax, dword [ebp + 0xc]
jb 0x10110082
mov eax, dword [ebp + 0xc]
add eax, edi
cmp eax, ebx
ja 0x10110082
lea eax, [edi + esi]
xor esi, esi
test ecx, ecx
je 0x10110082
mov ebx, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x101102a2
cmp ecx, 8
je 0x101102a2
mov edi, dword [eax + 0xc]
cmp edx, edi
jb 0x101102a2
mov ecx, dword [eax + 0x14]
add ecx, edi
cmp edx, ecx
jb 0x101102af
inc esi
add eax, 0x28
cmp esi, ebx
jl 0x10110286
jmp 0x10110082
mov ecx, dword [eax + 0x10]
mov esi, edx
sub esi, edi
mov dword [ebp + 0xc], 0
mov eax, 0
mov ebx, ecx
sbb eax, eax
not ebx
cmp dword [ebp + 0xc], eax
ja 0x101102db
jb 0x10110082
cmp ebx, esi
jb 0x10110082
xor eax, eax
sub ecx, edi
pop edi
sbb eax, eax
add ecx, edx
mov edx, 0
mov dword [ebp - 0x18], ecx
adc eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret