Function at 0x485310
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
mov eax, dword [0x5974d8]
sub esp, 0x7d4
push ebx
push ebp
push esi
mov esi, eax
xor ebp, ebp
cmp esi, ebp
mov ebx, edx
je 0x485337
cmp dword [esi + 0x7c], ecx
je 0x485343
mov esi, dword [esi + 0x80]
cmp esi, ebp
jne 0x485328
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d4
ret
mov ecx, ebx
shr ecx, 0x10
test ecx, ecx
push edi
je 0x4854e7
cmp eax, ebp
mov ebx, dword [esi + 0x70]
je 0x485e2f
lea esp, [esp]
cmp esi, eax
je 0x48537b
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x485360
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d4
ret
mov edx, 0x3e7
lea ecx, [esp + 0x44]
call fcn.0041e210
lea edx, [esp + 0x44]
mov ecx, 0xa93
call fcn.0041c9e0
mov edi, dword [0x59a15c]
cmp edi, ebp
je 0x4853e6
cmp dword [edi + 8], ebx
jne 0x4853b1
mov ecx, edi
call fcn.004dc0f0
test eax, eax
je 0x4853bd
mov edi, dword [edi + 0x22dc]
cmp edi, ebp
jne 0x4853a1
jmp 0x4853e6
lea edx, [esp + 0x44]
lea ebp, [edi + 0x444]
push edx
mov edx, 0x3e7
mov ecx, ebp
call fcn.0041e120
mov ecx, edi
call fcn.0053e0b0
mov edx, edi
mov ecx, ebp
call fcn.0053df20
xor ebp, ebp
push 2
lea eax, [esp + 0x48]
push 0x576f18
push eax
call fcn.00572b89
add esp, 0xc
test eax, eax
jne 0x485422
lea eax, [esp + 0x46]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x485405
sub eax, edx
inc eax
push eax
lea ecx, [esp + 0x4a]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.005641d0
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x44]
call fcn.005190f0
mov ecx, dword [0x592640]
cmp ecx, ebp
je 0x485449
cmp dword [ecx + 0x52c], ebx
je 0x485484
mov ecx, dword [ecx + 0x88c]
cmp ecx, ebp
jne 0x485437
mov ecx, dword [0x59e068]
cmp ecx, ebp
je 0x485465
cmp dword [ecx + 0x340], ebx
je 0x485495
mov ecx, dword [ecx + 0x3cc]
cmp ecx, ebp
jne 0x485453
mov ecx, dword [0x597650]
cmp ecx, ebp
je 0x4854bb
nop
cmp dword [ecx + 0x444], ebx
je 0x4854a9
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x485470
jmp 0x4854bb
lea edx, [esp + 0x44]
mov dword [ecx + 0x52c], ebp
call fcn.0042b4a0
jmp 0x4854bb
lea eax, [esp + 0x44]
push eax
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.0050e340
jmp 0x4854bb
lea edx, [esp + 0x44]
push edx
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.0048b250
mov eax, dword [0x5974d8]
cmp eax, ebp
je 0x485e2f
cmp esi, eax
je 0x485c03
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x4854c8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d4
ret
mov edx, 0x3b5
lea ecx, [esp + 0x42c]
mov dword [esi + 0x74], 0xb4
call fcn.0041e210
mov ebp, dword [sym.imp.WSOCK32.dll_recv]
xor edi, edi
jmp 0x485510
mov edx, dword [esi + 0x7c]
push 0
mov eax, 0x3b4
sub eax, edi
push eax
lea ecx, [esp + edi + 0x434]
push ecx
push edx
call ebp
cmp eax, 0xffffffff
je 0x48553b
test eax, eax
je 0x485576
add edi, eax
cmp edi, 0x383
jb 0x485510
cmp bx, 0x20
jne 0x485887
mov eax, dword [0x5974d8]
mov ebx, dword [esi + 0x70]
xor ebp, ebp
cmp eax, ebp
je 0x485e2f
cmp esi, eax
je 0x485717
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x485557
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d4
ret
test edi, edi
jne 0x48553b
mov eax, dword [0x5974d8]
mov ebx, dword [esi + 0x70]
xor ebp, ebp
cmp eax, ebp
je 0x485e2f
lea esp, [esp]
cmp esi, eax
je 0x4855ab
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x485590
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d4
ret
mov edx, 0x3e7
lea ecx, [esp + 0x44]
call fcn.0041e210
lea edx, [esp + 0x44]
mov ecx, 0xa94
call fcn.0041c9e0
mov edi, dword [0x59a15c]
cmp edi, ebp
je 0x485616
cmp dword [edi + 8], ebx
jne 0x4855e1
mov ecx, edi
call fcn.004dc0f0
test eax, eax
je 0x4855ed
mov edi, dword [edi + 0x22dc]
cmp edi, ebp
jne 0x4855d1
jmp 0x485616
lea eax, [esp + 0x44]
lea ebp, [edi + 0x444]
push eax
mov edx, 0x3e7
mov ecx, ebp
call fcn.0041e120
mov ecx, edi
call fcn.0053e0b0
mov edx, edi
mov ecx, ebp
call fcn.0053df20
xor ebp, ebp
push 2
lea ecx, [esp + 0x48]
push 0x576f18
push ecx
call fcn.00572b89
add esp, 0xc
test eax, eax
jne 0x485652
lea eax, [esp + 0x46]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x485635
sub eax, edx
inc eax
push eax
lea edx, [esp + 0x4a]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.005641d0
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x44]
call fcn.005190f0
mov ecx, dword [0x592640]
cmp ecx, ebp
je 0x485679
cmp dword [ecx + 0x52c], ebx
je 0x4856b4
mov ecx, dword [ecx + 0x88c]
cmp ecx, ebp
jne 0x485667
mov ecx, dword [0x59e068]
cmp ecx, ebp
je 0x485695
cmp dword [ecx + 0x340], ebx
je 0x4856c5
mov ecx, dword [ecx + 0x3cc]
cmp ecx, ebp
jne 0x485683
mov ecx, dword [0x597650]
cmp ecx, ebp
je 0x4856eb
nop
cmp dword [ecx + 0x444], ebx
je 0x4856d9
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x4856a0
jmp 0x4856eb
lea edx, [esp + 0x44]
mov dword [ecx + 0x52c], ebp
call fcn.0042b4a0
jmp 0x4856eb
lea edx, [esp + 0x44]
push edx
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.0050e340
jmp 0x4856eb
lea eax, [esp + 0x44]
push eax
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.0048b250
mov eax, dword [0x5974d8]
cmp eax, ebp
je 0x485e2f
cmp esi, eax
je 0x485c03
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x4856f8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d4
ret
mov edx, 0x3e7
lea ecx, [esp + 0x44]
call fcn.0041e210
lea edx, [esp + 0x44]
mov ecx, 0xa94
call fcn.0041c9e0
mov edi, dword [0x59a15c]
cmp edi, ebp
je 0x485785
lea ecx, [ecx]
cmp dword [edi + 8], ebx
jne 0x485750
mov ecx, edi
call fcn.004dc0f0
test eax, eax
je 0x48575c
mov edi, dword [edi + 0x22dc]
cmp edi, ebp
jne 0x485740
jmp 0x485785
lea ecx, [esp + 0x44]
lea ebp, [edi + 0x444]
push ecx
mov edx, 0x3e7
mov ecx, ebp
call fcn.0041e120
mov ecx, edi
call fcn.0053e0b0
mov edx, edi
mov ecx, ebp
call fcn.0053df20
xor ebp, ebp
push 2
lea edx, [esp + 0x48]
push 0x576f18
push edx
call fcn.00572b89
add esp, 0xc
test eax, eax
jne 0x4857c1
lea eax, [esp + 0x46]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4857a4
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x4a]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.005641d0
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x44]
call fcn.005190f0
mov ecx, dword [0x592640]
cmp ecx, ebp
je 0x4857e8
cmp dword [ecx + 0x52c], ebx
je 0x485824
mov ecx, dword [ecx + 0x88c]
cmp ecx, ebp
jne 0x4857d6
mov ecx, dword [0x59e068]
cmp ecx, ebp
je 0x485804
cmp dword [ecx + 0x340], ebx
je 0x485835
mov ecx, dword [ecx + 0x3cc]
cmp ecx, ebp
jne 0x4857f2
mov ecx, dword [0x597650]
cmp ecx, ebp
je 0x48585b
mov edi, edi
cmp dword [ecx + 0x444], ebx
je 0x485849
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x485810
jmp 0x48585b
lea edx, [esp + 0x44]
mov dword [ecx + 0x52c], ebp
call fcn.0042b4a0
jmp 0x48585b
lea edx, [esp + 0x44]
push edx
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.0050e340
jmp 0x48585b
lea eax, [esp + 0x44]
push eax
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.0048b250
mov eax, dword [0x5974d8]
cmp eax, ebp
je 0x485e2f
cmp esi, eax
je 0x485c03
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x485868
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d4
ret
mov ecx, dword [0x5a1b00]
mov edx, dword [esi + 0x7c]
mov ebx, dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
push 0
push 0
push ecx
push edx
call ebx
mov eax, dword [esi + 0x78]
mov ebp, 2
cmp eax, ebp
jne 0x485c17
mov eax, dword [esi + 0x6c]
cmp eax, ebp
je 0x4858be
cmp eax, 3
jne 0x4859b0
mov cl, byte [esp + 0x42c]
xor edi, edi
cmp cl, 0x20
lea eax, [esp + 0x42c]
jne 0x4858dc
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x4858d3
push 0x20
push eax
call fcn.00563730
add esp, 8
test eax, eax
je 0x485909
cmp byte [eax], 0x20
jne 0x4858f9
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x4858f0
cmp byte [eax], 0
je 0x485909
push eax
call fcn.00563a6c
add esp, 4
mov edi, eax
cmp dword [esi + 0x6c], ebp
jne 0x485926
cmp edi, 0x191
je 0x485e2f
cmp edi, 0x197
je 0x485e2f
cmp edi, 0xc8
jne 0x4859b0
mov edi, dword [0x59a15c]
test edi, edi
je 0x48595a
mov eax, dword [esi + 0x70]
nop
cmp dword [edi + 8], eax
jne 0x485950
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x4859e1
mov edi, dword [edi + 0x22dc]
test edi, edi
jne 0x485940
mov edi, dword [0x592640]
test edi, edi
je 0x485986
mov eax, dword [esi + 0x70]
jmp 0x485970
cmp dword [edi + 0x52c], eax
je 0x485a0f
mov edi, dword [edi + 0x88c]
test edi, edi
jne 0x485970
mov edi, dword [0x59e068]
test edi, edi
je 0x4859b0
mov eax, dword [esi + 0x70]
cmp dword [edi + 0x340], eax
jne 0x4859a6
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x485a48
mov edi, dword [edi + 0x3cc]
test edi, edi
jne 0x485993
mov eax, dword [0x5974d8]
mov ebx, dword [esi + 0x70]
xor ebp, ebp
cmp eax, ebp
je 0x485e2f
cmp esi, eax
je 0x485a95
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x4859c2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d4
ret
mov eax, dword [esi + 0x7c]
mov dword [edi + 4], eax
mov ecx, esi
mov dword [esi + 0x7c], 0xffffffff
call fcn.00484400
mov ecx, dword [edi + 4]
xor edx, edx
call fcn.0053ef90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d4
ret
mov eax, dword [esi + 0x68]
test eax, eax
jne 0x485986
mov ecx, dword [esi + 0x7c]
mov dword [edi + 0x884], ecx
mov ecx, esi
mov dword [esi + 0x7c], 0xffffffff
call fcn.00484400
mov ecx, edi
call fcn.0042bf70
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d4
ret
mov edx, dword [esi + 0x7c]
mov dword [edi + 0x3c4], edx
mov ecx, esi
mov dword [esi + 0x7c], 0xffffffff
call fcn.00484400
mov eax, dword [edi + 0x378]
test eax, eax
mov ecx, edi
je 0x485a80
call fcn.0050f480
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d4
ret
call fcn.0050f130
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d4
ret
mov edx, 0x3e7
lea ecx, [esp + 0x44]
call fcn.0041e210
lea edx, [esp + 0x44]
mov ecx, 0xa97
call fcn.0041c9e0
mov edi, dword [0x59a15c]
cmp edi, ebp
je 0x485b05
jmp 0x485ac0
cmp dword [edi + 8], ebx
jne 0x485ad0
mov ecx, edi
call fcn.004dc0f0
test eax, eax
je 0x485adc
mov edi, dword [edi + 0x22dc]
cmp edi, ebp
jne 0x485ac0
jmp 0x485b05
lea eax, [esp + 0x44]
lea ebp, [edi + 0x444]
push eax
mov edx, 0x3e7
mov ecx, ebp
call fcn.0041e120
mov ecx, edi
call fcn.0053e0b0
mov edx, edi
mov ecx, ebp
call fcn.0053df20
xor ebp, ebp
push 2
lea ecx, [esp + 0x48]
push 0x576f18
push ecx
call fcn.00572b89
add esp, 0xc
test eax, eax
jne 0x485b41
lea eax, [esp + 0x46]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x485b24
sub eax, edx
inc eax
push eax
lea edx, [esp + 0x4a]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.005641d0
add esp, 0xc
mov dl, 0x20
lea ecx, [esp + 0x44]
call fcn.005190f0
mov ecx, dword [0x592640]
cmp ecx, ebp
je 0x485b68
cmp dword [ecx + 0x52c], ebx
je 0x485ba4
mov ecx, dword [ecx + 0x88c]
cmp ecx, ebp
jne 0x485b56
mov ecx, dword [0x59e068]
cmp ecx, ebp
je 0x485b84
cmp dword [ecx + 0x340], ebx
je 0x485bb5
mov ecx, dword [ecx + 0x3cc]
cmp ecx, ebp
jne 0x485b72
mov ecx, dword [0x597650]
cmp ecx, ebp
je 0x485bdb
mov edi, edi
cmp dword [ecx + 0x444], ebx
je 0x485bc9
mov ecx, dword [ecx + 0x4bc]
cmp ecx, ebp
jne 0x485b90
jmp 0x485bdb
lea edx, [esp + 0x44]
mov dword [ecx + 0x52c], ebp
call fcn.0042b4a0
jmp 0x485bdb
lea edx, [esp + 0x44]
push edx
xor edx, edx
mov dword [ecx + 0x340], ebp
call fcn.0050e340
jmp 0x485bdb
lea eax, [esp + 0x44]
push eax
xor edx, edx
mov dword [ecx + 0x444], ebp
call fcn.0048b250
mov eax, dword [0x5974d8]
cmp eax, ebp
je 0x485e2f
cmp esi, eax
je 0x485c03
mov eax, dword [eax + 0x80]
cmp eax, ebp
jne 0x485be8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d4
ret
mov ecx, esi
call fcn.00484400
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d4
ret
test eax, eax
jne 0x485cd3
movzx ecx, byte [esp + 0x42d]
cmp ecx, 0x5a
jl 0x485c31
cmp ecx, 0x5d
jle 0x485c36
mov ecx, 0x5e
cmp dword [esi + 0x6c], ebp
jne 0x485ccd
cmp ecx, 0x5a
jne 0x485ccd
mov edi, dword [0x59a15c]
test edi, edi
je 0x485c6f
mov eax, dword [esi + 0x70]
cmp dword [edi + 8], eax
jne 0x485c65
mov edx, dword [esi + 0x68]
test edx, edx
je 0x485e3c
mov edi, dword [edi + 0x22dc]
test edi, edi
jne 0x485c55
mov edi, dword [0x592640]
test edi, edi
je 0x485c9f
mov eax, dword [esi + 0x70]
lea esp, [esp]
cmp dword [edi + 0x52c], eax
je 0x485c94
mov edi, dword [edi + 0x88c]
test edi, edi
jne 0x485c80
jmp 0x485c9f
mov eax, dword [esi + 0x68]
test eax, eax
je 0x485e4e
mov edi, dword [0x59e068]
test edi, edi
je 0x485ccd
mov eax, dword [esi + 0x70]
lea esp, [esp]
cmp dword [edi + 0x340], eax
jne 0x485cc3
mov edx, dword [esi + 0x68]
test edx, edx
je 0x485f65
mov edi, dword [edi + 0x3cc]
test edi, edi
jne 0x485cb0
push ecx
jmp 0x485e25
movzx edx, byte [esp + 0x42d]
test edx, edx
jl 0x485ce4
cmp edx, 9
jle 0x485ce9
mov edx, 9
mov eax, dword [esi + 0x6c]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x485cf8
jmp dword [eax*4 + 0x486140]
mov eax, edx
sub eax, 0
je 0x485d41
sub eax, ebp
jne case.default.0x485cf8
mov edx, 3
mov ecx, esi
call fcn.00484b60
test eax, eax
je 0x485e2f
pop edi
mov dword [esi + 0x6c], 3
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d4
ret
test edx, edx
jne case.default.0x485cf8
mov edx, 4
mov ecx, esi
call fcn.00484b60
test eax, eax
je 0x485e2f
pop edi
mov dword [esi + 0x6c], 4
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d4
ret
test edx, edx
jne case.default.0x485cf8
mov edi, dword [0x59a15c]
xor ebp, ebp
cmp edi, ebp
je 0x485d9b
mov eax, dword [esi + 0x70]
cmp dword [edi + 8], eax
jne 0x485d91
cmp dword [esi + 0x68], ebp
je 0x485e3c
mov edi, dword [edi + 0x22dc]
cmp edi, ebp
jne 0x485d83
mov edi, dword [0x592640]
cmp edi, ebp
mov cl, byte [esp + 0x42f]
je 0x485dc6
mov eax, dword [esi + 0x70]
nop
cmp dword [edi + 0x52c], eax
je 0x485e47
mov edi, dword [edi + 0x88c]
cmp edi, ebp
jne 0x485db0
mov edi, dword [0x59e068]
cmp edi, ebp
je 0x485dee
mov eax, dword [esi + 0x70]
cmp dword [edi + 0x340], eax
jne 0x485de4
cmp dword [esi + 0x68], ebp
je 0x485f65
mov edi, dword [edi + 0x3cc]
cmp edi, ebp
jne 0x485dd3
mov edi, dword [0x597650]
cmp edi, ebp
je case.default.0x485cf8
mov eax, dword [esi + 0x70]
jmp 0x485e00
cmp dword [edi + 0x444], eax
jne 0x485e17
cmp dword [esi + 0x68], 1
jne 0x485e17
cmp cl, 1
je 0x485fb2
mov edi, dword [edi + 0x4bc]
cmp edi, ebp
jne 0x485e00
add edx, 0x64
push edx
mov edx, dword [esi + 0x70]
mov ecx, esi
call fcn.00484520
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x7d4
ret
mov ecx, dword [esi + 0x7c]
mov dword [edi + 4], ecx
jmp 0x4859e7
mov eax, dword [esi + 0x68]
cmp eax, ebp
jne 0x485e7c
mov edx, dword [esi + 0x7c]
mov dword [edi + 0x884], edx
mov ecx, esi
mov dword [esi + 0x7c], 0xffffffff
call fcn.00484400
mov ecx, edi
call fcn.0042bf70
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d4
ret
cmp eax, 1
jne 0x485dc6
cmp cl, al
jne 0x485dc6
mov dword [edi + 0x878], ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esi + 0x6c], 5
movzx eax, byte [esp + 0x433]
movzx ecx, byte [esp + 0x432]
movzx edx, byte [esp + 0x431]
push eax
movzx eax, byte [esp + 0x434]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push 0x575624
push ecx
call ebp
movzx dx, byte [esp + 0x44c]
movzx ax, byte [esp + 0x44d]
add esp, 0x18
push 0x21
push 0x8032
shl edx, 8
add edx, eax
mov word [edi + 0x51c], dx
mov ecx, dword [0x5a1b00]
mov edx, dword [esi + 0x7c]
push ecx
push edx
call ebx
mov eax, dword [edi + 0x530]
movzx ecx, word [edi + 0x51c]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
push eax
lea eax, [edi + 0x3f0]
push eax
lea ecx, [esp + 0x43c]
push 0x575a0c
push ecx
call ebp
mov edx, dword [edi + 0x888]
add esp, 0x18
push edx
xor edx, edx
lea ecx, [esp + 0x430]
call fcn.0053ec90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d4
ret
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x3c4], eax
mov ecx, esi
mov dword [esi + 0x7c], 0xffffffff
call fcn.00484400
mov eax, dword [edi + 0x378]
test eax, eax
mov ecx, edi
je 0x485f9d
call fcn.0050f480
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d4
ret
call fcn.0050f130
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d4
ret
mov dword [edi + 0x4ac], ebp
mov dword [esi + 0x6c], 5
movzx ecx, byte [esp + 0x433]
movzx edx, byte [esp + 0x432]
movzx eax, byte [esp + 0x431]
push ecx
movzx ecx, byte [esp + 0x434]
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push 0x575624
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
movzx ax, byte [esp + 0x44c]
movzx cx, byte [esp + 0x44d]
add esp, 0x18
push 0x21
push 0x8032
shl eax, 8
add eax, ecx
mov word [edi + 0x454], ax
mov edx, dword [0x5a1b00]
mov eax, dword [esi + 0x7c]
push edx
push eax
call ebx
mov ecx, dword [edi + 0x4b8]
mov edx, dword [edi + 0x444]
mov eax, dword [edi + 0x464]
push ecx
xor ecx, ecx
mov cx, word [edi + 0x454]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
push eax
lea edx, [edi + 0x234]
lea ecx, [edi + 4]
call fcn.0050d420
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d4
ret
test edx, edx
jne case.default.0x485cf8
mov edi, dword [0x592640]
test edi, edi
mov cl, byte [esp + 0x42f]
je 0x4860b1
mov eax, dword [esi + 0x70]
cmp dword [edi + 0x52c], eax
jne 0x4860a7
cmp dword [esi + 0x68], 1
jne 0x4860a7
cmp cl, 1
je 0x4860e4
mov edi, dword [edi + 0x88c]
test edi, edi
jne 0x486094
mov edi, dword [0x597650]
test edi, edi
je case.default.0x485cf8
mov eax, dword [esi + 0x70]
cmp dword [edi + 0x444], eax
jne 0x4860d5
cmp dword [esi + 0x68], 1
jne 0x4860d5
cmp cl, 1
je 0x486112
mov edi, dword [edi + 0x4bc]
test edi, edi
jne 0x4860c2
jmp case.default.0x485cf8
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x884], eax
mov ecx, esi
mov dword [esi + 0x7c], 0xffffffff
call fcn.00484400
mov ecx, edi
call fcn.0042b970
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d4
ret
mov ecx, dword [esi + 0x7c]
mov dword [edi + 0x4b0], ecx
mov ecx, esi
mov dword [esi + 0x7c], 0xffffffff
call fcn.00484400
mov ecx, edi
call fcn.0048bbc0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7d4
ret