Function at 0x4592f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x22
push 0
push 0
dec ecx
jne 0x4592f9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405584
mov eax, dword [ebp - 8]
call fcn.00405584
xor eax, eax
push ebp
push 0x104e8edd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
call fcn.00408c98
mov eax, dword [ebp - 0x84]
push eax
lea edx, [ebp - 0x88]
mov eax, 0x104e8ef8
call fcn.00458058
mov eax, dword [ebp - 0x88]
pop edx
call fcn.0040567c
test eax, eax
jle 0x459381
mov eax, dword [0x10501750]
cmp byte [eax], 0
je 0x459381
lea edx, [ebp - 4]
mov eax, 0x104e8f10
call fcn.00458058
cmp dword [ebp - 4], 0
jne 0x459394
lea edx, [ebp - 4]
mov eax, 0x104e8f10
call fcn.00458058
cmp byte [0x10502f28], 0
jne 0x4593a2
call fcn.0045b300
cmp dword [ebp - 0xc], 0
je 0x459a87
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x5a4d
jne 0x459a87
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x4550
jne 0x459a87
mov eax, dword [ebp - 0x18]
mov word [eax + 0x5c], 2
lea eax, [ebp - 0x80]
mov edx, 0x44
call fcn.00433d3c
lea eax, [ebp - 0x3c]
mov edx, 0x10
call fcn.00433d3c
mov dword [ebp - 0x80], 0x44
mov word [ebp - 0x50], 0
mov dword [ebp - 0x54], 1
test ebx, ebx
je 0x459435
push 0
push 0x10000000
push 0
push 0
push 0
mov eax, ebx
call fcn.00405594
mov esi, eax
push esi
call fcn.00407a38
mov dword [ebp - 0x78], esi
cmp dword [ebp - 8], 0
je 0x45946c
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405594
push eax
push 0
call fcn.00407648
test eax, eax
je 0x459a87
jmp 0x4594f2
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405594
mov ebx, eax
push ebx
push 0
call fcn.00407648
test eax, eax
jne 0x4594f2
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
push ebx
call fcn.00407648
test eax, eax
jne 0x4594f2
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 4]
call fcn.004097d4
mov eax, dword [ebp - 0x8c]
call fcn.00405594
push eax
push ebx
call fcn.00407648
test eax, eax
je 0x459a87
lea eax, [ebp - 0x20]
call fcn.00458784
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x459a3d
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x10007
push 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 5
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xa0]
mov eax, 0x104e8f24
call fcn.00458058
mov eax, dword [ebp - 0xa0]
push eax
call fcn.0045b648
call fcn.004584e8
test al, al
je 0x4598ef
xor eax, eax
mov dword [ebp - 0x2c], eax
push 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 0xc4], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xa4]
add eax, 8
mov dword [ebp - 0xc0], eax
mov byte [ebp - 0xbc], 5
lea eax, [ebp - 0x28]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 5
mov dword [ebp - 0xb0], 4
mov byte [ebp - 0xac], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xa4], 5
lea eax, [ebp - 0xc8]
push eax
lea edx, [ebp - 0xcc]
mov eax, 0x104e8f48
call fcn.00458058
mov eax, dword [ebp - 0xcc]
push eax
call fcn.0045b648
call fcn.004584e8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
cmp eax, dword [ebp - 0x28]
jne 0x459690
push 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 5
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xd0]
mov eax, 0x104e8f6c
call fcn.00458058
mov eax, dword [ebp - 0xd0]
push eax
call fcn.0045b648
test eax, eax
jne 0x459672
push 0x40
push 0x3000
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004584f0
mov dword [ebp - 0x24], eax
jmp 0x4596b1
push 0x40
push 0x3000
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x50]
push eax
push 0
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004584f0
mov dword [ebp - 0x24], eax
jmp 0x4596b1
push 0x40
push 0x3000
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004584f0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x45980d
mov eax, dword [ebp - 0xc]
call fcn.00458888
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x34]
mov eax, dword [ebp - 0x24]
cmp edx, eax
je 0x459704
sub eax, edx
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004587c4
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x34], edx
push 0xf8
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0xc]
push eax
call fcn.0045ca10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004585cc
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004585cc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xb0], eax
push 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 5
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xd4]
mov eax, 0x104e8f90
call fcn.00458058
mov eax, dword [ebp - 0xd4]
push eax
call fcn.0045b648
push 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 5
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xd8]
mov eax, 0x104e8fb4
call fcn.00458058
mov eax, dword [ebp - 0xd8]
push eax
call fcn.0045b648
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
cmp byte [ebp + 0xc], 0
je 0x4597f4
mov edx, 0x7530
mov eax, dword [ebp - 0x3c]
call fcn.0045d2b4
cmp dword [ebp - 0xc], 0
je 0x4599d1
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406e84
pop ecx
jmp 0x4599d1
push 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xdc]
mov eax, 0x104e8fd0
call fcn.00458058
mov eax, dword [ebp - 0xdc]
push eax
call fcn.0045b648
inc dword [0x10502f4c]
cmp dword [0x10502f4c], 6
jae 0x45987e
mov al, byte [ebp + 0x10]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004592f0
mov dword [ebp - 0x10], eax
jmp 0x459a87
cmp dword [0x10502f4c], 8
jae 0x4598b3
mov al, byte [ebp + 0x10]
push eax
push 0
push 0
lea eax, [ebp - 0xe0]
call fcn.0045a054
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004592f0
mov dword [ebp - 0x10], eax
jmp 0x459a87
cmp byte [ebp + 0x10], 0
jne 0x459a87
xor eax, eax
mov dword [0x10502f4c], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xe4]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.004053e0
mov eax, dword [ebp - 0xe4]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00448670
jmp 0x459a87
push 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xe8]
mov eax, 0x104e8fd0
call fcn.00458058
mov eax, dword [ebp - 0xe8]
push eax
call fcn.0045b648
inc dword [0x10502f4c]
cmp dword [0x10502f4c], 6
jae 0x459960
mov al, byte [ebp + 0x10]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004592f0
mov dword [ebp - 0x10], eax
jmp 0x459a87
cmp dword [0x10502f4c], 8
jae 0x459995
mov al, byte [ebp + 0x10]
push eax
push 0
push 0
lea eax, [ebp - 0xec]
call fcn.0045a054
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004592f0
mov dword [ebp - 0x10], eax
jmp 0x459a87
cmp byte [ebp + 0x10], 0
jne 0x459a87
xor eax, eax
mov dword [0x10502f4c], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xf0]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.004053e0
mov eax, dword [ebp - 0xf0]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00448670
jmp 0x459a87
xor eax, eax
mov dword [ebp - 0x2c], eax
push 3
mov dword [ebp - 0x110], 0xffffffff
mov byte [ebp - 0x10c], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x108], eax
mov byte [ebp - 0x104], 5
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x100], eax
mov byte [ebp - 0xfc], 5
mov dword [ebp - 0xf8], 0x8000
mov byte [ebp - 0xf4], 0
lea eax, [ebp - 0x110]
push eax
lea edx, [ebp - 0x114]
mov eax, 0x104e8ff4
call fcn.00458058
mov eax, dword [ebp - 0x114]
push eax
call fcn.0045b648
cmp dword [ebp - 0x10], 0
jne 0x459a87
push 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x118]
mov eax, 0x104e8fd0
call fcn.00458058
mov eax, dword [ebp - 0x118]
push eax
call fcn.0045b648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x104e8ee4
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.004050dc
lea eax, [ebp - 0xf0]
mov edx, 0xa
call fcn.004050dc
lea eax, [ebp - 0xa0]
call fcn.004050b8
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.004050dc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004050dc
ret