Function at 0x579df0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0x40
call fcn.00579520
test al, al
jne 0x579e29
push 0xd
call fcn.00407f70
jmp 0x57a24b
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x5a4d
je 0x579e51
push 0xc1
call fcn.00407f70
jmp 0x57a24b
mov eax, dword [ebp + 0x14]
mov dword [eax], 2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
add eax, 0xf8
cdq
push edx
push eax
call fcn.00579520
test al, al
jne 0x579e83
push 0xd
call fcn.00407f70
jmp 0x57a24b
mov eax, dword [ebp + 0x14]
mov dword [eax], 3
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
je 0x579ec1
push 0xc1
call fcn.00407f70
jmp 0x57a24b
mov eax, dword [ebp + 0x14]
mov dword [eax], 4
mov eax, dword [ebp - 0x10]
cmp word [eax + 4], 0x14c
je 0x579ee4
push 0xc1
call fcn.00407f70
jmp 0x57a24b
mov eax, dword [ebp + 0x14]
mov dword [eax], 5
mov eax, dword [ebp - 0x10]
test byte [eax + 0x38], 1
je 0x579f05
push 0xc1
call fcn.00407f70
jmp 0x57a24b
mov eax, dword [ebp + 0x14]
mov dword [eax], 6
xor eax, eax
push ebp
push 0x57a236
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x579f2e
mov byte [ebp - 0x2d], 1
lea eax, [ebp - 0x54]
push eax
call fcn.00407de8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x50]
xor edx, edx
push edx
push eax
call fcn.005794ac
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
call fcn.005796a0
push edx
push eax
mov eax, dword [ebp - 0x50]
xor edx, edx
push edx
push eax
call fcn.005794ac
cmp edx, dword [ebp - 0x14]
jne 0x579f75
cmp eax, dword [ebp - 0x18]
je 0x579f85
push 0xc1
call fcn.00407f70
mov byte [ebp - 0x2d], 0
cmp byte [ebp - 0x2d], 0
je 0x57a21c
mov eax, dword [ebp + 0x14]
mov dword [eax], 7
push 0x18
push 0
call fcn.00407dd0
push eax
call fcn.00407e78
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x579fbb
push 0xe
call fcn.00407f70
mov byte [ebp - 0x2d], 0
cmp byte [ebp - 0x2d], 0
je 0x57a21c
mov eax, dword [ebp + 0x14]
mov dword [eax], 8
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
mov dl, 1
mov eax, dword [0x41a1ac]
call fcn.00404474
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, 0x64
call fcn.0041cdf0
mov eax, dword [ebp - 0x50]
xor edx, edx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 0x14]
mov dword [eax], 9
push 0x40
push 0x3000
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
push eax
call fcn.00407fa0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x57a07a
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xa
push 0x40
push 0x3000
mov eax, dword [ebp - 0x18]
push eax
push 0
call fcn.00407fa0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x57a07a
mov eax, dword [ebp + 0x14]
mov dword [eax], 9
push 0xe
call fcn.00407f70
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.0057a258
mov byte [ebp - 0x2d], 0
cmp byte [ebp - 0x2d], 0
je 0x57a21c
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xa
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x10]
add ecx, dword [eax + 0x54]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
call fcn.00408938
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov dword [edx + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xb
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
call fcn.00579744
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xc
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x57a11d
cmp dword [ebp - 0x28], 0
je 0x57a133
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xd
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.00579810
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xe
mov eax, dword [ebp - 8]
push eax
call fcn.00579984
test al, al
jne 0x57a158
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.0057a258
mov byte [ebp - 0x2d], 0
cmp byte [ebp - 0x2d], 0
je 0x57a21c
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xf
mov eax, dword [ebp - 8]
call fcn.00579c80
test al, al
jne 0x57a18f
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.0057a258
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57a24b
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x10
mov eax, dword [ebp - 8]
call fcn.00579d6c
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x11
cmp byte [ebp + 0x18], 0
je 0x57a206
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x57a206
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x12
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00579568
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x13
cmp dword [ebp - 0x2c], 0
je 0x57a206
push 0
push 1
mov eax, dword [ebp - 0x1c]
push eax
call dword [ebp - 0x2c]
test eax, eax
jne 0x57a206
push 0x45a
call fcn.00407f70
mov byte [ebp - 0x2d], 0
cmp byte [ebp - 0x2d], 0
je 0x57a21c
mov eax, dword [ebp - 8]
mov dword [eax + 0x14], 0xffffffff
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x57a22c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57a24b
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14