Function at 0x4333d1
Capabilities:
Connect socket
Get socket status
Resolve function by parsing pe exports

Disassembly:
push 0x2c4
mov eax, 0x489676
call fcn.0045e574
mov ebx, ecx
mov dword [ebp - 0x26c], ebx
lea eax, [ebx + 0x80]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00410726
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x268], eax
cmp byte [ebx + 0xa8], al
je 0x433424
cmp byte [ebp + 8], al
jne 0x43341e
mov dword [ebp - 0x268], 0xfffffffd
jmp 0x433467
mov byte [ebx + 0xa8], al
cmp byte [ebx + 0x70], al
je 0x43345f
cmp byte [ebp + 0xc], al
je 0x43345c
cmp byte [ebx + 0x78], al
je 0x433446
mov ecx, ebx
call fcn.00433033
mov dword [ebp - 0x268], 0xfffffffe
jmp 0x433467
xor ecx, ecx
cmp byte [ebx + 0xa9], cl
push 0xfffffffffffffffe
pop eax
cmovne eax, ecx
mov dword [ebp - 0x268], eax
jmp 0x433467
mov byte [ebx + 0x78], al
cmp byte [ebx + 0xa9], al
je 0x433472
mov ebx, dword [ebp - 0x268]
jmp 0x433d05
xor eax, eax
inc eax
cmp byte [ebx + 0x6c], 0
mov dword [ebp - 0x27c], eax
jne 0x433489
mov byte [ebx + 0x6c], al
call fcn.00420106
mov ecx, ebx
call fcn.00433033
call fcn.00404b88
mov ecx, dword [ebx + 0xf4]
mov edi, eax
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], edx
cmp ecx, dword [ebx + 0xf8]
jne 0x4334b8
mov ecx, ebx
call fcn.004331a5
mov esi, dword [ebx + 0x11c]
xor ecx, ecx
mov eax, dword [ebx + 0x118]
cmp esi, ecx
jl 0x43352e
jg 0x4334d0
cmp eax, ecx
jbe 0x43352e
mov edx, dword [ebx + 0x110]
add edx, eax
mov eax, dword [ebx + 0x114]
adc eax, esi
cmp eax, dword [ebp - 0x278]
jg 0x43352e
jl 0x4334ee
cmp edx, edi
jae 0x43352e
mov dword [ebx + 0x118], ecx
mov dword [ebx + 0x11c], ecx
mov eax, dword [ebx + 0xf8]
sub eax, dword [ebx + 0xf4]
cdq
push 0x1c
pop edi
idiv edi
xor edx, edx
mov ecx, eax
mov eax, dword [ebx + 0x108]
inc eax
div ecx
mov dword [ebx + 0x108], edx
test edx, edx
jne 0x43352a
mov ecx, ebx
call fcn.004331a5
xor ecx, ecx
jmp 0x433531
push 0x1c
pop edi
mov edx, dword [ebx + 0xf4]
mov eax, dword [ebx + 0xf8]
cmp edx, eax
je 0x433d02
xor esi, esi
inc esi
cmp byte [ebx + 0x6d], 0
mov dword [ebp - 0x280], esi
je 0x433567
sub eax, edx
mov dword [ebx + 0x108], ecx
cdq
idiv edi
mov esi, eax
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x284], ecx
push 0xfffffffffffffffe
pop edi
test esi, esi
jle 0x433cd5
test edi, edi
je 0x433b59
imul eax, dword [ebx + 0x108], 0x1c
lea edi, [ebx + 0x40]
mov ecx, edi
add eax, dword [ebx + 0xf4]
push eax
call fcn.0041b82a
push edi
lea ecx, [ebp - 0x48]
call fcn.0041b6f8
lea ecx, [ebp - 0x2c]
call fcn.0041b087
push 0x49b6b0
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 2
call fcn.0041b69b
xor esi, esi
lea eax, [ebp - 0x1a8]
push esi
push eax
mov ecx, edi
call fcn.0041bc3d
lea ecx, [ebp - 0x1a8]
mov ebx, eax
call fcn.0041bb22
shr ebx, 0x1f
xor bl, 1
push 0x49b6d4
je 0x4337d7
lea ecx, [ebp - 0x18c]
call fcn.0041b69b
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041c16e
add eax, 4
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0041e21c
lea ecx, [ebp - 0x210]
call fcn.0041bb22
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 2
call fcn.0041bb22
cmp dword [ebp - 0x18], esi
je 0x433678
lea ecx, [ebp - 0x2c]
call fcn.0041d003
test al, al
je 0x433678
call fcn.0041bf91
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x268], eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.0041d499
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 4]
call fcn.0041e21c
mov ebx, dword [ebp - 0x26c]
jmp 0x433687
mov ebx, dword [ebp - 0x26c]
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x268], eax
push esi
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx + 0xa0], eax
cmp eax, 0xffffffff
je 0x433cc1
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x48]
push 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x1c0]
push eax
call fcn.0041ba48
cmp dword [eax + 0x14], 0x10
jb 0x4336c8
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x54], eax
call fcn.004019a2
push dword [ebp - 0x268]
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [0x4b5e48], 4
mov word [ebp - 0x56], ax
jl 0x4337c2
push str.e:works10720_blowsnow_source_smartice_siioclient.cpp
lea ecx, [ebp - 0x138]
call fcn.0041b69b
push 0xa
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x154]
push dword [ebx + 0x5c]
call fcn.0041b2c2
push 0x49b6d4
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 8
call fcn.0041b69b
push str.connect
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 9
call fcn.0041b69b
lea ecx, [ebx + 0x40]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, eax
call fcn.0041b78f
mov edi, eax
lea eax, [ebp - 0x16c]
push eax
lea ecx, [edi + 4]
call fcn.004086f5
lea eax, [ebp - 0x150]
push eax
lea ecx, [edi + 4]
call fcn.004086f5
push 4
push 0x18f
lea eax, [ebp - 0x138]
mov ecx, 0x4b5e48
push eax
push edi
call fcn.00432ea0
lea ecx, [ebp - 0x1f4]
call fcn.0041bb22
lea ecx, [ebp - 0x170]
call fcn.0041bb22
lea ecx, [ebp - 0x154]
call fcn.0041bb22
push 2
pop eax
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], al
call fcn.0041bb22
xor esi, esi
mov ecx, dword [ebx + 0xa0]
call fcn.0042edc2
push 0x10
lea eax, [ebp - 0x58]
jmp 0x4339c7
lea ecx, [ebp - 0x11c]
call fcn.0041b69b
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041c16e
add eax, 4
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x28]
call fcn.0041e21c
lea ecx, [ebp - 0x22c]
call fcn.0041bb22
push 2
pop eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], al
call fcn.0041bb22
cmp dword [ebp - 0x18], 0
jne 0x433866
lea ecx, [ebp - 0x2c]
call fcn.0041d003
test al, al
je 0x433866
call fcn.0041bf91
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x18]
inc eax
push eax
call fcn.0041d499
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 4]
call fcn.0041e21c
mov ebx, dword [ebp - 0x26c]
jmp 0x433875
mov ebx, dword [ebp - 0x26c]
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x268], eax
push esi
push 1
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx + 0xa0], eax
cmp eax, 0xffffffff
je 0x433cc1
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x74]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041ba48
cmp dword [eax + 0x14], 0x10
jb 0x4338b0
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
mov edx, eax
push ecx
push 0x17
pop edi
mov ecx, edi
call fcn.0042f1ce
pop ecx
lea ecx, [ebp - 0x1d8]
call fcn.004019a2
push dword [ebp - 0x268]
mov word [ebp - 0x74], di
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [0x4b5e48], 4
mov word [ebp - 0x72], ax
jl 0x4339b5
push str.e:works10720_blowsnow_source_smartice_siioclient.cpp
lea ecx, [ebp - 0xc8]
call fcn.0041b69b
push 0xa
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe4]
push dword [ebx + 0x5c]
call fcn.0041b2c2
push 0x49b6d4
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xc
call fcn.0041b69b
push str.connect
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xd
call fcn.0041b69b
lea ecx, [ebx + 0x40]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.0041b78f
mov edi, eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [edi + 4]
call fcn.004086f5
lea eax, [ebp - 0xe0]
push eax
lea ecx, [edi + 4]
call fcn.004086f5
push 4
push 0x1a7
lea eax, [ebp - 0xc8]
mov ecx, 0x4b5e48
push eax
push edi
call fcn.00432ea0
lea ecx, [ebp - 0x248]
call fcn.0041bb22
lea ecx, [ebp - 0x100]
call fcn.0041bb22
lea ecx, [ebp - 0xe4]
call fcn.0041bb22
push 2
pop eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], al
call fcn.0041bb22
xor esi, esi
mov ecx, dword [ebx + 0xa0]
call fcn.0042edc2
push 0x1c
pop eax
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebx + 0xa0]
call dword [sym.imp.WS2_32.dll_connect]
mov edi, eax
test edi, edi
je 0x433ae0
mov dword [ebp - 0x270], esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x28c], 4
cmp eax, 0x2733
jne 0x433add
lea esi, [ebx + 0xb0]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 4], eax
mov eax, dword [ebx + 0xa0]
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x290]
push eax
call fcn.0041861f
mov ecx, esi
call fcn.0042f3d8
mov eax, dword [ebx + 0x60]
lea ecx, [ebp - 0x298]
push ecx
mov dword [ebp - 0x298], eax
xor eax, eax
push eax
push dword [ebx + 0xbc]
mov dword [ebp - 0x294], eax
push eax
push dword [ebx + 0xc0]
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x433add
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x270]
push eax
push 0x1007
push 0xffff
push dword [ebx + 0xa0]
call dword [sym.imp.WS2_32.dll_getsockopt]
cmp dword [ebp - 0x270], 0
jne 0x433add
push ebx
lea ecx, [ebp - 0x2b0]
xor edi, edi
call fcn.00410726
mov byte [ebp - 4], 0xf
lea esi, [ebx + 0x3c]
mov ecx, dword [ebx + 0xa0]
lea edx, [ebx + 0x20]
push esi
call fcn.00411521
pop ecx
push 2
pop eax
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], al
call fcn.00410748
lea edx, [ebx + 0x44]
lea ecx, [ebx + 0x24]
call fcn.0041e8f1
test al, al
je 0x433ae0
mov eax, dword [ebp - 0x268]
cmp dword [esi], eax
jne 0x433ae0
push 0xfffffffffffffffe
pop edi
cmp byte [ebx + 0x6d], 0
je 0x433b24
test edi, edi
je 0x433b24
xor eax, eax
mov dword [ebx + 0x118], eax
mov dword [ebx + 0x11c], eax
mov eax, dword [ebx + 0xf8]
sub eax, dword [ebx + 0xf4]
cdq
push 0x1c
pop ecx
idiv ecx
xor edx, edx
mov ecx, eax
mov eax, dword [ebx + 0x108]
inc eax
div ecx
mov ecx, ebx
mov dword [ebx + 0x108], edx
call fcn.00433033
lea ecx, [ebp - 0x2c]
call fcn.0041bb22
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.0041bb22
mov eax, dword [ebp - 0x284]
inc eax
mov dword [ebp - 0x284], eax
cmp eax, dword [ebp - 0x280]
jl 0x433578
test edi, edi
jne 0x433cd5
xor ecx, ecx
mov byte [ebx + 0x6d], cl
mov dword [ebx + 0x118], ecx
mov dword [ebx + 0x11c], ecx
cmp byte [ebx + 0x6e], cl
je 0x433b7c
mov ecx, dword [ebx + 0xa0]
call fcn.0042ed98
xor ecx, ecx
mov byte [ebx + 0xa9], 1
cmp dword [ebx + 0xa4], ecx
jne 0x433bbd
push 0x94
call fcn.0045dbd9
mov dword [ebp - 0x274], eax
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.004349d7
xor ecx, ecx
mov byte [ebp - 4], cl
mov dword [ebx + 0xa4], eax
mov dword [eax + 0x80], ebx
mov byte [ebp - 0x27c], cl
cmp dword [0x4b5e48], 4
jl 0x433c52
push str.e:works10720_blowsnow_source_smartice_siioclient.cpp
lea ecx, [ebp - 0x90]
call fcn.0041b69b
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xac]
push dword [ebx + 0xa0]
call fcn.0041b32b
push str.add_fd:
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x12
call fcn.0041b69b
mov esi, eax
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [esi + 4]
call fcn.004086f5
push 4
push 0x20c
lea eax, [ebp - 0x90]
mov ecx, 0x4b5e48
push eax
push esi
call fcn.00432ea0
lea ecx, [ebp - 0x264]
call fcn.0041bb22
lea ecx, [ebp - 0xac]
call fcn.0041bb22
lea ecx, [ebp - 0x90]
call fcn.0041bb22
mov edi, dword [ebx + 0xa4]
lea ecx, [ebp - 0x2a8]
mov esi, dword [ebx + 0xa0]
lea eax, [edi + 0x60]
push eax
call fcn.00410726
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [edi + 0x38]
mov dword [ebp - 0x288], esi
call fcn.0041861f
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0
call fcn.00410748
cmp byte [ebp - 0x27c], 0
jne 0x433cbd
mov ecx, dword [ebx + 0xa4]
lea eax, [ebp - 0x2d0]
push 0
push eax
call fcn.0040dec5
lea ecx, [ebp - 0x2d0]
call fcn.0040d6ff
xor ebx, ebx
jmp 0x433d05
lea ecx, [ebp - 0x2c]
call fcn.0041bb22
lea ecx, [ebp - 0x48]
call fcn.0041bb22
push 0xfffffffffffffffa
jmp 0x433d04
mov eax, dword [ebx + 0x118]
or eax, dword [ebx + 0x11c]
jne 0x433cfb
mov eax, dword [ebp - 0x274]
mov dword [ebx + 0x118], eax
mov eax, dword [ebp - 0x278]
mov dword [ebx + 0x11c], eax
mov ecx, ebx
call fcn.00433033
push 0xfffffffffffffffe
pop ebx
lea ecx, [ebp - 0x2a0]
call fcn.00410748
mov eax, ebx
call fcn.0045e51e
ret 8