Function at 0x406a8d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x4c
call fcn.0040830f
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x13
rep stosd dword es:[edi], eax
add ebx, 0x38
push ebx
push 0x10
call fcn.0040830f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x670866
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add ebx, 0xc
push ebx
push 0x1c
call fcn.0040830f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x67086e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
push 0xc
call fcn.0040830f
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
add ebx, 4
push ebx
push 0x1c
call fcn.0040830f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
pop ebx
add ebx, 4
push ebx
push 0x7c
call fcn.0040830f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x1f
rep stosd dword es:[edi], eax
add ebx, 0x78
push ebx
push 0x48
call fcn.0040830f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x670876
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 0x10
push ecx
push ebx
push 8
call fcn.0040830f
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x406b90
pop ebx
pop ebx
mov dword [ebp - 0xc], 0
push 0x2c
call fcn.0040830f
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], esp
push 0x40
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push eax
push 0x40
call fcn.0040830f
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 4
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xa
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, 3
call fcn.00408321
cmp dword [ebp - 0x28], esp
je 0x406d2f
push 6
call fcn.0040831b
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 2
mov eax, 2
call fcn.00408309
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x406dff
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x406dfd
imul eax, dword [edi]
jmp 0x406df2
mov ecx, eax
cmp ecx, 4
jle 0x406e09
mov ecx, 4
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 2
mov eax, 2
call fcn.00408309
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x406e5c
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x406e5a
imul eax, dword [edi]
jmp 0x406e4f
mov ecx, eax
cmp ecx, 0xa
jle 0x406e66
mov ecx, 0xa
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x14
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00408315
add esp, 4
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp word [ebx], 0x5a4d
jne 0x40789d
mov ebx, dword [ebp - 4]
add ebx, 0x48
mov dword [ebp - 0x28], ebx
fild dword [ebp + 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov dword [ebp - 0x44], esp
push 0xf8
fld qword [ebp - 0x40]
call fcn.00401af7
push eax
mov eax, dword [ebp - 8]
push eax
push 0xf8
call fcn.0040830f
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ecx, 0x10
mov ebx, dword [ebx]
add ebx, 8
push ebx
push ecx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop ebx
add ebx, 4
dec ecx
jne 0x407083
pop ebx
add ebx, 4
pop ebx
add ebx, 4
mov eax, 4
call fcn.00408321
cmp dword [ebp - 0x44], esp
je 0x4070cb
push 6
call fcn.0040831b
add esp, 4
mov ebx, dword [ebp - 0x48]
push ebx
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0x14
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
mov ecx, 0x10
add edi, 8
push ebx
push edi
push ecx
mov edi, dword [edi]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop edi
pop ebx
add edi, 4
add ebx, 8
dec ecx
jne 0x407278
pop edi
add edi, 4
pop ebx
add ebx, 0xe0
pop edi
add edi, 4
call fcn.00408315
add esp, 4
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0x4550
jne 0x40789d
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 0x78]
call fcn.0040176b
mov eax, 0
cmp eax, ecx
jl 0x4072f4
push 1
call fcn.0040831b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0
je 0x40789d
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 0x78]
call fcn.0040176b
mov eax, 0
cmp eax, ecx
jl 0x407331
push 1
call fcn.0040831b
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], esp
push 0x28
fld qword [ebp - 0x3c]
call fcn.00401af7
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0x28
call fcn.0040830f
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, 0x10
call fcn.00408321
cmp dword [ebp - 0x40], esp
je 0x407410
push 6
call fcn.0040831b
add esp, 4
mov ebx, dword [ebp - 0x44]
push ebx
mov edi, dword [ebp - 0x48]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00408315
add esp, 4
mov ebx, dword [ebp - 0x10]
add ebx, 0x24
mov dword [ebp - 0x28], ebx
fild dword [ebp + 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
mov dword [ebp - 0x44], esp
push 4
fld qword [ebp - 0x40]
call fcn.00401af7
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0xd
call fcn.00408321
cmp dword [ebp - 0x44], esp
je 0x4074e0
push 6
call fcn.0040831b
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.00401af7
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x28
mov dword [ebp - 0x28], ebx
fild dword [ebp + 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00401af7
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x407540
mov eax, 0x492efb
push eax
push 1
mov ebx, 0x408ad0
call fcn.00408327
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x408e70
call fcn.00408327
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
push eax
push dword [ebp - 0x28]
call fcn.0040128f
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4075a4
push ebx
call fcn.00408315
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x4076a0
mov ebx, dword [ebp - 0x10]
add ebx, 0x14
mov dword [ebp - 0x28], ebx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x38]
fsub qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00401af7
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x18
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
cmp dword [ebp - 0x1c], eax
jg 0x407601
cmp dword [ebp - 0x1c], 0
jl 0x407601
mov eax, 1
jmp 0x407603
xor eax, eax
test eax, eax
je 0x40769b
mov ebx, dword [ebp - 0x10]
add ebx, 0x20
mov dword [ebp - 0x28], ebx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x67088e]
fstp qword [ebp - 0x38]
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x48]
fadd qword [ebp - 0x48]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x50]
mov dword [ebp - 0x54], esp
push 4
fld qword [ebp - 0x50]
call fcn.00401af7
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0xd
call fcn.00408321
cmp dword [ebp - 0x54], esp
je 0x407671
push 6
call fcn.0040831b
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x40769b
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.00401af7
mov dword [ebp - 0x20], eax
jmp 0x40789d
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebp - 0x10]
add ebx, 0x1c
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x40789a
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x4094e0
call fcn.00408327
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4076f5
push ebx
call fcn.00408315
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push 2
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xd
call fcn.00408321
cmp dword [ebp - 0x28], esp
je 0x407724
push 6
call fcn.0040831b
add esp, 4
mov ebx, dword [ebp - 0x10]
add ebx, 0x18
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
cmp dword [ebp - 0x1c], eax
jg 0x40774c
cmp dword [ebp - 0x1c], 0
jl 0x40774c
mov eax, 1
jmp 0x40774e
xor eax, eax
test eax, eax
je 0x407840
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x407775
mov eax, 0x492efb
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x40778b
mov eax, 0x492efb
push eax
push 3
mov ebx, 0x408c00
call fcn.00408327
add esp, 0x28
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x407840
mov ebx, dword [ebp - 0x10]
add ebx, 0x20
mov dword [ebp - 0x28], ebx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x67088e]
fstp qword [ebp - 0x38]
fild dword [ebp + 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x48]
fadd qword [ebp - 0x48]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x50]
mov dword [ebp - 0x54], esp
push 4
fld qword [ebp - 0x50]
call fcn.00401af7
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0xd
call fcn.00408321
cmp dword [ebp - 0x54], esp
je 0x407811
push 6
call fcn.0040831b
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x407840
fild dword [ebp + 8]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.00401af7
mov dword [ebp - 0x20], eax
jmp 0x40789a
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x407853
mov eax, 0x492efb
push eax
push 1
mov ebx, 0x4086d0
call fcn.00408327
add esp, 0x10
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fild dword [ebp - 0x28]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fadd qword [0x67085e]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00401af7
mov dword [ebp - 0x14], eax
add dword [ebp - 0x18], 2
pop eax
pop ecx
jmp 0x4076b7
add esp, 8
mov eax, dword [ebp - 0x20]
jmp 0x4078a5
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00408315
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00408315
add esp, 4
pop ebx
call fcn.00408315
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00408315
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x78
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40790e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40790a
imul eax, dword [ebx]
jmp 0x4078ff
mov ecx, eax
test ecx, ecx
je 0x407929
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00408315
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x407914
call fcn.00408315
add esp, 4
pop ebx
call fcn.00408315
add esp, 4
pop ebx
call fcn.00408315
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00408315
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40795f
push ebx
call fcn.00408315
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8