Function at 0x402ca2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x4c
call fcn.0041f9d7
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.0041f9d7
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4b8496
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.0041f9d7
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4b849e
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.0041f9d7
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.0041f9d7
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.0041f9d7
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.0041f9d7
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4b84a6
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.0041f9d7
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 0x402db3
pop ebx
pop ebx
push 8
call fcn.0041f9d7
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x4cdeb6
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], esp
push 0
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x402e28
add eax, 8
push eax
mov eax, 6
call fcn.0041f9e9
cmp dword [ebp - 0x24], esp
je 0x402e45
push 6
call fcn.0041f9e3
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 0x402e5d
mov eax, 0x4cdeb6
push eax
push 1
mov ebx, 0x420080
call fcn.0041f9dd
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x40
jge 0x402e87
mov eax, 0
jmp 0x40411f
mov dword [ebp - 0x24], esp
push 0x40
push dword [ebp - 4]
mov eax, dword [ebp - 0xc]
push eax
push 0x40
call fcn.0041f9d7
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 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, 0
call fcn.0041f9e9
cmp dword [ebp - 0x24], esp
je 0x402fb3
push 6
call fcn.0041f9e3
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov edi, dword [ebp - 0x2c]
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.0041f9cb
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 0x403083
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x403081
imul eax, dword [edi]
jmp 0x403076
mov ecx, eax
cmp ecx, 4
jle 0x40308d
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.0041f9cb
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 0x4030e0
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4030de
imul eax, dword [edi]
jmp 0x4030d3
mov ecx, eax
cmp ecx, 0xa
jle 0x4030ea
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.0041f9d1
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp word [ebx], 0x5a4d
je 0x403128
mov eax, 0
jmp 0x40411f
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
fild dword [ebx]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fadd qword [0x4cdebe]
fstp qword [ebp - 0x34]
fild dword [ebp - 8]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fsub qword [ebp - 0x34]
fcomp qword [0x4cdec6]
fnstsw ax
test ah, 1
je 0x40316c
mov eax, 0
jmp 0x40411f
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x24], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
mov ebx, dword [ebp - 0x24]
fild dword [ebx]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], esp
push 0xf8
fld qword [ebp - 0x3c]
call fcn.0040114c
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0xf8
call fcn.0041f9d7
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
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 0x403355
pop ebx
add ebx, 4
pop ebx
add ebx, 4
mov eax, 1
call fcn.0041f9e9
cmp dword [ebp - 0x40], esp
je 0x40339d
push 6
call fcn.0041f9e3
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
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 0x40354a
pop edi
add edi, 4
pop ebx
add ebx, 0xe0
pop edi
add edi, 4
call fcn.0041f9d1
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0x4550
je 0x4035ac
mov eax, 0
jmp 0x40411f
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 0x18
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 2
mov ebx, dword [ebp - 0x24]
mov ax, word [ebx]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x41fe40
call fcn.0041f9dd
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4035fc
mov eax, 0
jmp 0x40411f
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x24], ebx
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]
fmul qword [0x4cdece]
fstp qword [ebp - 0x38]
mov ebx, dword [ebp - 0x24]
fild dword [ebx]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fadd qword [0x4cdebe]
fstp qword [ebp - 0x48]
fild dword [ebp - 8]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fsub qword [ebp - 0x48]
fcomp qword [0x4cdec6]
fnstsw ax
test ah, 1
je 0x40366b
mov eax, 0
jmp 0x40411f
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], 1
mov ebx, dword [ebp - 0x24]
mov ax, word [ebx]
cwde
cmp eax, 0
jge 0x403697
push 0xa
call fcn.0041f9e3
add esp, 4
mov dword [ebp - 0x28], eax
lea ebx, [ebp - 0x2c]
call fcn.00401173
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.0041f9d7
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x28]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x14]
call fcn.00401173
pop edx
test ecx, ecx
je 0x4036fc
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f9d1
add esp, 4
pop ebx
call fcn.0041f9d1
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x4036d8
pop edx
pop edi
test edx, edx
je 0x40374e
mov ebx, edi
push edx
push ebx
push 0x28
call fcn.0041f9d7
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.0041f9d7
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4cded6
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 0x403706
push dword [ebp - 0x14]
call fcn.0041f9d1
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 - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x4b848e]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.0040114c
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 0x403bdb
mov ebx, dword [ebp - 0x14]
call fcn.00401173
push ebx
push ecx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x4b848e]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.0040114c
dec eax
jns 0x4037da
push 4
call fcn.0041f9e3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4037ed
push 1
call fcn.0041f9e3
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x38], ebx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x4cdece]
fstp qword [ebp - 0x48]
fild dword [ebp - 4]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
mov ebx, dword [ebp - 0x38]
fild dword [ebx]
fstp qword [ebp - 0x58]
fadd qword [ebp - 0x58]
fadd qword [ebp - 0x48]
fadd qword [0x4cdebe]
fstp qword [ebp - 0x60]
mov dword [ebp - 0x64], esp
push 0x28
fld qword [ebp - 0x60]
call fcn.0040114c
push eax
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
push eax
push 0x28
call fcn.0041f9d7
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], 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, 7
call fcn.0041f9e9
cmp dword [ebp - 0x64], esp
je 0x4038ec
push 6
call fcn.0041f9e3
add esp, 4
mov ebx, dword [ebp - 0x68]
push ebx
mov edi, dword [ebp - 0x6c]
push ebx
push edi
push 1
mov eax, 2
call fcn.0041f9cb
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 0x403922
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x403920
imul eax, dword [edi]
jmp 0x403915
mov ecx, eax
cmp ecx, 8
jle 0x40392c
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.0041f9d1
add esp, 4
mov ebx, dword [ebp - 0x14]
call fcn.00401173
push ebx
push ecx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x4b848e]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.0040114c
dec eax
jns 0x4039d0
push 4
call fcn.0041f9e3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4039e3
push 1
call fcn.0041f9e3
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x34], ebx
push 0x80000301
push 0
push 0xffff
push 0x80000301
push 0
mov ebx, dword [ebp - 0x34]
push dword [ebx]
push 2
mov ebx, 0x41fe40
call fcn.0041f9dd
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
call fcn.00401173
push ebx
push ecx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x4b848e]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.0040114c
dec eax
jns 0x403a51
push 4
call fcn.0041f9e3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403a64
push 1
call fcn.0041f9e3
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x14]
call fcn.00401173
push ebx
push ecx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x4b848e]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.0040114c
dec eax
jns 0x403aa5
push 4
call fcn.0041f9e3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403ab8
push 1
call fcn.0041f9e3
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x48]
cmp dword [ebx], eax
mov eax, 0
setg al
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x14]
call fcn.00401173
push ebx
push ecx
fild dword [ebp - 0x18]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fadd qword [0x4b848e]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
call fcn.0040114c
dec eax
jns 0x403b0c
push 4
call fcn.0041f9e3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403b1f
push 1
call fcn.0041f9e3
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x60], ebx
cmp dword [ebp - 0x4c], 0
je 0x403b40
mov ebx, dword [ebp - 0x60]
mov eax, dword [ebx]
jmp 0x403b43
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fild dword [ebp - 0x64]
fstp qword [ebp - 0x74]
fadd qword [ebp - 0x74]
fstp qword [ebp - 0x7c]
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x28
mov dword [ebp - 0x80], ebx
mov ebx, dword [ebp - 0x80]
push dword [ebx]
fld qword [ebp - 0x7c]
call fcn.0040114c
push eax
call fcn.00404212
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
cmp dword [ebp - 0x20], eax
mov eax, 0
setg al
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x30], ebx
cmp dword [ebp - 0x2c], 0
je 0x403bc8
mov eax, dword [ebp - 0x20]
jmp 0x403bcd
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x403799
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
jne 0x403c00
mov eax, 0
jmp 0x40411f
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x24
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
push dword [ebx]
mov ebx, dword [ebp - 0x24]
push dword [ebx]
call fcn.00404293
mov dword [0x51bd0c], eax
cmp dword [0x51bd0c], 0
jne 0x403c43
mov eax, 0
jmp 0x40411f
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x24], ebx
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]
fmul qword [0x4cdece]
fstp qword [ebp - 0x38]
mov ebx, dword [ebp - 0x24]
fild dword [ebx]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fadd qword [0x4cdebe]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
fld qword [ebp - 0x48]
call fcn.0040114c
push eax
push dword [ebp - 4]
push dword [0x51bd0c]
mov eax, 8
call fcn.0041f9e9
cmp dword [ebp - 0x4c], esp
je 0x403cbc
push 6
call fcn.0041f9e3
add esp, 4
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
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 0x403eb2
mov ebx, dword [ebp - 0x14]
call fcn.00401173
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x403d03
push 4
call fcn.0041f9e3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403d16
push 1
call fcn.0041f9e3
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
jle 0x403d7f
mov ebx, dword [ebp - 0x14]
call fcn.00401173
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x403d4c
push 4
call fcn.0041f9e3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403d5f
push 1
call fcn.0041f9e3
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx], 0
je 0x403d7f
mov eax, 1
jmp 0x403d84
mov eax, 0
test eax, eax
je 0x403eaa
mov ebx, dword [ebp - 0x14]
call fcn.00401173
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x403da9
push 4
call fcn.0041f9e3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403dbc
push 1
call fcn.0041f9e3
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x24], ebx
fild dword [0x51bd0c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
mov ebx, dword [ebp - 0x24]
fild dword [ebx]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x14]
call fcn.00401173
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x403e00
push 4
call fcn.0041f9e3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403e13
push 1
call fcn.0041f9e3
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x40], ebx
fild dword [ebp - 4]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
mov ebx, dword [ebp - 0x40]
fild dword [ebx]
fstp qword [ebp - 0x50]
fadd qword [ebp - 0x50]
fstp qword [ebp - 0x58]
mov ebx, dword [ebp - 0x14]
call fcn.00401173
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x403e54
push 4
call fcn.0041f9e3
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403e67
push 1
call fcn.0041f9e3
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], esp
mov ebx, dword [ebp - 0x5c]
push dword [ebx]
fld qword [ebp - 0x58]
call fcn.0040114c
push eax
fld qword [ebp - 0x3c]
call fcn.0040114c
push eax
mov eax, 8
call fcn.0041f9e9
cmp dword [ebp - 0x60], esp
je 0x403eaa
push 6
call fcn.0041f9e3
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x403cd8
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 0x78]
call fcn.00401173
mov eax, 5
cmp eax, ecx
jl 0x403ed9
push 1
call fcn.0041f9e3
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
jle 0x403f01
lea eax, [ebp - 0x10]
push eax
push dword [0x51bd0c]
call fcn.0040437e
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 0x78]
call fcn.00401173
mov eax, 1
cmp eax, ecx
jl 0x403f25
push 1
call fcn.0041f9e3
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0
jle 0x403f73
push dword [ebp + 0x14]
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push dword [0x51bd0c]
call fcn.004047c6
and eax, 1
xor eax, 1
test eax, eax
je 0x403f73
push dword [0x51bd0c]
call fcn.00402c62
mov eax, 0
jmp 0x40411f
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 0x18
mov dword [ebp - 0x24], ebx
push 0x80000301
push 0
push 0x2000
mov ebx, dword [ebp - 0x24]
mov ax, word [ebx]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x41fe40
call fcn.0041f9dd
add esp, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x404115
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x18
mov dword [ebp - 0x24], ebx
fild dword [0x51bd0c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
mov ebx, dword [ebp - 0x24]
fild dword [ebx]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [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]
push 1
push 0
push 1
push 1
push 1
push 0
fld qword [ebp - 0x3c]
call fcn.0040114c
push eax
call fcn.00402161
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x404115
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x18
mov dword [ebp - 0x24], ebx
fild dword [0x51bd0c]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
mov ebx, dword [ebp - 0x24]
fild dword [ebx]
fstp qword [ebp - 0x34]
fadd qword [ebp - 0x34]
fstp qword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [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]
push 1
push 0
push 1
push 0
push 1
push 0
fld qword [ebp - 0x3c]
call fcn.0040114c
push eax
call fcn.00402161
push dword [0x51bd0c]
call fcn.00402c62
mov eax, 0
jmp 0x40411f
mov eax, dword [0x51bd0c]
jmp 0x40411f
push eax
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f9d1
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f9d1
add esp, 4
pop ebx
call fcn.0041f9d1
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f9d1
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 0x404188
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404184
imul eax, dword [ebx]
jmp 0x404179
mov ecx, eax
test ecx, ecx
je 0x4041a3
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f9d1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40418e
call fcn.0041f9d1
add esp, 4
pop ebx
call fcn.0041f9d1
add esp, 4
pop ebx
call fcn.0041f9d1
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4041db
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4041d7
imul eax, dword [ebx]
jmp 0x4041cc
mov ecx, eax
test ecx, ecx
je 0x404203
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0041f9d1
add esp, 4
pop ebx
call fcn.0041f9d1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4041e1
call fcn.0041f9d1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14