Function at 0x403018
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
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 0x403129
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 0x403197
add eax, 8
push eax
mov eax, 9
call fcn.0040ac9a
cmp dword [ebp - 0x20], esp
je 0x4031be
push 0x19
push 0x401396f
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 0x4031d6
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 0x403200
mov eax, 0xffffffff
jmp 0x4041b0
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 0x403336
push 0x107
push 0x401396f
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 0x403406
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x403404
imul eax, dword [edi]
jmp 0x4033f9
mov ecx, eax
cmp ecx, 4
jle 0x403410
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 0x403463
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x403461
imul eax, dword [edi]
jmp 0x403456
mov ecx, eax
cmp ecx, 0xa
jle 0x40346d
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 0x4034e2
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 0x4034e2
mov eax, 1
jmp 0x4034e7
mov eax, 0
test eax, eax
je 0x4034f9
mov eax, 0xffffffff
jmp 0x4041b0
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 0x4036e2
pop ebx
add ebx, 4
pop ebx
add ebx, 4
mov eax, 0xb
call fcn.0040ac9a
cmp dword [ebp - 0x3c], esp
je 0x403734
push 0x235
push 0x401396f
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 0x4038e1
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 0x403943
mov eax, 0xffffffff
jmp 0x4041b0
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 0x403993
mov eax, 0xffffffff
jmp 0x4041b0
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 0x4039cf
push 0x3e5
push 0x401396f
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 0x403a27
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 0x403a10
pop edx
pop edi
test edx, edx
je 0x403a59
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 0x403a31
push dword [ebp - 0x18]
call fcn.0040ac82
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0
jge 0x403a8e
push 0x41c
push 0x401396f
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 + 0xc]
mov ebx, dword [ebx]
call fcn.0040117f
pop edx
test ecx, ecx
je 0x403af9
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x403ae6
push ebx
call fcn.0040ac82
add esp, 4
pop ebx
call fcn.0040ac82
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x403ad1
pop edx
pop edi
test edx, edx
je 0x403b2b
mov ebx, edi
push edx
push ebx
push 0x18
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, 6
rep stosd dword es:[edi], eax
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x403b03
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0040ac82
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], 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 0x4041a5
mov ebx, dword [ebp - 0x18]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x403b7f
push 0x487
push 0x401396f
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x403b9c
push 0x487
push 0x401396f
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 0x403ca3
push 0x4d9
push 0x401396f
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
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x403d4b
push 0x51a
push 0x401396f
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x403d68
push 0x51a
push 0x401396f
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
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 0x403d99
push 0x555
push 0x401396f
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x403db6
push 0x555
push 0x401396f
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
push 0x80000401
mov ebx, dword [ebp - 0x24]
push dword [ebx + 4]
push dword [ebx]
push 1
mov ebx, 0x40ba80
call fcn.0040ac8e
add esp, 0x10
mov dword [ebp - 0x28], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x403df5
mov eax, 0x4e9a31
push eax
push 1
mov ebx, 0x40c020
call fcn.0040ac8e
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x403e1b
push ebx
call fcn.0040ac82
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x403e31
push ebx
call fcn.0040ac82
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x403e60
push 0x594
push 0x401396f
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x403e7d
push 0x594
push 0x401396f
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
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 0x403eb1
push 0x594
push 0x401396f
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x403ece
push 0x594
push 0x401396f
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 - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x403f0e
push 0x5e8
push 0x401396f
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x403f2b
push 0x5e8
push 0x401396f
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
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 0x403f5f
push 0x5e8
push 0x401396f
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x403f7c
push 0x5e8
push 0x401396f
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x403fbc
push 0x63c
push 0x401396f
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x403fd9
push 0x63c
push 0x401396f
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 0x40400d
push 0x63c
push 0x401396f
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40402a
push 0x63c
push 0x401396f
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 - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x40406a
push 0x690
push 0x401396f
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x404087
push 0x690
push 0x401396f
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
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 0x4040bb
push 0x690
push 0x401396f
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4040d8
push 0x690
push 0x401396f
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x404118
push 0x6e4
push 0x401396f
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x404135
push 0x6e4
push 0x401396f
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 - 0x18]
call fcn.0040117f
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x404169
push 0x6e4
push 0x401396f
push 4
call fcn.0040ac94
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x404186
push 0x6e4
push 0x401396f
push 1
call fcn.0040ac94
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x28
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x403b4a
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x4041b0
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 0x404219
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404215
imul eax, dword [ebx]
jmp 0x40420a
mov ecx, eax
test ecx, ecx
je 0x404234
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 0x40421f
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 0x40426c
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404268
imul eax, dword [ebx]
jmp 0x40425d
mov ecx, eax
test ecx, ecx
je 0x404287
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 0x404272
call fcn.0040ac82
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc