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

Disassembly:
mov eax, 0x2208
call fcn.005d9990
mov eax, dword [0x648c90]
push ebp
push esi
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x496082
mov ecx, dword [esp + 0x2214]
cmp dword [esi + 0x148], ecx
je 0x49608d
mov esi, dword [esi + 0x14c]
cmp esi, ebp
jne 0x496070
pop esi
xor eax, eax
pop ebp
add esp, 0x2208
ret
push ebx
mov ebx, dword [esp + 0x221c]
mov ecx, ebx
shr ecx, 0x10
test ecx, ecx
push edi
je 0x49629a
cmp eax, ebp
mov ebx, dword [esi + 0x13c]
je 0x496eba
cmp esi, eax
je 0x4960cc
mov eax, dword [eax + 0x14c]
cmp eax, ebp
jne 0x4960b1
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x2208
ret
lea edx, [esp + 0x148]
push 0x1068
push edx
call fcn.004232e0
lea eax, [esp + 0x150]
push eax
push 0xa93
call fcn.00424130
mov edi, dword [0x67b0c8]
add esp, 0x10
cmp edi, ebp
je 0x496149
lea ecx, [ecx]
cmp dword [edi + 8], ebx
jne 0x496112
push edi
call fcn.00508d40
add esp, 4
test eax, eax
je 0x49611e
mov edi, dword [edi + 0x819c]
cmp edi, ebp
jne 0x496100
jmp 0x496149
lea ecx, [esp + 0x148]
push ecx
lea ebp, [edi + 0x440]
push 0x1068
push ebp
call fcn.00425550
push edi
call fcn.00598080
push edi
push ebp
call fcn.00597e60
add esp, 0x18
xor ebp, ebp
push 2
lea edx, [esp + 0x14c]
push 0x5f7d7c
push edx
call fcn.005f18c9
add esp, 0xc
test eax, eax
jne 0x496193
lea eax, [esp + 0x14a]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x496170
sub eax, edx
inc eax
push eax
lea eax, [esp + 0x14e]
push eax
lea ecx, [esp + 0x150]
push ecx
call fcn.005daa60
add esp, 0xc
lea edx, [esp + 0x148]
push 0x20
push edx
call fcn.0055ac10
mov eax, dword [0x634560]
add esp, 8
cmp eax, ebp
je 0x4961c2
mov edi, edi
cmp dword [eax + 0x1414], ebx
je 0x496204
mov eax, dword [eax + 0x2104]
cmp eax, ebp
jne 0x4961b0
mov eax, dword [0x68d418]
cmp eax, ebp
je 0x4961e2
jmp 0x4961d0
cmp dword [eax + 0xc08], ebx
je 0x49621d
mov eax, dword [eax + 0xd1c]
cmp eax, ebp
jne 0x4961d0
mov eax, dword [0x6696c8]
cmp eax, ebp
je 0x49624c
jmp 0x4961f0
cmp dword [eax + 0x1038], ebx
je 0x496234
mov eax, dword [eax + 0x1128]
cmp eax, ebp
jne 0x4961f0
jmp 0x49624c
lea ecx, [esp + 0x148]
push ecx
push eax
mov dword [eax + 0x1414], ebp
call fcn.00434cd0
add esp, 8
jmp 0x49624c
lea edx, [esp + 0x148]
push edx
push ebp
push eax
mov dword [eax + 0xc08], ebp
call fcn.00546ec0
jmp 0x496249
lea ecx, [esp + 0x148]
push ecx
push ebp
push eax
mov dword [eax + 0x1038], ebp
call fcn.0049fd30
add esp, 0xc
mov eax, dword [0x648c90]
cmp eax, ebp
je 0x496b47
lea esp, [esp]
cmp esi, eax
je 0x496284
mov eax, dword [eax + 0x14c]
cmp eax, ebp
jne 0x496260
push ebx
call fcn.00494ff0
add esp, 4
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x2208
ret
push esi
call fcn.00494f70
add esp, 4
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x2208
ret
lea edx, [esp + 0x11b0]
push 0x1068
push edx
mov dword [esi + 0x140], 0xb4
call fcn.004232e0
mov ebp, dword [sym.imp.WSOCK32.dll_recv]
add esp, 8
xor edi, edi
push 0
lea eax, [esp + 0x11b4]
push 0x1068
push eax
call fcn.00423310
mov edx, dword [esi + 0x148]
add esp, 8
sub eax, edi
push eax
lea ecx, [esp + edi + 0x11b8]
push ecx
push edx
call ebp
cmp eax, 0xffffffff
je 0x496310
test eax, eax
je 0x49634f
add edi, eax
lea eax, [esp + 0x11b0]
push 0x1068
push eax
call fcn.00423310
add esp, 8
cmp edi, eax
jl 0x4962c1
cmp bx, 0x20
jne 0x4966f8
mov eax, dword [0x648c90]
mov ebx, dword [esi + 0x13c]
xor ebp, ebp
cmp eax, ebp
je 0x496eba
nop
cmp esi, eax
je 0x496538
mov eax, dword [eax + 0x14c]
cmp eax, ebp
jne 0x496330
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x2208
ret
test edi, edi
jne 0x496310
mov eax, dword [0x648c90]
mov ebx, dword [esi + 0x13c]
xor ebp, ebp
cmp eax, ebp
je 0x496eba
cmp esi, eax
je 0x496383
mov eax, dword [eax + 0x14c]
cmp eax, ebp
jne 0x496368
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x2208
ret
lea ecx, [esp + 0x148]
push 0x1068
push ecx
call fcn.004232e0
lea edx, [esp + 0x150]
push edx
push 0xa94
call fcn.00424130
mov edi, dword [0x67b0c8]
add esp, 0x10
cmp edi, ebp
je 0x4963fd
cmp dword [edi + 8], ebx
jne 0x4963c6
push edi
call fcn.00508d40
add esp, 4
test eax, eax
je 0x4963d2
mov edi, dword [edi + 0x819c]
cmp edi, ebp
jne 0x4963b4
jmp 0x4963fd
lea eax, [esp + 0x148]
push eax
lea ebp, [edi + 0x440]
push 0x1068
push ebp
call fcn.00425550
push edi
call fcn.00598080
push edi
push ebp
call fcn.00597e60
add esp, 0x18
xor ebp, ebp
push 2
lea ecx, [esp + 0x14c]
push 0x5f7d7c
push ecx
call fcn.005f18c9
add esp, 0xc
test eax, eax
jne 0x496445
lea eax, [esp + 0x14a]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x496422
sub eax, edx
inc eax
push eax
lea edx, [esp + 0x14e]
push edx
lea eax, [esp + 0x150]
push eax
call fcn.005daa60
add esp, 0xc
lea ecx, [esp + 0x148]
push 0x20
push ecx
call fcn.0055ac10
mov eax, dword [0x634560]
add esp, 8
cmp eax, ebp
je 0x496472
cmp dword [eax + 0x1414], ebx
je 0x4964b4
mov eax, dword [eax + 0x2104]
cmp eax, ebp
jne 0x496460
mov eax, dword [0x68d418]
cmp eax, ebp
je 0x496492
jmp 0x496480
cmp dword [eax + 0xc08], ebx
je 0x4964cd
mov eax, dword [eax + 0xd1c]
cmp eax, ebp
jne 0x496480
mov eax, dword [0x6696c8]
cmp eax, ebp
je 0x4964fc
jmp 0x4964a0
cmp dword [eax + 0x1038], ebx
je 0x4964e4
mov eax, dword [eax + 0x1128]
cmp eax, ebp
jne 0x4964a0
jmp 0x4964fc
lea edx, [esp + 0x148]
push edx
push eax
mov dword [eax + 0x1414], ebp
call fcn.00434cd0
add esp, 8
jmp 0x4964fc
lea ecx, [esp + 0x148]
push ecx
push ebp
push eax
mov dword [eax + 0xc08], ebp
call fcn.00546ec0
jmp 0x4964f9
lea edx, [esp + 0x148]
push edx
push ebp
push eax
mov dword [eax + 0x1038], ebp
call fcn.0049fd30
add esp, 0xc
mov eax, dword [0x648c90]
cmp eax, ebp
je 0x496b47
lea esp, [esp]
cmp esi, eax
je 0x496284
mov eax, dword [eax + 0x14c]
cmp eax, ebp
jne 0x496510
push ebx
call fcn.00494ff0
add esp, 4
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x2208
ret
lea eax, [esp + 0x148]
push 0x1068
push eax
call fcn.004232e0
lea ecx, [esp + 0x150]
push ecx
push 0xa94
call fcn.00424130
mov edi, dword [0x67b0c8]
add esp, 0x10
cmp edi, ebp
je 0x4965b9
lea esp, [esp]
cmp dword [edi + 8], ebx
jne 0x496582
push edi
call fcn.00508d40
add esp, 4
test eax, eax
je 0x49658e
mov edi, dword [edi + 0x819c]
cmp edi, ebp
jne 0x496570
jmp 0x4965b9
lea edx, [esp + 0x148]
push edx
lea ebp, [edi + 0x440]
push 0x1068
push ebp
call fcn.00425550
push edi
call fcn.00598080
push edi
push ebp
call fcn.00597e60
add esp, 0x18
xor ebp, ebp
push 2
lea eax, [esp + 0x14c]
push 0x5f7d7c
push eax
call fcn.005f18c9
add esp, 0xc
test eax, eax
jne 0x496603
lea eax, [esp + 0x14a]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4965e0
sub eax, edx
inc eax
push eax
lea ecx, [esp + 0x14e]
push ecx
lea edx, [esp + 0x150]
push edx
call fcn.005daa60
add esp, 0xc
lea eax, [esp + 0x148]
push 0x20
push eax
call fcn.0055ac10
mov eax, dword [0x634560]
add esp, 8
cmp eax, ebp
je 0x496632
mov edi, edi
cmp dword [eax + 0x1414], ebx
je 0x496674
mov eax, dword [eax + 0x2104]
cmp eax, ebp
jne 0x496620
mov eax, dword [0x68d418]
cmp eax, ebp
je 0x496652
jmp 0x496640
cmp dword [eax + 0xc08], ebx
je 0x49668d
mov eax, dword [eax + 0xd1c]
cmp eax, ebp
jne 0x496640
mov eax, dword [0x6696c8]
cmp eax, ebp
je 0x4966bc
jmp 0x496660
cmp dword [eax + 0x1038], ebx
je 0x4966a4
mov eax, dword [eax + 0x1128]
cmp eax, ebp
jne 0x496660
jmp 0x4966bc
lea ecx, [esp + 0x148]
push ecx
push eax
mov dword [eax + 0x1414], ebp
call fcn.00434cd0
add esp, 8
jmp 0x4966bc
lea edx, [esp + 0x148]
push edx
push ebp
push eax
mov dword [eax + 0xc08], ebp
call fcn.00546ec0
jmp 0x4966b9
lea ecx, [esp + 0x148]
push ecx
push ebp
push eax
mov dword [eax + 0x1038], ebp
call fcn.0049fd30
add esp, 0xc
mov eax, dword [0x648c90]
cmp eax, ebp
je 0x496b47
lea esp, [esp]
cmp esi, eax
je 0x496284
mov eax, dword [eax + 0x14c]
cmp eax, ebp
jne 0x4966d0
push ebx
call fcn.00494ff0
add esp, 4
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x2208
ret
mov edx, dword [0x6a0f40]
mov eax, dword [esi + 0x148]
mov ebp, dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
push 0
push 0
push edx
push eax
call ebp
mov eax, dword [esi + 0x144]
mov ebx, 2
cmp eax, ebx
jne 0x496b5d
mov eax, dword [esi + 0x138]
cmp eax, ebx
je 0x496738
cmp eax, 3
jne 0x496868
mov cl, byte [esp + 0x11b0]
xor edi, edi
cmp cl, 0x20
lea eax, [esp + 0x11b0]
jne 0x496759
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x496750
push 0x20
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x496789
cmp byte [eax], 0x20
jne 0x496779
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x496770
cmp byte [eax], 0
je 0x496789
push eax
call fcn.005d9a55
add esp, 4
mov edi, eax
cmp dword [esi + 0x138], ebx
jne 0x4967a9
cmp edi, 0x191
je 0x496eba
cmp edi, 0x197
je 0x496eba
cmp edi, 0xc8
jne 0x496868
mov edi, dword [0x67b0c8]
test edi, edi
je 0x4967e2
mov eax, dword [esi + 0x13c]
cmp dword [edi + 8], eax
jne 0x4967d8
mov ecx, dword [esi + 0x134]
test ecx, ecx
je 0x49689f
mov edi, dword [edi + 0x819c]
test edi, edi
jne 0x4967c5
mov edi, dword [0x634560]
test edi, edi
je 0x496808
mov eax, dword [esi + 0x13c]
cmp dword [edi + 0x1414], eax
je 0x4968d6
mov edi, dword [edi + 0x2104]
test edi, edi
jne 0x4967f2
mov edi, dword [0x68d418]
test edi, edi
je 0x496838
mov eax, dword [esi + 0x13c]
cmp dword [edi + 0xc08], eax
jne 0x49682e
mov ecx, dword [esi + 0x134]
test ecx, ecx
je 0x496919
mov edi, dword [edi + 0xd1c]
test edi, edi
jne 0x496818
mov edi, dword [0x6696c8]
test edi, edi
je 0x496868
mov eax, dword [esi + 0x13c]
cmp dword [edi + 0x1038], eax
jne 0x49685e
mov ecx, dword [esi + 0x134]
test ecx, ecx
je 0x496973
mov edi, dword [edi + 0x1128]
test edi, edi
jne 0x496848
mov eax, dword [0x648c90]
mov ebx, dword [esi + 0x13c]
xor ebp, ebp
cmp eax, ebp
je 0x496eba
lea ecx, [ecx]
cmp esi, eax
je 0x4969a8
mov eax, dword [eax + 0x14c]
cmp eax, ebp
jne 0x496880
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x2208
ret
mov ecx, dword [esi + 0x148]
mov dword [edi + 4], ecx
push esi
mov dword [esi + 0x148], 0xffffffff
call fcn.00494f70
mov edx, dword [edi + 4]
push 0
push edx
call fcn.00599170
add esp, 0xc
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x2208
ret
mov eax, dword [esi + 0x134]
test eax, eax
jne 0x496808
mov eax, dword [esi + 0x148]
mov dword [edi + 0x20fc], eax
push esi
mov dword [esi + 0x148], 0xffffffff
call fcn.00494f70
push edi
call fcn.00435990
add esp, 8
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x2208
ret
mov ecx, dword [esi + 0x148]
mov dword [edi + 0xd14], ecx
push esi
mov dword [esi + 0x148], 0xffffffff
call fcn.00494f70
mov eax, dword [edi + 0xcb4]
add esp, 4
test eax, eax
push edi
je 0x49695b
call fcn.005483d0
add esp, 4
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x2208
ret
call fcn.00547ff0
add esp, 4
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x2208
ret
mov edx, dword [esi + 0x148]
mov dword [edi + 0x111c], edx
push esi
mov dword [esi + 0x148], 0xffffffff
call fcn.00494f70
push edi
call fcn.004a08e0
add esp, 8
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x2208
ret
lea eax, [esp + 0x148]
push 0x1068
push eax
call fcn.004232e0
lea ecx, [esp + 0x150]
push ecx
push 0xa97
call fcn.00424130
mov edi, dword [0x67b0c8]
add esp, 0x10
cmp edi, ebp
je 0x496a29
lea esp, [esp]
cmp dword [edi + 8], ebx
jne 0x4969f2
push edi
call fcn.00508d40
add esp, 4
test eax, eax
je 0x4969fe
mov edi, dword [edi + 0x819c]
cmp edi, ebp
jne 0x4969e0
jmp 0x496a29
lea edx, [esp + 0x148]
push edx
lea ebp, [edi + 0x440]
push 0x1068
push ebp
call fcn.00425550
push edi
call fcn.00598080
push edi
push ebp
call fcn.00597e60
add esp, 0x18
xor ebp, ebp
push 2
lea eax, [esp + 0x14c]
push 0x5f7d7c
push eax
call fcn.005f18c9
add esp, 0xc
test eax, eax
jne 0x496a73
lea eax, [esp + 0x14a]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x496a50
sub eax, edx
inc eax
push eax
lea ecx, [esp + 0x14e]
push ecx
lea edx, [esp + 0x150]
push edx
call fcn.005daa60
add esp, 0xc
lea eax, [esp + 0x148]
push 0x20
push eax
call fcn.0055ac10
mov eax, dword [0x634560]
add esp, 8
cmp eax, ebp
je 0x496aa2
mov edi, edi
cmp dword [eax + 0x1414], ebx
je 0x496ae4
mov eax, dword [eax + 0x2104]
cmp eax, ebp
jne 0x496a90
mov eax, dword [0x68d418]
cmp eax, ebp
je 0x496ac2
jmp 0x496ab0
cmp dword [eax + 0xc08], ebx
je 0x496afd
mov eax, dword [eax + 0xd1c]
cmp eax, ebp
jne 0x496ab0
mov eax, dword [0x6696c8]
cmp eax, ebp
je 0x496b2c
jmp 0x496ad0
cmp dword [eax + 0x1038], ebx
je 0x496b14
mov eax, dword [eax + 0x1128]
cmp eax, ebp
jne 0x496ad0
jmp 0x496b2c
lea ecx, [esp + 0x148]
push ecx
push eax
mov dword [eax + 0x1414], ebp
call fcn.00434cd0
add esp, 8
jmp 0x496b2c
lea edx, [esp + 0x148]
push edx
push ebp
push eax
mov dword [eax + 0xc08], ebp
call fcn.00546ec0
jmp 0x496b29
lea ecx, [esp + 0x148]
push ecx
push ebp
push eax
mov dword [eax + 0x1038], ebp
call fcn.0049fd30
add esp, 0xc
mov eax, dword [0x648c90]
cmp eax, ebp
je 0x496b47
cmp esi, eax
je 0x496284
mov eax, dword [eax + 0x14c]
cmp eax, ebp
jne 0x496b35
push ebx
call fcn.00494ff0
add esp, 4
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x2208
ret
test eax, eax
movzx ecx, byte [esp + 0x11b1]
jne 0x496d21
cmp ecx, 0x5a
jl 0x496b77
cmp ecx, 0x5d
jle 0x496b7c
mov ecx, 0x5e
cmp dword [esi + 0x138], ebx
jne 0x496c8c
cmp ecx, 0x5a
jne 0x496c8c
mov edi, dword [0x67b0c8]
test edi, edi
je 0x496bba
mov eax, dword [esi + 0x13c]
cmp dword [edi + 8], eax
jne 0x496bb0
mov edx, dword [esi + 0x134]
test edx, edx
je 0x496be4
mov edi, dword [edi + 0x819c]
test edi, edi
jne 0x496ba1
mov edi, dword [0x634560]
test edi, edi
je 0x496c29
mov eax, dword [esi + 0x13c]
lea ebx, [ebx]
cmp dword [edi + 0x1414], eax
je 0x496c1b
mov edi, dword [edi + 0x2104]
test edi, edi
jne 0x496bd0
jmp 0x496c29
mov edx, dword [esi + 0x148]
mov dword [edi + 4], edx
push esi
mov dword [esi + 0x148], 0xffffffff
call fcn.00494f70
mov eax, dword [edi + 4]
push 0
push eax
call fcn.00599170
add esp, 0xc
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x2208
ret
mov eax, dword [esi + 0x134]
test eax, eax
je 0x496f08
mov edi, dword [0x68d418]
test edi, edi
je 0x496c5c
mov eax, dword [esi + 0x13c]
lea esp, [esp]
cmp dword [edi + 0xc08], eax
jne 0x496c52
mov edx, dword [esi + 0x134]
test edx, edx
je 0x496c92
mov edi, dword [edi + 0xd1c]
test edi, edi
jne 0x496c40
mov edi, dword [0x6696c8]
test edi, edi
je 0x496c8c
mov eax, dword [esi + 0x13c]
lea esp, [esp]
cmp dword [edi + 0x1038], eax
jne 0x496c82
mov edx, dword [esi + 0x134]
test edx, edx
je 0x496cec
mov edi, dword [edi + 0x1128]
test edi, edi
jne 0x496c70
push ecx
jmp 0x496eaa
mov edx, dword [esi + 0x148]
mov dword [edi + 0xd14], edx
push esi
mov dword [esi + 0x148], 0xffffffff
call fcn.00494f70
mov eax, dword [edi + 0xcb4]
add esp, 4
test eax, eax
push edi
je 0x496cd4
call fcn.005483d0
add esp, 4
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x2208
ret
call fcn.00547ff0
add esp, 4
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x2208
ret
mov eax, dword [esi + 0x148]
mov dword [edi + 0x111c], eax
push esi
mov dword [esi + 0x148], 0xffffffff
call fcn.00494f70
push edi
call fcn.004a08e0
add esp, 8
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x2208
ret
test ecx, ecx
mov dword [esp + 0x10], ecx
jl 0x496d2e
cmp ecx, 9
jle 0x496d37
mov ecx, 9
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x138]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x496d49
jmp dword [eax*4 + 0x497220]
mov eax, ecx
sub eax, 0
je 0x496d94
sub eax, ebx
jne case.default.0x496d49
push 3
push esi
call fcn.004957f0
add esp, 8
test eax, eax
je 0x496eba
pop edi
pop ebx
mov dword [esi + 0x138], 3
pop esi
mov eax, 1
pop ebp
add esp, 0x2208
ret
test ecx, ecx
jne case.default.0x496d49
push 4
push esi
call fcn.004957f0
add esp, 8
test eax, eax
je 0x496eba
pop edi
pop ebx
mov dword [esi + 0x138], 4
pop esi
mov eax, 1
pop ebp
add esp, 0x2208
ret
test ecx, ecx
jne case.default.0x496d49
mov edi, dword [0x67b0c8]
test edi, edi
je 0x496dfd
mov eax, dword [esi + 0x13c]
lea esp, [esp]
cmp dword [edi + 8], eax
jne 0x496df3
mov ecx, dword [esi + 0x134]
test ecx, ecx
je 0x496ec7
mov edi, dword [edi + 0x819c]
test edi, edi
jne 0x496de0
mov edi, dword [0x634560]
test edi, edi
mov dl, byte [esp + 0x11b3]
mov ebx, 1
je 0x496e36
mov eax, dword [esi + 0x13c]
lea esp, [esp]
cmp dword [edi + 0x1414], eax
je 0x496efe
mov edi, dword [edi + 0x2104]
test edi, edi
jne 0x496e20
mov edi, dword [0x68d418]
test edi, edi
je 0x496e66
mov eax, dword [esi + 0x13c]
cmp dword [edi + 0xc08], eax
jne 0x496e5c
mov ecx, dword [esi + 0x134]
test ecx, ecx
je 0x497008
mov edi, dword [edi + 0xd1c]
test edi, edi
jne 0x496e46
mov edi, dword [0x6696c8]
test edi, edi
je case.default.0x496d49
mov ecx, dword [esi + 0x13c]
cmp dword [edi + 0x1038], ecx
jne 0x496e98
mov eax, dword [esi + 0x134]
test eax, eax
je 0x49705c
cmp eax, ebx
jne 0x496e98
cmp dl, bl
je 0x49708e
mov edi, dword [edi + 0x1128]
test edi, edi
jne 0x496e76
mov eax, dword [esp + 0x10]
add eax, 0x64
push eax
mov ecx, dword [esi + 0x13c]
push ecx
push esi
call fcn.00495030
add esp, 0xc
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x2208
ret
mov edx, dword [esi + 0x148]
mov dword [edi + 4], edx
push esi
mov dword [esi + 0x148], 0xffffffff
call fcn.00494f70
mov eax, dword [edi + 4]
push 0
push eax
call fcn.00599170
add esp, 0xc
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x2208
ret
mov eax, dword [esi + 0x134]
test eax, eax
jne 0x496f19
mov ecx, dword [esi + 0x148]
mov dword [edi + 0x20fc], ecx
jmp 0x4968f0
cmp eax, ebx
jne 0x496e36
cmp dl, bl
jne 0x496e36
mov dword [edi + 0x20ec], 0
mov dword [esi + 0x138], 5
movzx edx, byte [esp + 0x11b7]
movzx eax, byte [esp + 0x11b6]
movzx ecx, byte [esp + 0x11b5]
push edx
movzx edx, byte [esp + 0x11b8]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push str._d._d._d._d
push eax
call fcn.005d9929
movzx cx, byte [esp + 0x11d0]
movzx dx, byte [esp + 0x11d1]
add esp, 0x18
push 0x21
push 0x8032
shl ecx, 8
add ecx, edx
mov word [edi + 0x1406], cx
mov eax, dword [0x6a0f40]
mov ecx, dword [esi + 0x148]
push eax
push ecx
call ebp
mov edx, dword [edi + 0x1418]
movzx eax, word [edi + 0x1406]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
push eax
lea edx, [edi + 0x1070]
push edx
lea eax, [esp + 0x11c0]
push 0x5f6380
push eax
call fcn.005d9929
mov ecx, dword [edi + 0x2100]
push ecx
lea edx, [esp + 0x11cc]
push 0
push edx
call fcn.00598db0
add esp, 0x24
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
add esp, 0x2208
ret
mov eax, dword [esi + 0x148]
mov dword [edi + 0xd14], eax
push esi
mov dword [esi + 0x148], 0xffffffff
call fcn.00494f70
mov eax, dword [edi + 0xcb4]
add esp, 4
test eax, eax
push edi
je 0x497047
call fcn.005483d0
add esp, 4
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
add esp, 0x2208
ret
call fcn.00547ff0
add esp, 4
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
add esp, 0x2208
ret
mov ecx, dword [esi + 0x148]
mov dword [edi + 0x111c], ecx
push esi
mov dword [esi + 0x148], 0xffffffff
call fcn.00494f70
push edi
call fcn.004a08e0
add esp, 8
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
add esp, 0x2208
ret
mov dword [edi + 0x1118], 0
mov dword [esi + 0x138], 5
movzx edx, byte [esp + 0x11b7]
movzx eax, byte [esp + 0x11b6]
movzx ecx, byte [esp + 0x11b5]
push edx
movzx edx, byte [esp + 0x11b8]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push str._d._d._d._d
push eax
call fcn.005d9929
movzx cx, byte [esp + 0x11d0]
movzx dx, byte [esp + 0x11d1]
add esp, 0x18
push 0x21
push 0x8032
shl ecx, 8
add ecx, edx
mov word [edi + 0x1048], cx
mov eax, dword [0x6a0f40]
mov ecx, dword [esi + 0x148]
push eax
push ecx
call ebp
mov edx, dword [edi + 0x1124]
mov eax, dword [edi + 0x1038]
push edx
push eax
push edi
call fcn.0049ef10
push ecx
xor ecx, ecx
fstp qword [esp]
mov cx, word [edi + 0x1048]
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
push eax
lea eax, [edi + 0x7cc]
push eax
add edi, 4
push edi
call fcn.00545b50
add esp, 0x20
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
add esp, 0x2208
ret
test ecx, ecx
jne case.default.0x496d49
mov edi, dword [0x634560]
test edi, edi
mov cl, byte [esp + 0x11b3]
mov ebx, 1
je 0x4971a3
mov eax, dword [esi + 0x13c]
cmp dword [edi + 0x1414], eax
jne 0x497199
cmp dword [esi + 0x134], ebx
jne 0x497199
cmp cl, bl
je 0x4971da
mov edi, dword [edi + 0x2104]
test edi, edi
jne 0x497185
mov edi, dword [0x6696c8]
test edi, edi
je case.default.0x496d49
mov eax, dword [esi + 0x13c]
cmp dword [edi + 0x1038], eax
jne 0x4971cb
cmp dword [esi + 0x134], ebx
jne 0x4971cb
cmp cl, bl
je 0x49720c
mov edi, dword [edi + 0x1128]
test edi, edi
jne 0x4971b7
jmp case.default.0x496d49
mov ecx, dword [esi + 0x148]
mov dword [edi + 0x20fc], ecx
push esi
mov dword [esi + 0x148], 0xffffffff
call fcn.00494f70
push edi
call fcn.004352e0
add esp, 8
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
add esp, 0x2208
ret
mov edx, dword [esi + 0x148]
mov dword [edi + 0x111c], edx
jmp 0x497068