Function at 0x10033cc0
Capabilities:
Get socket status

Disassembly:
mov eax, 0x2124
call fcn.10079660
push esi
mov esi, ecx
call fcn.10033aa0
test eax, eax
jne 0x10033cea
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
add esp, 0x2124
ret
push ebx
push ebp
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x800
lea edi, [esp + 0x131]
mov byte [esp + 0x130], bl
push ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x2c], ebx
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1003405a
mov ebp, 0x2000
mov edx, dword [esi + 0x38]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [edx + 0x64], ebx
jne 0x10033d72
mov eax, dword [esi + 0x28]
mov ecx, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
xor eax, eax
cmp ecx, ebx
jbe 0x10033d8b
mov edi, dword [esi + 0x2c]
lea edx, [esp + 0x30]
cmp dword [edx], edi
je 0x10033d8b
inc eax
add edx, 4
cmp eax, ecx
jb 0x10033d7f
cmp eax, ecx
jne 0x10033da4
cmp ecx, 0x40
jae 0x10033da4
mov ecx, dword [esi + 0x2c]
mov dword [esp + eax*4 + 0x30], ecx
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x2c]
push edx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x10034023
cmp eax, ebx
je 0x1003400b
jle 0x1003400b
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x2c]
push ecx
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x10033f19
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x130]
mov dword [esp + 0x10], ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x130]
push eax
push ecx
mov ecx, esi
call fcn.10033240
test eax, eax
jne 0x10033e52
cmp dword [esp + 0x10], ebx
jne 0x1003405a
lea eax, [esp + 0x1c]
mov ecx, dword [esi + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push ebp
push eax
lea eax, [esp + 0x148]
push eax
call dword [edx + 0x10]
cmp eax, 1
jne 0x1003405a
jmp 0x1003400b
cmp dword [esi + 0x3c], ebx
jne 0x10033ef6
cmp dword [esi + 0x38], ebx
je 0x10033ef6
cmp dword [esp + 0x10], ebx
je 0x10033f19
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [esp + 0x1c]
mov ecx, dword [esi + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push ebp
push eax
lea eax, [esp + 0x148]
push eax
call dword [edx + 0x10]
test eax, eax
je 0x1003405a
cmp dword [esp + 0x1c], ebx
je 0x10033f19
mov eax, dword [esp + 0x18]
push ebx
cmp eax, ebx
je 0x10033ed8
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.100336a0
test eax, eax
jne 0x10033f19
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x1003404d
jmp 0x10033f19
lea eax, [esp + 0x14]
lea ecx, [esp + 0x134]
push eax
push ecx
mov ecx, esi
call fcn.100336a0
test eax, eax
je 0x1003405a
jmp 0x10033f19
cmp dword [esp + 0x10], ebx
je 0x10033f19
lea edx, [esp + 0x10]
push ebx
lea eax, [esp + 0x134]
push edx
push eax
mov ecx, esi
call fcn.100336a0
test eax, eax
je 0x1003405a
mov edx, dword [esi + 0x2c]
lea ecx, [esp + 0x2c]
push ecx
push edx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1003400b
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x130]
mov dword [esp + 0x10], ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x130]
push eax
push ecx
mov ecx, esi
call fcn.10033380
test eax, eax
je 0x1003405a
cmp dword [esi + 0x3c], ebx
jne 0x10033fed
mov ecx, dword [esi + 0x38]
cmp ecx, ebx
je 0x10033fed
cmp dword [esp + 0x10], ebx
je 0x1003400b
lea eax, [esp + 0x1c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push ebp
push eax
lea eax, [esp + 0x148]
push eax
call dword [edx + 0x14]
test eax, eax
je 0x1003405a
cmp dword [esp + 0x1c], ebx
je 0x1003400b
cmp dword [esp + 0x18], ebx
je 0x10033fd3
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.10033570
test eax, eax
jne 0x1003400b
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x1003404d
jmp 0x1003400b
lea eax, [esp + 0x10]
lea ecx, [esp + 0x130]
push eax
push ecx
mov ecx, esi
call fcn.10033570
test eax, eax
je 0x1003405a
jmp 0x1003400b
cmp dword [esp + 0x10], ebx
je 0x1003400b
lea edx, [esp + 0x10]
lea eax, [esp + 0x130]
push edx
push eax
mov ecx, esi
call fcn.10033570
test eax, eax
je 0x1003405a
mov ecx, dword [esi + 0x10]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x10033d54
jmp 0x1003405a
cmp dword [0x1030ceb0], ebx
je 0x1003405a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CTransfer::Run:_select___failed__errno:_d__r_n
push str.CTransfer
push 4
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
jmp 0x1003405a
push eax
call fcn.1024cbfa
add esp, 4
mov dword [esp + 0x14], ebx
mov ecx, esi
call fcn.10033ba0
mov ecx, esi
call fcn.10033c60
mov edx, dword [esi + 0x2c]
mov ecx, 0x102f5df8
push edx
call fcn.10003e90
mov eax, dword [esi + 0x2c]
mov ecx, 0x102f5d78
push eax
call fcn.10001ff0
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x18]
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0x2124
ret