Function at 0x4072d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
push edi
push 0
push 0
push dword [0x507aa8]
mov ebx, ecx
mov dword [esp + 0x24], 0
push dword [ebx + 0x10]
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
lea eax, [esp + 0x18]
push eax
push 0x8004667e
push dword [ebx + 0x10]
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
lea ebp, [ebx + 0x18]
mov edi, dword [sym.imp.WSOCK32.dll_recv]
xor esi, esi
mov eax, dword [ebx + 0x20]
cmp esi, eax
jae 0x40732e
mov ecx, dword [ebp]
nop dword [eax]
cmp byte [ecx + esi], 0
je 0x40736e
mov eax, dword [ebx + 0x20]
inc esi
cmp esi, eax
jb 0x407320
cmp eax, dword [ebx + 0x1c]
jne 0x40734f
mov eax, dword [ebp + 4]
test eax, eax
je 0x40733e
add eax, eax
jmp 0x407343
mov eax, 0x800
push eax
mov ecx, ebp
call fcn.0040beb0
test eax, eax
jne 0x407374
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x20]
push 0
push eax
mov eax, dword [ebp]
add eax, dword [ebx + 0x20]
push eax
push dword [ebx + 0x10]
call edi
cmp eax, 0xffffffff
je 0x407374
add dword [ebx + 0x20], eax
jmp 0x407312
mov dword [esp + 0x24], esi
jmp 0x407388
mov ecx, str.An_internal_error_has_occurred_in_the_debugger_engine._nContinue_running_the_script_without_the_debugger_
call fcn.0040b7f0
mov esi, eax
test esi, esi
jne 0x40753c
mov eax, dword [ebp]
push 0x20
push eax
mov dword [esp + 0x1c], eax
call fcn.004b7330
add esp, 8
xor ebp, ebp
mov edx, 0x4da828
mov dword [esp + 0x10], edx
test eax, eax
je 0x4075e4
lea esi, [eax + 1]
mov byte [eax], 0
mov al, byte [esi]
test al, al
je 0x4075eb
nop dword [eax]
cmp ebp, 0x10
je 0x4075da
cmp al, 0x2d
jne 0x4075da
mov cl, byte [esi + 1]
inc esi
test cl, cl
je 0x4075da
cmp byte [esi + 1], 0x20
jne 0x4073eb
cmp byte [esi + 2], al
je 0x4073eb
inc esi
mov byte [esi], cl
cmp cl, 0x69
mov dword [esp + ebp*4 + 0x28], esi
lea edi, [esi + 1]
mov eax, edi
cmovne eax, edx
mov edx, eax
lea eax, [ebp + 1]
cmovne ebp, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ebp
cmp cl, 0x2d
je 0x407596
cmp byte [edi], 0x22
jne 0x407562
mov al, byte [esi + 2]
add esi, 2
cmp al, 0x22
je 0x407453
nop word [eax + eax]
mov cl, al
cmp al, 0x5c
jne 0x407439
mov cl, byte [esi + 1]
lea edx, [esi + 1]
cmovne edx, esi
test cl, cl
je 0x407478
mov byte [edi], cl
lea esi, [edx + 1]
mov al, byte [esi]
inc edi
cmp al, 0x22
jne 0x407430
mov edx, dword [esp + 0x10]
inc esi
mov byte [edi], 0
cmp byte [esi], 0
je 0x407596
push 2
push 0x4dabc4
push esi
call fcn.004beb70
add esp, 0xc
test eax, eax
je 0x407579
mov esi, 1
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x30], 0
lea edi, [ebx + 0x28]
mov dword [ebx + 0x34], 0
cmp dword [ebx + 0x10], 0xffffffff
je 0x40753c
push edx
push dword [esp + 0x18]
push str._response_command__s__transaction_id__e
push edi
call fcn.0040b840
add esp, 0x10
cmp dword [edi + 0xc], 0
jne 0x4074d9
mov eax, dword [edi + 8]
mov ecx, edi
add eax, 2
push eax
call fcn.0040beb0
test eax, eax
jne 0x4074d9
mov ecx, dword [edi + 8]
add ecx, dword [edi]
mov ax, word [0x4db5c0]
mov word [ecx], ax
add dword [edi + 8], 2
push esi
push str._error_code__i_____response_
push edi
call fcn.0040b840
add esp, 0xc
mov ecx, ebx
call fcn.0040b160
mov esi, eax
test esi, esi
jne 0x40753c
cmp dword [ebx + 0x20], 0
lea ebp, [ebx + 0x18]
je 0x407525
mov edi, dword [esp + 0x24]
mov eax, dword [ebp + 8]
inc edi
cmp edi, eax
jae 0x407520
mov ecx, dword [ebp]
sub eax, edi
push eax
lea eax, [ecx + edi]
push eax
push ecx
call fcn.004b7db0
mov eax, dword [ebp + 8]
add esp, 0xc
sub eax, edi
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x38]
cmp eax, 2
je 0x40730a
test eax, eax
je 0x40753c
mov ecx, ebx
call fcn.00407280
mov eax, dword [ebx + 0x10]
cmp eax, 0xffffffff
je 0x407558
push 0x21
push 0x408
push dword [0x507aa8]
push eax
call dword [sym.imp.WSOCK32.dll_WSAAsyncSelect]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
push 0x4dabc4
push edi
call fcn.004b7460
mov esi, eax
add esp, 8
test esi, esi
je 0x40759a
mov byte [esi], 0
mov al, byte [esi + 1]
inc esi
mov edx, dword [esp + 0x1c]
mov ebp, edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
test al, al
je 0x4075d0
mov edx, ecx
jmp 0x4073c0
mov dword [esp + 0x10], edx
mov edi, dword [esp + 0x10]
xor esi, esi
mov ecx, dword [esp + 0x14]
mov eax, dword [esi*8 + 0x5048c0]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4075ef
test dl, dl
je 0x4075cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4075ef
add eax, 2
add ecx, 2
test dl, dl
jne 0x4075b0
xor eax, eax
jmp 0x4075f4
mov edi, ecx
mov ebp, edx
mov dword [esp + 0x10], edi
jmp 0x40759e
mov esi, 1
jmp 0x407481
mov edi, 0x4da828
jmp 0x40759e
mov edi, edx
jmp 0x40759e
sbb eax, eax
or eax, 1
test eax, eax
je 0x407608
inc esi
cmp esi, 0x1a
jne 0x4075a0
mov esi, 4
jmp 0x40747d
push edi
push ebp
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
mov eax, dword [esi*8 + 0x5048c4]
call eax
mov esi, eax
test esi, esi
jne 0x407651
cmp dword [ebx + 0x30], eax
jne 0x40763b
push edi
push dword [esp + 0x18]
lea eax, [ebx + 0x28]
push str._response_command__s__transaction_id__e___
push eax
call fcn.0040b840
add esp, 0x10
mov ecx, ebx
call fcn.0040b160
mov esi, eax
test esi, esi
jne 0x40753c
jmp 0x4074f5
cmp esi, 0xffffffff
jne 0x40747d
xor esi, esi
jmp 0x4074f5