Function at 0x1005600c
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.10057377
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.10057377
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x10276797
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.10057377
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x102a1f27
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.10057377
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.10057377
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.10057377
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.10057377
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x102a1f2f
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.10057377
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 0x1005611d
pop ebx
pop ebx
mov dword [ebp - 0x14], 0
push 8
call fcn.10057377
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0x10127fb1
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 0x1005618b
add eax, 8
push eax
mov eax, 0x10e
call fcn.1005738f
cmp dword [ebp - 0x20], esp
je 0x100561b2
push 0x19
push 0x4038ddc
push 6
call fcn.10057383
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 0x100561ca
mov eax, 0x10127fb1
push eax
push 1
mov ebx, 0x10057a90
call fcn.10057389
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x40
jge 0x100561f4
mov eax, 0xffffffff
jmp 0x100571a4
mov dword [ebp - 0x20], esp
push 0x40
push dword [ebp - 4]
mov eax, dword [ebp - 0xc]
push eax
push 0x40
call fcn.10057377
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, 0x10f
call fcn.1005738f
cmp dword [ebp - 0x20], esp
je 0x1005632a
push 0xce
push 0x4038ddc
push 6
call fcn.10057383
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.10057371
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 0x100563fa
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x100563f8
imul eax, dword [edi]
jmp 0x100563ed
mov ecx, eax
cmp ecx, 4
jle 0x10056404
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.10057371
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 0x10056457
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10056455
imul eax, dword [edi]
jmp 0x1005644a
mov ecx, eax
cmp ecx, 0xa
jle 0x10056461
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.1005737d
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
cmp word [ebx], 0x5a4d
je 0x100564d6
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 [0x102a1f1f]
fstp qword [ebp - 0x38]
fild dword [ebp - 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [ebp - 0x38]
fcomp qword [0x10276511]
fnstsw ax
test ah, 1
je 0x100564d6
mov eax, 1
jmp 0x100564db
mov eax, 0
test eax, eax
je 0x100564ed
mov eax, 0xffffffff
jmp 0x100571a4
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.10001de5
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0xf8
call fcn.10057377
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 0x100566d6
pop ebx
add ebx, 4
pop ebx
add ebx, 4
mov eax, 0x110
call fcn.1005738f
cmp dword [ebp - 0x3c], esp
je 0x10056728
push 0x1c3
push 0x4038ddc
push 6
call fcn.10057383
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 0x100568d5
pop edi
add edi, 4
pop ebx
add ebx, 0xe0
pop edi
add edi, 4
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
cmp dword [ebx], 0x4550
je 0x10056937
mov eax, 0xffffffff
jmp 0x100571a4
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, 0x10057870
call fcn.10057389
add esp, 0x1c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10056987
mov eax, 0xffffffff
jmp 0x100571a4
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 0x100569c3
push 0x301
push 0x4038ddc
push 0xa
call fcn.10057383
add esp, 0xc
mov dword [ebp - 0x20], eax
lea ebx, [ebp - 0x24]
call fcn.100010ae
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.10057377
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.100010ae
pop edx
test ecx, ecx
je 0x10056a1b
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1005737d
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x10056a04
pop edx
pop edi
test edx, edx
je 0x10056a4d
mov ebx, edi
push edx
push ebx
push 0x2c
call fcn.10057377
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 0x10056a25
push dword [ebp - 0x18]
call fcn.1005737d
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0
jge 0x10056a82
push 0x325
push 0x4038ddc
push 0xa
call fcn.10057383
add esp, 0xc
mov dword [ebp - 0x20], eax
lea ebx, [ebp - 0x24]
call fcn.100010ae
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.10057377
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.100010ae
pop edx
test ecx, ecx
je 0x10056aed
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x10056ada
push ebx
call fcn.1005737d
add esp, 4
pop ebx
call fcn.1005737d
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x10056ac5
pop edx
pop edi
test edx, edx
je 0x10056b1f
mov ebx, edi
push edx
push ebx
push 0x18
call fcn.10057377
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 0x10056af7
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.1005737d
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 0x10057199
mov ebx, dword [ebp - 0x18]
call fcn.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x10056b73
push 0x379
push 0x4038ddc
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10056b90
push 0x379
push 0x4038ddc
push 1
call fcn.10057383
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 [0x102a1f37]
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 [0x102a1f3f]
fstp qword [ebp - 0x4c]
mov dword [ebp - 0x50], esp
push 0x28
fld qword [ebp - 0x4c]
call fcn.10001de5
push eax
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
push eax
push 0x28
call fcn.10057377
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, 0x111
call fcn.1005738f
cmp dword [ebp - 0x50], esp
je 0x10056c97
push 0x3cb
push 0x4038ddc
push 6
call fcn.10057383
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.1005737d
add esp, 4
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x10056d3f
push 0x3f9
push 0x4038ddc
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10056d5c
push 0x3f9
push 0x4038ddc
push 1
call fcn.10057383
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.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x10056d8d
push 0x434
push 0x4038ddc
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10056daa
push 0x434
push 0x4038ddc
push 1
call fcn.10057383
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, 0x10058f00
call fcn.10057389
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 0x10056de9
mov eax, 0x10127fb1
push eax
push 1
mov ebx, 0x100595e0
call fcn.10057389
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10056e0f
push ebx
call fcn.1005737d
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10056e25
push ebx
call fcn.1005737d
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.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x10056e54
push 0x460
push 0x4038ddc
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10056e71
push 0x460
push 0x4038ddc
push 1
call fcn.10057383
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.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x10056ea5
push 0x460
push 0x4038ddc
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10056ec2
push 0x460
push 0x4038ddc
push 1
call fcn.10057383
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.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x10056f02
push 0x4a1
push 0x4038ddc
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10056f1f
push 0x4a1
push 0x4038ddc
push 1
call fcn.10057383
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.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x10056f53
push 0x4a1
push 0x4038ddc
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10056f70
push 0x4a1
push 0x4038ddc
push 1
call fcn.10057383
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.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x10056fb0
push 0x4e2
push 0x4038ddc
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10056fcd
push 0x4e2
push 0x4038ddc
push 1
call fcn.10057383
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.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x10057001
push 0x4e2
push 0x4038ddc
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1005701e
push 0x4e2
push 0x4038ddc
push 1
call fcn.10057383
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.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1005705e
push 0x523
push 0x4038ddc
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1005707b
push 0x523
push 0x4038ddc
push 1
call fcn.10057383
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.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x100570af
push 0x523
push 0x4038ddc
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100570cc
push 0x523
push 0x4038ddc
push 1
call fcn.10057383
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.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1005710c
push 0x564
push 0x4038ddc
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10057129
push 0x564
push 0x4038ddc
push 1
call fcn.10057383
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.100010ae
push ebx
push ecx
mov eax, dword [ebp - 0x1c]
dec eax
jns 0x1005715d
push 0x564
push 0x4038ddc
push 4
call fcn.10057383
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1005717a
push 0x564
push 0x4038ddc
push 1
call fcn.10057383
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 0x10056b3e
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x100571a4
push eax
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1005737d
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1005737d
add esp, 4
pop ebx
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1005737d
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 0x1005720d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10057209
imul eax, dword [ebx]
jmp 0x100571fe
mov ecx, eax
test ecx, ecx
je 0x10057228
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1005737d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10057213
call fcn.1005737d
add esp, 4
pop ebx
call fcn.1005737d
add esp, 4
pop ebx
call fcn.1005737d
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10057260
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1005725c
imul eax, dword [ebx]
jmp 0x10057251
mov ecx, eax
test ecx, ecx
je 0x1005727b
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1005737d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10057266
call fcn.1005737d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc