Function at 0x483cb1
Capabilities:
Receive data
Receive data on socket
Terminate process

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov eax, edx
mov esi, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], esi
cmp dword [edi + 0x1e8], ebx
jle 0x483cf1
mov eax, dword [edi + 0x10]
test eax, eax
je 0x483cd9
mov ebx, dword [eax + 8]
push edi
push str.AsyncSocket__p__is_PAUSED
push 4
push 0x40
push ebx
call fcn.004920d4
add esp, 0x14
jmp 0x4843af
push ebp
xor ebp, ebp
push 2
inc ebp
pop ecx
test eax, eax
je 0x4840a7
mov esi, dword [sym.imp.WS2_32.dll_recv]
cmp dword [edi + 0x224], ebx
je 0x483d7f
cmp dword [edi + 0x1240], ebx
jne 0x483d7f
push ecx
push dword [edi + 0x1fc]
push dword [edi + 0x1f8]
push dword [edi + 0x34]
call esi
mov ecx, dword [edi + 0x1f8]
cmp eax, 5
jl 0x483d4f
cmp byte [ecx], 0x16
movsx eax, byte [ecx + 5]
jne 0x483d4f
cmp byte [ecx + 1], 1
jb 0x483d4f
test eax, eax
je 0x483d79
cmp eax, ebp
je 0x483d79
cmp eax, 2
je 0x483d79
push dword [edi + 0x224]
call fcn.00589c40
mov eax, dword [edi + 0x1c0]
mov dword [edi + 0x224], ebx
pop ecx
test eax, eax
je 0x483d79
push dword [edi + 0x1dc]
push 0xffffffffffffffff
push edi
call eax
add esp, 0xc
mov dword [edi + 0x1240], ebp
mov dword [esp + 0x14], 0x1c
cmp dword [edi + 0x224], ebx
je 0x483fdc
push 0xf
push dword [edi + 0x22c]
call fcn.004c26a0
pop ecx
pop ecx
cmp word [edi + 0x40], bp
jne 0x483dcd
mov eax, dword [edi + 0x234]
push ebx
mov ecx, dword [eax]
mov eax, dword [eax + 8]
sub eax, ecx
push eax
lea eax, [edi + 0x23c]
add eax, ecx
push eax
push dword [edi + 0x34]
call esi
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x483dfb
mov ecx, dword [edi + 0x234]
lea eax, [esp + 0x14]
push eax
lea eax, [edi + 0x78]
push eax
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
push ebx
push eax
lea eax, [edi + 0x23c]
add eax, dword [ecx]
push eax
push dword [edi + 0x34]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
mov dword [esp + 0x10], eax
test esi, esi
jle 0x483fb0
mov eax, dword [edi + 0x234]
add dword [eax], esi
cmp dword [edi + 0x123c], ebx
jne 0x483e98
push dword [edi + 0x224]
call fcn.00589810
pop ecx
mov ecx, eax
sub ecx, ebx
je 0x483e8f
sub ecx, 1
je 0x483e4f
push eax
push dword [edi + 0x224]
call fcn.0058a440
pop ecx
pop ecx
cmp eax, ebp
jne 0x483e73
or esi, 0xffffffff
mov dword [edi + 0x21c], ebp
mov dword [esp + 0x10], esi
jmp 0x483e98
mov eax, dword [edi + 0x1c0]
mov dword [edi + 0x123c], ebp
mov dword [edi + 0x220], ebp
test eax, eax
je 0x483e73
push dword [edi + 0x1dc]
push 0xffffffffffffffff
push edi
call eax
add esp, 0xc
mov ecx, edi
call fcn.00483b81
jmp 0x483e98
push 0x1000
push 0x770260
push eax
call fcn.004bbc60
add esp, 0xc
call fcn.004bbd70
test eax, eax
jne 0x483e7c
cmp dword [edi + 0x123c], ebp
jne 0x483fb0
mov eax, dword [edi + 0x234]
cmp dword [eax], ebx
jbe 0x483fb0
mov ecx, dword [edi + 0x1f4]
mov eax, dword [edi + 0x1fc]
sub eax, ecx
push eax
mov eax, dword [edi + 0x1f8]
add eax, ecx
push eax
push dword [edi + 0x224]
call fcn.0058b280
add esp, 0xc
test eax, eax
jle 0x483f8f
add dword [edi + 0x1f4], eax
mov ecx, dword [edi + 0x1fc]
mov eax, ecx
sub eax, dword [edi + 0x1f4]
jne 0x483f5c
mov eax, dword [edi + 0x210]
add ecx, 0x1000
cmp ecx, eax
jl 0x483f0d
test eax, eax
cmove eax, ecx
mov ecx, eax
mov ebp, dword [edi + 0x1f8]
xor eax, eax
push 0x50f
push 0x756e50
inc eax
mov dword [edi + 0x1fc], ecx
push eax
push ecx
push ebp
call fcn.005f5e10
add esp, 0x14
mov dword [edi + 0x1f8], eax
test eax, eax
je 0x4843b6
cmp eax, ebp
je 0x483f5c
mov ecx, dword [edi + 0x1d4]
test ecx, ecx
je 0x483f5c
sub eax, ebp
push eax
push dword [edi + 0x1dc]
push edi
call ecx
add esp, 0xc
mov ecx, dword [edi + 0x1f4]
mov eax, dword [edi + 0x1fc]
sub eax, ecx
push eax
mov eax, dword [edi + 0x1f8]
add eax, ecx
push eax
push dword [edi + 0x224]
call fcn.0058b280
add esp, 0xc
test eax, eax
jg 0x483ee0
xor ebp, ebp
inc ebp
test eax, eax
jns 0x483fb0
push eax
push dword [edi + 0x224]
call fcn.0058a440
mov eax, dword [edi + 0x238]
pop ecx
pop ecx
cmp dword [eax], ebx
jbe 0x483fb0
mov ecx, edi
call fcn.00483b81
mov eax, dword [edi + 0x234]
cmp dword [eax], ebx
jne 0x4840a7
push ebx
push ebx
push ebp
push dword [edi + 0x22c]
call fcn.004c26d0
mov eax, dword [edi + 0x234]
add esp, 0x10
mov dword [eax], ebx
jmp 0x4840a7
mov ecx, dword [edi + 0x1f4]
cmp word [edi + 0x40], bp
jne 0x484008
mov eax, dword [edi + 0x1fc]
push ebx
sub eax, ecx
push eax
mov eax, dword [edi + 0x1f8]
add eax, ecx
push eax
push dword [edi + 0x34]
call esi
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x484033
lea eax, [esp + 0x14]
push eax
lea eax, [edi + 0x78]
push eax
mov eax, dword [edi + 0x1fc]
push ebx
sub eax, ecx
push eax
mov eax, dword [edi + 0x1f8]
add eax, ecx
push eax
push dword [edi + 0x34]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, eax
mov dword [esp + 0x10], eax
cmp word [edi + 0x40], bp
je 0x48409d
cmp word [edi + 0x78], 0x17
jne 0x48407b
mov eax, dword [edi + 0x80]
mov ecx, 0x75bba8
cmp eax, dword [ecx]
jne 0x48407b
mov eax, dword [edi + 0x84]
cmp eax, dword [ecx + 4]
jne 0x48407b
mov eax, dword [edi + 0x88]
cmp eax, dword [ecx + 8]
jne 0x48407b
push dword [edi + 0x8c]
call dword [sym.imp.WS2_32.dll_ntohl]
push 2
mov dword [edi + 0x7c], eax
pop eax
mov word [edi + 0x78], ax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x484087
mov eax, dword [eax + 8]
jmp 0x484089
mov eax, ebx
push esi
push edi
push str.AsyncSocket__p__recv_returned__d
push 4
push 0x40
push eax
call fcn.004920d4
add esp, 0x18
test esi, esi
jle 0x4840a7
add dword [edi + 0x1f4], esi
cmp dword [edi + 0x34], 0xffffffff
je 0x484138
lea esi, [edi + 0x1e8]
cmp dword [esi], ebx
jg 0x484134
mov edx, dword [edi + 0x1f0]
mov ecx, dword [edi + 0x1f4]
cmp edx, ecx
je 0x484134
test ecx, ecx
je 0x484134
mov ebp, dword [edi + 0x1bc]
mov dword [esp + 0x18], ebx
test ebp, ebp
je 0x48412e
push esi
lea eax, [edi + 0x1dc]
sub ecx, edx
push eax
lea eax, [edi + 0x1cc]
push eax
push ecx
lea eax, [esp + 0x28]
push eax
mov eax, dword [edi + 0x1f8]
add eax, edx
push eax
push edi
call ebp
add esp, 0x1c
cmp dword [edi + 0x1f8], ebx
je 0x48412e
mov eax, dword [edi + 0x1f4]
mov edx, dword [edi + 0x1f0]
sub eax, edx
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jg 0x48412e
test ecx, ecx
je 0x484134
lea eax, [edx + ecx]
mov dword [edi + 0x1f0], eax
cmp dword [edi + 0x34], 0xffffffff
jne 0x4840b7
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 0x1f0]
cmp eax, dword [edi + 0x1f4]
jne 0x484152
mov dword [edi + 0x1f4], ebx
mov dword [edi + 0x1f0], ebx
test esi, esi
jg 0x484279
cmp dword [esp + 0x1c], ebx
je 0x484279
cmp esi, 0xffffffff
jne 0x48417a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2738
je 0x4843ae
mov ecx, edi
call fcn.00482e8a
push 2
pop eax
push eax
push dword [edi + 0x34]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [edi + 0x34]
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [edi + 0x34], 0xffffffff
mov ecx, edi
call fcn.00482e8a
mov ebp, dword [edi + 0x224]
test ebp, ebp
je 0x4841c8
push ebp
call fcn.00589c40
pop ecx
lea esi, [edi + 0x20c]
mov ecx, esi
call fcn.0044de31
mov dword [edi + 0x224], ebx
mov dword [esi], ebx
mov dword [edi + 0x1254], ebx
mov dword [edi + 0x1250], ebx
test ebp, ebp
je 0x484201
cmp dword [edi + 0x220], ebx
jne 0x484228
mov eax, dword [edi + 0x1c0]
test eax, eax
je 0x4841f7
push dword [edi + 0x1dc]
push ebx
push edi
call eax
add esp, 0xc
cmp dword [edi + 0x220], ebx
je 0x48423d
jmp 0x484228
cmp dword [edi + 0x1ec], ebx
jg 0x484228
mov eax, dword [edi + 0x1c0]
test eax, eax
je 0x484220
push dword [edi + 0x1dc]
push ebx
push edi
call eax
add esp, 0xc
cmp dword [edi + 0x1ec], ebx
jle 0x48423d
mov eax, dword [edi + 0x1c4]
test eax, eax
je 0x48423d
push dword [edi + 0x1dc]
push edi
call eax
pop ecx
pop ecx
mov eax, dword [edi + 0x1f8]
mov dword [edi + 0x220], ebx
mov dword [edi + 0x1ec], ebx
test eax, eax
je 0x4843ae
cmp eax, 0x781260
je 0x484268
push 1
push eax
call fcn.005f5b20
pop ecx
pop ecx
mov dword [edi + 0x1f8], ebx
mov dword [edi + 0x1fc], ebx
jmp 0x4843ae
mov ecx, dword [edi + 0x1f0]
test ecx, ecx
je 0x4842ff
mov edx, dword [edi + 0x1f8]
mov eax, dword [edi + 0x1f4]
lea esi, [ecx + edx]
sub eax, ecx
je 0x4842d0
test edx, edx
jne 0x4842ac
call fcn.005f2820
mov dword [eax], 0x16
call fcn.005f0510
jmp 0x4842d0
test esi, esi
je 0x48429a
cmp dword [edi + 0x1fc], eax
jae 0x4842c5
call fcn.005f2820
mov dword [eax], 0x22
jmp 0x4842a5
push eax
push esi
push edx
call fcn.005c2aa0
add esp, 0xc
mov eax, dword [edi + 0x1f0]
sub dword [edi + 0x1f4], eax
mov eax, dword [edi + 0x1d4]
mov dword [edi + 0x1f0], ebx
test eax, eax
je 0x4842ff
sub esi, dword [edi + 0x1f8]
push esi
push dword [edi + 0x1dc]
push edi
call eax
add esp, 0xc
mov ecx, dword [edi + 0x1fc]
mov eax, ecx
sub eax, dword [edi + 0x1f4]
cmp eax, 0x400
jge 0x4843ae
mov eax, dword [edi + 0x210]
test eax, eax
je 0x48432a
cmp ecx, eax
jge 0x4843ae
add ecx, 0x1000
cmp ecx, eax
jl 0x48433b
test eax, eax
cmove eax, ecx
mov ecx, eax
mov esi, dword [edi + 0x1f8]
mov ebx, 0x5d5
push ebx
xor eax, eax
mov dword [edi + 0x1fc], ecx
push 0x756ef8
inc eax
push eax
push ecx
push esi
call fcn.005f5e10
add esp, 0x14
mov dword [edi + 0x1f8], eax
test eax, eax
jne 0x484391
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x756f18
push esi
push ebx
xor ecx, ecx
call fcn.0048f95e
push ebx
push 0x756f38
push 0x756f58
jmp 0x4843e0
cmp eax, esi
je 0x4843ae
mov ecx, dword [edi + 0x1d4]
test ecx, ecx
je 0x4843ae
sub eax, esi
push eax
push dword [edi + 0x1dc]
push edi
call ecx
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x50f
push esi
push edi
mov edx, 0x756e70
xor ecx, ecx
call fcn.0048f95e
push edi
push 0x756e90
push 0x756eb0
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d08b0
int3