Function at 0x402833
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.004125b4
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.004125b4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4ac89f
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.004125b4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4ac8a7
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.004125b4
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.004125b4
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.004125b4
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.004125b4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4ac8af
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.004125b4
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 0x402944
pop ebx
pop ebx
push 8
call fcn.004125b4
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x4ac85e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4029bf
mov eax, 0x4ac876
push eax
push 3
mov ebx, 0x4145d0
call fcn.004125c0
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4029e9
mov eax, 0
jmp 0x403858
push 0x80000301
push 0
push 0x40
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x4147c0
call fcn.004125c0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402a28
push ebx
call fcn.004125ae
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402a3f
mov eax, 0x4ac85e
push eax
push 1
mov ebx, 0x412a80
call fcn.004125c0
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x40
jne 0x403832
push reloc.WS2_32.dll_getpeername
push 0
lea eax, [ebp - 8]
push eax
push 1
mov eax, 2
mov ebx, 0x471830
call fcn.004125d2
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0x40
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
push eax
push 0x40
call fcn.004125b4
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, 6
call fcn.004125c6
cmp dword [ebp - 0x20], esp
je 0x402bb0
push 6
call fcn.004125ba
add esp, 4
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.004125a8
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 0x402c80
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x402c7e
imul eax, dword [edi]
jmp 0x402c73
mov ecx, eax
cmp ecx, 4
jle 0x402c8a
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.004125a8
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 0x402cdd
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x402cdb
imul eax, dword [edi]
jmp 0x402cd0
mov ecx, eax
cmp ecx, 0xa
jle 0x402ce7
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.004125ae
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp word [ebx], 0x5a4d
jne 0x403832
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x1c], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4147a0
call fcn.004125c0
add esp, 0x28
push 0x80000301
push 0
push 0xf8
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x4147c0
call fcn.004125c0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402d97
push ebx
call fcn.004125ae
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402dae
mov eax, 0x4ac85e
push eax
push 1
mov ebx, 0x412a80
call fcn.004125c0
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xf8
jne 0x403832
push reloc.WS2_32.dll_getpeername
push 0
lea eax, [ebp - 8]
push eax
push 1
mov eax, 2
mov ebx, 0x471830
call fcn.004125d2
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0xf8
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
push eax
push 0xf8
call fcn.004125b4
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 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 0x402fb9
pop ebx
add ebx, 4
pop ebx
add ebx, 4
mov eax, 7
call fcn.004125c6
cmp dword [ebp - 0x20], esp
je 0x403001
push 6
call fcn.004125ba
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
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 0x4031ae
pop edi
add edi, 4
pop ebx
add ebx, 0xe0
pop edi
add edi, 4
call fcn.004125ae
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 0x4550
jne 0x403832
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 0x78]
call fcn.004027ec
mov eax, 1
cmp eax, ecx
jl 0x40322a
push 1
call fcn.004125ba
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 0
jle 0x403832
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], 1
mov ebx, dword [ebp - 0x1c]
mov ax, word [ebx]
cwde
cmp eax, 0
jge 0x40326f
push 0xa
call fcn.004125ba
add esp, 4
mov dword [ebp - 0x20], eax
lea ebx, [ebp - 0x24]
call fcn.004027ec
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.004125b4
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 - 0x14]
call fcn.004027ec
pop edx
test ecx, ecx
je 0x4032d4
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004125ae
add esp, 4
pop ebx
call fcn.004125ae
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x4032b0
pop edx
pop edi
test edx, edx
je 0x403326
mov ebx, edi
push edx
push ebx
push 0x28
call fcn.004125b4
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.004125b4
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4ac877
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 0x4032de
push dword [ebp - 0x14]
call fcn.004125ae
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0x48
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
fild dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x4ac87f]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0040280c
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4147a0
call fcn.004125c0
add esp, 0x28
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x4ac887]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0040280c
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x4147c0
call fcn.004125c0
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4033f5
push ebx
call fcn.004125ae
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40340c
mov eax, 0x4ac85e
push eax
push 1
mov ebx, 0x412a80
call fcn.004125c0
add esp, 0x10
mov dword [ebp - 0x1c], eax
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 - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x4ac887]
fstp qword [ebp - 0x30]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fsub qword [ebp - 0x30]
ftst
fnstsw ax
test ah, 1
je 0x403461
fchs
fcomp qword [0x4ac88f]
fnstsw ax
test ah, 0x41
je 0x403832
push reloc.WS2_32.dll_getpeername
push 0
lea eax, [ebp - 8]
push eax
push 1
mov eax, 2
mov ebx, 0x471830
call fcn.004125d2
add esp, 0x10
mov dword [ebp - 0x1c], eax
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 - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x4ac887]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
fld qword [ebp - 0x30]
call fcn.0040280c
push eax
push dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
call fcn.004027ec
push ebx
mov dword [ebp - 0x38], ecx
test ecx, ecx
jne 0x4034e2
xor eax, eax
jmp 0x4034ee
imul ecx, ecx, 0x28
push ecx
call fcn.004125b4
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x403591
push ecx
push edi
push ebx
mov ebx, dword [ebx]
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
pop ebx
pop edi
pop ecx
dec ecx
je 0x403591
add ebx, 4
add edi, 0x28
jmp 0x403503
mov eax, 8
call fcn.004125c6
cmp dword [ebp - 0x34], esp
je 0x4035ad
push 6
call fcn.004125ba
add esp, 4
mov ebx, dword [ebp - 0x3c]
push ebx
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x40367c
push ecx
push edi
push ebx
mov edi, dword [edi]
push ebx
push edi
push 1
mov eax, 2
call fcn.004125a8
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 0x4035f3
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4035f1
imul eax, dword [edi]
jmp 0x4035e6
mov ecx, eax
cmp ecx, 8
jle 0x4035fd
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
pop ebx
pop edi
pop ecx
dec ecx
je 0x40367c
add ebx, 0x28
add edi, 4
jmp 0x4035bf
call fcn.004125ae
add esp, 4
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
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 0x40382f
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x14]
call fcn.004027ec
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x4036d7
push 4
call fcn.004125ba
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4036ea
push 1
call fcn.004125ba
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], eax
jl 0x4037cc
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x18
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x14]
call fcn.004027ec
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x403730
push 4
call fcn.004125ba
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403743
push 1
call fcn.004125ba
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 - 0x14]
call fcn.004027ec
push ebx
push ecx
mov eax, dword [ebp - 0x18]
dec eax
jns 0x40376d
push 4
call fcn.004125ba
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x403780
push 1
call fcn.004125ba
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fsub qword [ebp - 0x48]
fcomp qword [0x4ac88f]
fnstsw ax
test ah, 0x41
je 0x4037cc
mov eax, 1
jmp 0x4037d1
mov eax, 0
test eax, eax
je 0x403827
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x4145f0
call fcn.004125c0
add esp, 0x10
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 8]
add ebx, 0x18
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
fild dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x4ac897]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.0040280c
jmp 0x403858
pop eax
pop ebx
pop ecx
jmp 0x4036a0
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x4145f0
call fcn.004125c0
add esp, 0x10
mov eax, 0
jmp 0x403858
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403869
push ebx
call fcn.004125ae
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004125ae
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004125ae
add esp, 4
pop ebx
call fcn.004125ae
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004125ae
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 0x4038d1
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4038cd
imul eax, dword [ebx]
jmp 0x4038c2
mov ecx, eax
test ecx, ecx
je 0x4038ec
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004125ae
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4038d7
call fcn.004125ae
add esp, 4
pop ebx
call fcn.004125ae
add esp, 4
pop ebx
call fcn.004125ae
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403924
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403920
imul eax, dword [ebx]
jmp 0x403915
mov ecx, eax
test ecx, ecx
je 0x40394c
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.004125ae
add esp, 4
pop ebx
call fcn.004125ae
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40392a
call fcn.004125ae
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4