Function at 0x4040e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0xc], 0x14
mov dword [ebp - 0x2c], 0x12
mov dword [ebp - 0x18], 0x62
mov dword [ebp - 0x28], 0x4f
mov dword [ebp - 4], 0x1c
mov dword [ebp - 0x54], 0x64
mov dword [ebp - 0x3c], 0x21
mov dword [ebp - 0x58], 0x25
mov dword [ebp - 0x40], 0x59
mov dword [ebp - 0x34], 0x37
mov dword [ebp - 0x24], 0x2a
mov dword [ebp - 0x30], 0x48
mov dword [ebp - 0x10], 0x42
mov dword [ebp - 0x4c], 0x3b
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x14], 0x1c
mov dword [ebp - 0x7c], 0x45
mov dword [ebp - 0x38], 0x64
mov dword [ebp - 0x80], 0x3e
mov dword [ebp - 0x5c], 0x5f
mov dword [ebp - 0x50], 0x2c
mov dword [ebp - 0x70], 0x50
mov dword [ebp - 0x48], 0x3f
mov dword [ebp - 0x60], 0xe
mov dword [ebp - 0x1c], 0x14
mov dword [ebp - 8], 0x39
mov dword [ebp - 0x84], 0x26
mov dword [ebp - 0x64], 0x4d
mov dword [ebp - 0x44], 0x2f
mov dword [ebp - 0x68], 0xc
mov eax, dword [ebp - 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x2c]
or ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
and ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x54]
or edx, dword [ebp - 0x18]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x3c]
xor eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0x54]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x34]
or eax, dword [ebp - 4]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x30]
or edx, dword [ebp - 4]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x4c]
and ecx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x20]
and edx, dword [ebp - 0x40]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x7c]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x80]
and eax, dword [ebp - 0x28]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x5c]
and ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x50]
xor edx, dword [ebp - 0x40]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x70]
and eax, dword [ebp - 0x20]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x48]
or ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x60]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x84]
xor edx, dword [ebp - 0x5c]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x64]
and eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x68]
xor edx, dword [ebp - 0x38]
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x1c], 0x2e
jle 0x4042ed
cmp dword [ebp - 0x60], 0x38
jle 0x4042ed
cmp dword [ebp - 0x14], 0x1c
jle 0x4042ed
mov eax, dword [ebp - 0x18]
or eax, 0x61
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x14]
add ecx, 1
mov dword [ebp + 0x14], ecx
cmp dword [ebp - 0xc], 0x43
jge 0x40432f
cmp dword [ebp - 0x64], 0x20
jne 0x40432f
cmp dword [ebp - 0x50], 1
je 0x40432f
cmp dword [ebp - 0x10], 3
jne 0x40432f
cmp dword [ebp - 0x48], 0x57
jne 0x40432f
cmp dword [ebp - 0x30], 0x2e
jle 0x40432f
cmp dword [ebp + 0x18], 0x57
jle 0x40432f
cmp dword [ebp - 0x68], 0x20
jle 0x40432f
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
cmp dword [ebp + 0x14], 0x28
jl 0x4042d2
cmp dword [ebp - 0x30], 0x48
jle 0x404344
mov eax, dword [ebp - 0x1c]
xor eax, 0x47
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x14]
add ecx, 1
mov dword [ebp + 0x14], ecx
mov edx, dword [ebp - 8]
or edx, 0x14
mov dword [ebp - 8], edx
cmp dword [ebp + 0x14], 0x29
jl 0x404335
mov eax, dword [ebp + 0x20]
sub eax, 0xa
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x28
push ecx
call fcn.004084e0
add esp, 8
cmp dword [ebp - 0x24], 0xffffffac
jge 0x404395
mov edx, dword [ebp - 0x20]
and edx, 0x32
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
and ecx, 0x30
mov dword [ebp - 4], ecx
jmp 0x404372
mov dword [ebp - 0x6c], 0
jmp 0x4043a7
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x34]
sub eax, 0x3e
cmp dword [ebp - 0x6c], eax
jge 0x4043c3
cmp dword [ebp - 0x3c], 0x4b
jle 0x4043c1
mov ecx, dword [ebp + 0x1c]
sub ecx, 1
mov dword [ebp + 0x1c], ecx
jmp 0x40439e
cmp dword [ebp - 8], 0x36
jge 0x4043f2
cmp dword [ebp + 0x20], 0xa
jle 0x4043de
cmp dword [ebp - 0x48], 0x5e
jne 0x4043de
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x4043c3
mov dword [ebp - 0x74], 0
jmp 0x404404
mov edx, dword [ebp - 0x74]
add edx, 1
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x70]
add eax, 1
cmp dword [ebp - 0x74], eax
jge 0x404420
cmp dword [ebp - 0x14], 0x54
jge 0x40441e
mov ecx, dword [ebp - 0x10]
and ecx, 0x5a
mov dword [ebp - 0x10], ecx
jmp 0x4043fb
mov edx, dword [ebp - 0x14]
add edx, 0x13
push edx
mov eax, dword [ebp - 0x38]
sub eax, 9
push eax
mov ecx, dword [ebp - 0x4c]
sub ecx, 5
push ecx
mov edx, dword [ebp - 8]
add edx, 0x14
push edx
mov eax, dword [ebp - 0x30]
add eax, 8
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x41
push ecx
mov edx, dword [ebp + 8]
sub edx, 0x22
push edx
call fcn.00437620
add esp, 0x1c
cmp dword [ebp - 0x34], 0x3e
jne 0x404468
mov eax, dword [ebp + 0x20]
add eax, 1
mov dword [ebp + 0x20], eax
mov dword [ebp - 0x78], 0
jmp 0x40447a
mov ecx, dword [ebp - 0x78]
add ecx, 1
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x38]
sub edx, 0x24
cmp dword [ebp - 0x78], edx
jge 0x4044a2
cmp dword [ebp - 0x3c], 8
jle 0x4044a0
cmp dword [ebp - 0x28], 0x63
jle 0x4044a0
cmp dword [ebp - 8], 0x21
jle 0x4044a0
mov eax, dword [ebp - 0x14]
sub eax, 0x2a
mov dword [ebp - 0x14], eax
jmp 0x404471
mov esp, ebp
pop ebp
ret