Function at 0x40d1d7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x4c
call fcn.0041f82a
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.0041f82a
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4da5bf
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.0041f82a
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4da5c7
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.0041f82a
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.0041f82a
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.0041f82a
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.0041f82a
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4da5cf
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.0041f82a
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 0x40d2e8
pop ebx
pop ebx
push 8
call fcn.0041f82a
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x4d2228
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
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 0
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x40d364
add eax, 8
push eax
mov eax, 0x27
call fcn.0041f836
cmp dword [ebp - 0x28], esp
je 0x40d381
push 6
call fcn.0041f830
add esp, 4
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 0x40d399
mov eax, 0x4d2228
push eax
push 1
mov ebx, 0x41ff30
call fcn.0041f824
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x40
jge 0x40d3c3
mov eax, 0
jmp 0x40e642
mov dword [ebp - 0x28], esp
push 0x40
push dword [ebp - 4]
mov eax, dword [ebp - 0xc]
push eax
push 0x40
call fcn.0041f82a
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, 0x28
call fcn.0041f836
cmp dword [ebp - 0x28], esp
je 0x40d4ef
push 6
call fcn.0041f830
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.0041f818
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 0x40d5bf
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40d5bd
imul eax, dword [edi]
jmp 0x40d5b2
mov ecx, eax
cmp ecx, 4
jle 0x40d5c9
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.0041f818
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 0x40d61c
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40d61a
imul eax, dword [edi]
jmp 0x40d60f
mov ecx, eax
cmp ecx, 0xa
jle 0x40d626
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.0041f81e
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp word [ebx], 0x5a4d
je 0x40d664
mov eax, 0
jmp 0x40e642
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 [0x4da5a7]
fstp qword [ebp - 0x38]
fild dword [ebp - 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [ebp - 0x38]
fcomp qword [0x4d9b26]
fnstsw ax
test ah, 1
je 0x40d6a8
mov eax, 0
jmp 0x40e642
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x28], ebx
fild dword [ebp - 4]
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.00401c31
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0xf8
call fcn.0041f82a
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 0x40d891
pop ebx
add ebx, 4
pop ebx
add ebx, 4
mov eax, 0x29
call fcn.0041f836
cmp dword [ebp - 0x44], esp
je 0x40d8d9
push 6
call fcn.0041f830
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 0x40da86
pop edi
add edi, 4
pop ebx
add ebx, 0xe0
pop edi
add edi, 4
call fcn.0041f81e
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0x4550
je 0x40dae8
mov eax, 0
jmp 0x40e642
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 0x18
mov dword [ebp - 0x28], ebx
push 0x80000301
push 0
push 2
mov ebx, dword [ebp - 0x28]
mov ax, word [ebx]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x41fcf0
call fcn.0041f824
add esp, 0x1c
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x40db38
mov eax, 0
jmp 0x40e642
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fmul qword [0x4da5af]
fstp qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fadd qword [ebp - 0x3c]
fadd qword [0x4da5a7]
fstp qword [ebp - 0x4c]
fild dword [ebp - 8]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fsub qword [ebp - 0x4c]
fcomp qword [0x4d9b26]
fnstsw ax
test ah, 1
je 0x40dba7
mov eax, 0
jmp 0x40e642
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], 1
mov ebx, dword [ebp - 0x28]
mov ax, word [ebx]
cwde
cmp eax, 0
jge 0x40dbd3
push 0xa
call fcn.0041f830
add esp, 4
mov dword [ebp - 0x2c], eax
lea ebx, [ebp - 0x30]
call fcn.00401c11
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0041f82a
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x2c]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x14]
call fcn.00401c11
pop edx
test ecx, ecx
je 0x40dc38
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f81e
add esp, 4
pop ebx
call fcn.0041f81e
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x40dc14
pop edx
pop edi
test edx, edx
je 0x40dc8a
mov ebx, edi
push edx
push ebx
push 0x28
call fcn.0041f82a
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push ebx
push 0x10
call fcn.0041f82a
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4da5b7
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
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x40dc42
push dword [ebp - 0x14]
call fcn.0041f81e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [0x4d9a3b]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.00401c31
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40e11d
mov ebx, dword [ebp - 0x14]
call fcn.00401c11
push ebx
push ecx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4d9a3b]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401c31
dec eax
jns 0x40dd16
push 4
call fcn.0041f830
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40dd29
push 1
call fcn.0041f830
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x3c], ebx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fmul qword [0x4da5af]
fstp qword [ebp - 0x4c]
fild dword [ebp - 4]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
mov ebx, dword [ebp - 0x3c]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fadd qword [ebp - 0x5c]
fadd qword [ebp - 0x4c]
fadd qword [0x4da5a7]
fstp qword [ebp - 0x64]
mov dword [ebp - 0x68], esp
push 0x28
fld qword [ebp - 0x64]
call fcn.00401c31
push eax
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
push eax
push 0x28
call fcn.0041f82a
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], eax
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
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, 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, 0x2a
call fcn.0041f836
cmp dword [ebp - 0x68], esp
je 0x40de28
push 6
call fcn.0041f830
add esp, 4
mov ebx, dword [ebp - 0x6c]
push ebx
mov edi, dword [ebp - 0x70]
push ebx
push edi
push 1
mov eax, 2
call fcn.0041f818
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 0x40de5e
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40de5c
imul eax, dword [edi]
jmp 0x40de51
mov ecx, eax
cmp ecx, 8
jle 0x40de68
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
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.0041f81e
add esp, 4
mov ebx, dword [ebp - 0x14]
call fcn.00401c11
push ebx
push ecx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4d9a3b]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401c31
dec eax
jns 0x40df0c
push 4
call fcn.0041f830
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40df1f
push 1
call fcn.0041f830
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x38], ebx
push 0x80000301
push 0
push 0xffff
push 0x80000301
push 0
mov ebx, dword [ebp - 0x38]
push dword [ebx]
push 2
mov ebx, 0x41fcf0
call fcn.0041f824
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
call fcn.00401c11
push ebx
push ecx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4d9a3b]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401c31
dec eax
jns 0x40df8d
push 4
call fcn.0041f830
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40dfa0
push 1
call fcn.0041f830
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x14]
call fcn.00401c11
push ebx
push ecx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x4d9a3b]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00401c31
dec eax
jns 0x40dfe1
push 4
call fcn.0041f830
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40dff4
push 1
call fcn.0041f830
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x4c]
cmp dword [ebx], eax
mov eax, 0
setg al
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x14]
call fcn.00401c11
push ebx
push ecx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fadd qword [0x4d9a3b]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
call fcn.00401c31
dec eax
jns 0x40e048
push 4
call fcn.0041f830
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e05b
push 1
call fcn.0041f830
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x64], ebx
cmp dword [ebp - 0x50], 0
je 0x40e07c
mov ebx, dword [ebp - 0x64]
mov eax, dword [ebx]
jmp 0x40e07f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x38]
fild dword [ebx]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
fild dword [ebp - 0x68]
fstp qword [ebp - 0x78]
fadd qword [ebp - 0x78]
fstp qword [ebp - 0x80]
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x28
mov dword [ebp - 0x84], ebx
mov ebx, dword [ebp - 0x84]
push dword [ebx]
fld qword [ebp - 0x80]
call fcn.00401c31
push eax
call fcn.0040e735
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebx]
cmp dword [ebp - 0x20], eax
mov eax, 0
setg al
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x30], 0
je 0x40e10a
mov eax, dword [ebp - 0x20]
jmp 0x40e10f
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x28]
mov dword [ebx], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x40dcd5
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0
jne 0x40e142
mov eax, 0
jmp 0x40e642
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x24
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
mov ebx, dword [ebp - 0x28]
push dword [ebx]
call fcn.0040e7b6
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x40e180
mov eax, 0
jmp 0x40e642
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fmul qword [0x4da5af]
fstp qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fadd qword [ebp - 0x3c]
fadd qword [0x4da5a7]
fstp qword [ebp - 0x4c]
mov dword [ebp - 0x50], esp
fld qword [ebp - 0x4c]
call fcn.00401c31
push eax
push dword [ebp - 4]
push dword [ebp - 0x24]
mov eax, 0x2b
call fcn.0041f836
cmp dword [ebp - 0x50], esp
je 0x40e1f6
push 6
call fcn.0041f830
add esp, 4
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov ax, word [ebx]
cwde
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40e3e9
mov ebx, dword [ebp - 0x14]
call fcn.00401c11
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x40e23d
push 4
call fcn.0041f830
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e250
push 1
call fcn.0041f830
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0
jle 0x40e2b9
mov ebx, dword [ebp - 0x14]
call fcn.00401c11
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x40e286
push 4
call fcn.0041f830
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e299
push 1
call fcn.0041f830
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], 0
je 0x40e2b9
mov eax, 1
jmp 0x40e2be
mov eax, 0
test eax, eax
je 0x40e3e1
mov ebx, dword [ebp - 0x14]
call fcn.00401c11
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x40e2e3
push 4
call fcn.0041f830
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e2f6
push 1
call fcn.0041f830
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x28], ebx
fild dword [ebp - 0x24]
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 ebx, dword [ebp - 0x14]
call fcn.00401c11
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x40e337
push 4
call fcn.0041f830
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e34a
push 1
call fcn.0041f830
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x44], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
mov ebx, dword [ebp - 0x44]
fild dword [ebx]
fstp qword [ebp - 0x54]
fadd qword [ebp - 0x54]
fstp qword [ebp - 0x5c]
mov ebx, dword [ebp - 0x14]
call fcn.00401c11
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x40e38b
push 4
call fcn.0041f830
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40e39e
push 1
call fcn.0041f830
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], esp
mov ebx, dword [ebp - 0x60]
push dword [ebx]
fld qword [ebp - 0x5c]
call fcn.00401c31
push eax
fld qword [ebp - 0x40]
call fcn.00401c31
push eax
mov eax, 0x2b
call fcn.0041f836
cmp dword [ebp - 0x64], esp
je 0x40e3e1
push 6
call fcn.0041f830
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x40e212
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 0x78]
call fcn.00401c11
mov eax, 5
cmp eax, ecx
jl 0x40e410
push 1
call fcn.0041f830
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
jle 0x40e435
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call fcn.0040e8a1
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 0x78]
call fcn.00401c11
mov eax, 1
cmp eax, ecx
jl 0x40e459
push 1
call fcn.0041f830
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0
jle 0x40e4a1
push dword [ebp + 0x14]
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call fcn.0040ece9
and eax, 1
xor eax, 1
test eax, eax
je 0x40e4a1
push dword [ebp - 0x24]
call fcn.0040f16e
mov eax, 0
jmp 0x40e642
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 0x18
mov dword [ebp - 0x28], ebx
push 0x80000301
push 0
push 0x2000
mov ebx, dword [ebp - 0x28]
mov ax, word [ebx]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x41fcf0
call fcn.0041f824
add esp, 0x1c
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40e63a
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x18
mov dword [ebp - 0x28], ebx
fild dword [ebp - 0x24]
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], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
push 1
push 0
push 1
push 1
push 1
push 0
fld qword [ebp - 0x40]
call fcn.00401c31
push eax
call fcn.0040135b
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x40e63a
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x18
mov dword [ebp - 0x28], ebx
fild dword [ebp - 0x24]
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], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
push 1
push 0
push 1
push 0
push 1
push 0
fld qword [ebp - 0x40]
call fcn.00401c31
push eax
call fcn.0040135b
push dword [ebp - 0x24]
call fcn.0040f16e
mov eax, 0
jmp 0x40e642
mov eax, dword [ebp - 0x24]
jmp 0x40e642
push eax
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f81e
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f81e
add esp, 4
pop ebx
call fcn.0041f81e
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f81e
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 0x40e6ab
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e6a7
imul eax, dword [ebx]
jmp 0x40e69c
mov ecx, eax
test ecx, ecx
je 0x40e6c6
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f81e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e6b1
call fcn.0041f81e
add esp, 4
pop ebx
call fcn.0041f81e
add esp, 4
pop ebx
call fcn.0041f81e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40e6fe
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40e6fa
imul eax, dword [ebx]
jmp 0x40e6ef
mov ecx, eax
test ecx, ecx
je 0x40e726
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f81e
add esp, 4
pop ebx
call fcn.0041f81e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40e704
call fcn.0041f81e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14