Function at 0x4076a3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x4c
call fcn.0040ac88
add esp, 4
mov dword [ebp - 0xc], 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.0040ac88
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4e9a6a
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.0040ac88
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4e9a72
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.0040ac88
add esp, 4
mov dword [ebp - 0x10], 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.0040ac88
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.0040ac88
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.0040ac88
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4e9a7a
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.0040ac88
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 0x4077b4
pop ebx
pop ebx
mov dword [ebp - 0x14], 0
push 8
call fcn.0040ac88
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x4e9a31
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], esp
push 0
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x407822
add eax, 8
push eax
mov eax, 9
call fcn.0040ac9a
cmp dword [ebp - 0x20], esp
je 0x407849
push 0x19
push 0x4013974
push 6
call fcn.0040ac94
add esp, 0xc
mov dword [ebp - 4], eax
push reloc.WS2_32.dll_getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x407861
mov eax, 0x4e9a31
push eax
push 1
mov ebx, 0x40aef0
call fcn.0040ac8e
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x40
jge 0x40788b
mov eax, 0
jmp 0x4087c4
mov dword [ebp - 0x20], esp
push 0x40
push dword [ebp - 4]
mov eax, dword [ebp - 0xc]
push eax
push 0x40
call fcn.0040ac88
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 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, 0xa
call fcn.0040ac9a
cmp dword [ebp - 0x20], esp
je 0x4079c1
push 0x11a
push 0x4013974
push 6
call fcn.0040ac94
add esp, 0xc
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
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.0040ac7c
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 0x407a91
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x407a8f
imul eax, dword [edi]
jmp 0x407a84
mov ecx, eax
cmp ecx, 4
jle 0x407a9b
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.0040ac7c
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 0x407aee
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x407aec
imul eax, dword [edi]
jmp 0x407ae1
mov ecx, eax
cmp ecx, 0xa
jle 0x407af8
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.0040ac82
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
cmp word [ebx], 0x5a4d
je 0x407b6d
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x4e9a4a]
fstp qword [ebp - 0x38]
fild dword [ebp - 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [ebp - 0x38]
fcomp qword [0x4e9a52]
fnstsw ax
test ah, 1
je 0x407b6d
mov eax, 1
jmp 0x407b72
mov eax, 0
test eax, eax
je 0x407b84
mov eax, 0
jmp 0x4087c4
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x20], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
mov ebx, dword [ebp - 0x20]
fild dword [ebx]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
mov dword [ebp - 0x3c], esp
push 0xf8
fld qword [ebp - 0x38]
call fcn.00401021
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0xf8
call fcn.0040ac88
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 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 0x407d6d
pop ebx
add ebx, 4
pop ebx
add ebx, 4
mov eax, 0xb
call fcn.0040ac9a
cmp dword [ebp - 0x3c], esp
je 0x407dbf
push 0x248
push 0x4013974
push 6
call fcn.0040ac94
add esp, 0xc
mov ebx, dword [ebp - 0x40]
push ebx
mov edi, dword [ebp - 0x44]
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 0x407f6c
pop edi
add edi, 4
pop ebx
add ebx, 0xe0
pop edi
add edi, 4
call fcn.0040ac82
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
cmp dword [ebx], 0x4550
je 0x407fce
mov eax, 0
jmp 0x4087c4
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 0x18
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 2
mov ebx, dword [ebp - 0x20]
mov ax, word [ebx]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x40aeb0
call fcn.0040ac8e
add esp, 0x1c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40801e
mov eax, 0
jmp 0x4087c4
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0
jge 0x40805a
push 0x3e5
push 0x4013974
push 0xa
call fcn.0040ac94
add esp, 0xc
mov dword [ebp - 0x20], eax
lea ebx, [ebp - 0x24]
call fcn.0040117f
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0040ac88
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x20]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x18]
call fcn.0040117f
pop edx
test ecx, ecx
je 0x4080b2
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040ac82
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x40809b
pop edx
pop edi
test edx, edx
je 0x4080e4
mov ebx, edi
push edx
push ebx
push 0x2c
call fcn.0040ac88
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x4080bc
push dword [ebp - 0x18]
call fcn.0040ac82
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push eax
lea eax, [ebp - 0x1c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4087b7
mov ebx, dword [ebp - 0x18]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x408134
push 0x450
push 0x4013974
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x408151
push 0x450
push 0x4013974
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x24], ebx
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fmul qword [0x4e9a5a]
fstp qword [ebp - 0x34]
fild dword [ebp - 4]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x24]
fild dword [ebx]
fstp qword [ebp - 0x44]
fadd qword [ebp - 0x44]
fadd qword [ebp - 0x34]
fadd qword [0x4e9a62]
fstp qword [ebp - 0x4c]
mov dword [ebp - 0x50], esp
push 0x28
fld qword [ebp - 0x4c]
call fcn.00401021
push eax
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
push eax
push 0x28
call fcn.0040ac88
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 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 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 dword [edi], eax
add edi, 4
mov eax, 0xc
call fcn.0040ac9a
cmp dword [ebp - 0x50], esp
je 0x408258
push 0x4a2
push 0x4013974
push 6
call fcn.0040ac94
add esp, 0xc
mov ebx, dword [ebp - 0x54]
push ebx
mov edi, dword [ebp - 0x58]
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 eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0040ac82
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x408576
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x24
mov dword [ebp - 0x20], ebx
fild dword [ebp + 0xc]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
mov ebx, dword [ebp - 0x20]
fild dword [ebx]
fstp qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x38]
mov ebx, dword [ebp - 0x18]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40832b
push 0x546
push 0x4013974
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x408348
push 0x546
push 0x4013974
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fild dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x38]
fsub qword [ebp - 0x44]
fcomp qword [0x4e9a52]
fnstsw ax
test ah, 1
jne 0x408476
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x24
mov dword [ebp - 0x4c], ebx
fild dword [ebp + 0xc]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
mov ebx, dword [ebp - 0x4c]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fsub qword [ebp - 0x5c]
fstp qword [ebp - 0x64]
mov ebx, dword [ebp - 0x18]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4083be
push 0x5d6
push 0x4013974
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4083db
push 0x5d6
push 0x4013974
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x68], ebx
mov ebx, dword [ebp - 0x18]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40840f
push 0x5d6
push 0x4013974
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40842c
push 0x5d6
push 0x4013974
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x6c], ebx
mov ebx, dword [ebp - 0x68]
fild dword [ebx]
fstp qword [ebp - 0x74]
fld qword [ebp - 0x74]
mov ebx, dword [ebp - 0x6c]
fild dword [ebx]
fstp qword [ebp - 0x7c]
fadd qword [ebp - 0x7c]
fstp qword [ebp - 0x84]
fld qword [ebp - 0x64]
fsub qword [ebp - 0x84]
fcomp qword [0x4e9a52]
fnstsw ax
test ah, 1
je 0x408476
mov eax, 1
jmp 0x40847b
mov eax, 0
test eax, eax
je 0x408571
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x24
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x18]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4084b6
push 0x671
push 0x4013974
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4084d3
push 0x671
push 0x4013974
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x18]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x408507
push 0x671
push 0x4013974
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x408524
push 0x671
push 0x4013974
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x24]
fild dword [ebx]
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]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
mov ebx, dword [ebp - 0x20]
fild dword [ebx]
fstp qword [ebp - 0x50]
fsub qword [ebp - 0x50]
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00401021
jmp 0x4087c4
jmp 0x4087af
mov ebx, dword [ebp - 0x18]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40859d
push 0x701
push 0x4013974
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4085ba
push 0x701
push 0x4013974
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
cmp dword [ebp + 0xc], eax
jl 0x4086b4
mov ebx, dword [ebp - 0x18]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4085fc
push 0x74b
push 0x4013974
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x408619
push 0x74b
push 0x4013974
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x18]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40864d
push 0x74b
push 0x4013974
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40866a
push 0x74b
push 0x4013974
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fsub qword [ebp - 0x44]
fcomp qword [0x4e9a52]
fnstsw ax
test ah, 1
je 0x4086b4
mov eax, 1
jmp 0x4086b9
mov eax, 0
test eax, eax
je 0x4087af
mov ebx, dword [ebp - 0x18]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x4086e8
push 0x7c6
push 0x4013974
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x408705
push 0x7c6
push 0x4013974
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x18]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x408739
push 0x7c6
push 0x4013974
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x408756
push 0x7c6
push 0x4013974
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x20]
fild dword [ebx]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
mov ebx, dword [ebp - 0x24]
fild dword [ebx]
fstp qword [ebp - 0x34]
fsub qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x24
mov dword [ebp - 0x40], ebx
fld qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
fild dword [ebx]
fstp qword [ebp - 0x48]
fadd qword [ebp - 0x48]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.00401021
jmp 0x4087c4
pop eax
pop ebx
pop ecx
jmp 0x4080ff
add esp, 0xc
mov eax, 0
jmp 0x4087c4
push eax
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040ac82
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040ac82
add esp, 4
pop ebx
call fcn.0040ac82
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040ac82
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 0x40882d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x408829
imul eax, dword [ebx]
jmp 0x40881e
mov ecx, eax
test ecx, ecx
je 0x408848
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040ac82
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408833
call fcn.0040ac82
add esp, 4
pop ebx
call fcn.0040ac82
add esp, 4
pop ebx
call fcn.0040ac82
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x408880
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40887c
imul eax, dword [ebx]
jmp 0x408871
mov ecx, eax
test ecx, ecx
je 0x40889b
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040ac82
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x408886
call fcn.0040ac82
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10