Function at 0x40a1d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
and esp, 0xfffffff8
sub esp, 0xf0
lea eax, [esp + 0x58]
lea ecx, [esp + 0x70]
mov edx, dword [esp + 0xe8]
mov dword [esp + 0xe8], 0xc348562e
mov byte [esp + 0xe7], 0xae
mov si, word [esp + 0xd4]
mov edi, eax
mov dword [esp], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
mov word [esp + 0x1a], si
call fcn.00407330
lea ecx, [0x4080e0]
mov edx, dword [esp + 0x60]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x20]
or edx, 0x701f9a24
mov dword [esp + 0xe8], edx
mov dword [esp + 0xac], 0x1d000
mov edx, dword [esp + 0x20]
imul edi, edx, 0x52d4b973
mov dword [esp + 0xe8], edi
mov word [esp + 0xd4], 0x634d
mov edi, dword [esp + 0x58]
mov dword [esp + 0x38], ecx
mov word [esp + 0xd4], 0x896c
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
jmp 0x40a3b5
mov eax, dword [esp + 0x20]
xor eax, 0x29ebd633
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xe8], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop edi
pop ebx
pop esi
pop ebp
ret
lea eax, [esp + 0x70]
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0xa0]
mov esi, dword [esp + 0xd8]
mov edi, dword [esp + 0xdc]
mov ecx, dword [ecx]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x48]
add esi, 0x6824f689
adc edi, 0
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], edi
mov dword [edx], ecx
mov ecx, dword [0x42a140]
mov edx, dword [esp + 0x20]
add edx, 0xbb986409
mov dword [esp + 0xe8], edx
mov dword [esp + 0x70], ecx
mov ecx, dword [0x42a144]
mov dword [esp + 0x8c], ecx
mov ecx, dword [0x42a148]
lea edx, [esp + 0xb8]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x3c]
mov dword [edx], ecx
mov ecx, dword [0x42a14c]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x42a150]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xcc], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
call fcn.00409250
mov eax, dword [0x42a17c]
mov ecx, dword [esp + 0x20]
add ecx, 0x4d387bbb
mov dword [esp + 0xe8], ecx
mov dword [esp + 0x6c], 0xfffffffe
cmp eax, 0
je 0x40a28b
jmp 0x40a427
mov al, byte [esp + 0xd7]
xor al, 0xff
mov byte [esp + 0xd7], al
mov ecx, dword [esp + 0x40]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov edx, 0x540ce44c
mul edx
imul ecx, ecx, 0x540ce44c
add edx, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], edx
mov word [esp + 0xd4], 0xaf50
mov si, word [ecx]
mov eax, dword [esp + 0x20]
add eax, eax
mov dword [esp + 0xe8], eax
mov bl, byte [esp + 0xd7]
xor bl, 0xd
mov byte [esp + 0xd7], bl
cmp si, 0x5a4d
je 0x40a580
jmp 0x40a391
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0x6179d671
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd8]
add ecx, ecx
adc eax, eax
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], eax
mov bl, byte [esp + 0xd7]
xor bl, 0x54
mov eax, dword [edx]
mov byte [esp + 0xd7], bl
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0x5ed8210a
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd8]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
add edx, 0xf200dd86
adc ecx, 0xffffffff
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0x28], eax
mov bl, byte [esp + 0xd7]
add bl, bl
mov byte [esp + 0xd7], bl
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
xor eax, eax
mov ecx, 0x69099e3f
sub ecx, edi
sbb eax, esi
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
jb 0x40a3b5
jmp 0x40a5b3
mov al, 0xaa
lea ecx, [esp + 0x70]
mov dl, byte [esp + 0xd7]
and dl, byte [esp + 0xd7]
mov byte [esp + 0xd7], dl
add ecx, 0x34
mov dword [esp + 0x4c], ecx
mov dl, byte [esp + 0xd7]
xor dl, 0xff
mov ecx, dword [esp + 0x40]
mov byte [esp + 0xd7], dl
mov esi, dword [esp + 0x4c]
mov dl, byte [esp + 0xe7]
add dl, 0x75
mov word [esp + 0xd4], 0x89f6
mov dword [esi], ecx
mov byte [esp + 0x47], dl
mov dl, byte [esp + 0x47]
mov ecx, dword [esp + 0x2c]
add ecx, 0x50
mov byte [esp + 0xd7], 0xf1
mov dword [esp + 0x50], ecx
mov di, word [esp + 0x1a]
and di, 0x873b
mov word [esp + 0xd4], di
cmp al, dl
jae 0x40a2a9
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x3c]
add eax, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
imul ecx, ecx
mov eax, dword [eax]
mov dword [esp + 0xe8], ecx
cmp eax, 0x4550
je 0x40a4fa
jmp 0x40a391
lea eax, [esp + 0x70]
xor ecx, ecx
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x54], 0x4550
cmove ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xe8], edx
mov ecx, dword [ecx + 0x50]
mov esi, dword [esp + 0x48]
mov dword [esi], ecx
mov ecx, dword [0x42a148]
mov esi, dword [esp + 0x3c]
mov dword [esi], ecx
mov bl, byte [esp + 0xd7]
or bl, 0x5a
mov byte [esp + 0xd7], bl
mov dword [esp], eax
call fcn.00401170
mov dword [esp + 0x6c], 1
mov eax, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0xe8], eax
jmp 0x40a28b