Function at 0x631920
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [ebp + 8], 0
jne 0x631936
mov eax, 0xfffffff9
jmp 0x631b83
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x631954
or eax, 0xffffffff
jmp 0x631b83
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0x4550
je 0x631975
mov eax, 0xfffffffe
jmp 0x631b83
push 4
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
call fcn.006386e7
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x63199c
mov eax, 0xfffffffd
jmp 0x631b83
push 4
mov edx, dword [ebp - 0x20]
xor eax, eax
mov ax, word [edx + 6]
push eax
call fcn.006386e7
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x6319c3
mov eax, 0xfffffffc
jmp 0x631b83
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 0x14]
mov eax, dword [ebp - 0x20]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], 0
jmp 0x6319e8
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x28], ecx
jge 0x631a1f
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
jmp 0x6319df
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x80]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 6]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00631630
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x631a5f
mov eax, 0xfffffffb
jmp 0x631b83
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00631fe0
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00631c00
add esp, 0x14
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x631aac
mov eax, 0xfffffffa
jmp 0x631b83
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov cx, word [eax + 6]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00631630
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x631b18
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + 6]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00632090
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x631b16
mov eax, 0xfffffff7
jmp 0x631b83
jmp 0x631b1f
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
je 0x631b2d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x631b3b
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
cmp dword [ebp + 0x14], 0
je 0x631b49
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
cmp dword [ebp + 0x18], 0
je 0x631b57
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp + 0x1c], 0
je 0x631b65
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
cmp dword [ebp + 0x24], 0
je 0x631b73
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
cmp dword [ebp + 0x20], 0
je 0x631b81
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret