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

Disassembly:
push 0x2c4
mov eax, 0x489073
call fcn.0045e53f
mov ebx, ecx
mov dword [ebp - 0x26c], ebx
lea eax, [ebx + 0x80]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.004106c2
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x268], eax
cmp byte [ebx + 0xa8], al
je 0x4333f1
cmp byte [ebp + 8], al
jne 0x4333eb
mov dword [ebp - 0x268], 0xfffffffd
jmp 0x433434
mov byte [ebx + 0xa8], al
cmp byte [ebx + 0x70], al
je 0x43342c
cmp byte [ebp + 0xc], al
je 0x433429
cmp byte [ebx + 0x78], al
je 0x433413
mov ecx, ebx
call fcn.00433000
mov dword [ebp - 0x268], 0xfffffffe
jmp 0x433434
xor ecx, ecx
cmp byte [ebx + 0xa9], cl
push 0xfffffffffffffffe
pop eax
cmovne eax, ecx
mov dword [ebp - 0x268], eax
jmp 0x433434
mov byte [ebx + 0x78], al
cmp byte [ebx + 0xa9], al
je 0x43343f
mov ebx, dword [ebp - 0x268]
jmp 0x433cd2
xor eax, eax
inc eax
cmp byte [ebx + 0x6c], 0
mov dword [ebp - 0x27c], eax
jne 0x433456
mov byte [ebx + 0x6c], al
call fcn.004200d6
mov ecx, ebx
call fcn.00433000
call fcn.00404b5a
mov ecx, dword [ebx + 0xf4]
mov edi, eax
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x278], edx
cmp ecx, dword [ebx + 0xf8]
jne 0x433485
mov ecx, ebx
call fcn.00433172
mov esi, dword [ebx + 0x11c]
xor ecx, ecx
mov eax, dword [ebx + 0x118]
cmp esi, ecx
jl 0x4334fb
jg 0x43349d
cmp eax, ecx
jbe 0x4334fb
mov edx, dword [ebx + 0x110]
add edx, eax
mov eax, dword [ebx + 0x114]
adc eax, esi
cmp eax, dword [ebp - 0x278]
jg 0x4334fb
jl 0x4334bb
cmp edx, edi
jae 0x4334fb
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 0x4334f7
mov ecx, ebx
call fcn.00433172
xor ecx, ecx
jmp 0x4334fe
push 0x1c
pop edi
mov edx, dword [ebx + 0xf4]
mov eax, dword [ebx + 0xf8]
cmp edx, eax
je 0x433ccf
xor esi, esi
inc esi
cmp byte [ebx + 0x6d], 0
mov dword [ebp - 0x280], esi
je 0x433534
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 0x433ca2
test edi, edi
je 0x433b26
imul eax, dword [ebx + 0x108], 0x1c
lea edi, [ebx + 0x40]
mov ecx, edi
add eax, dword [ebx + 0xf4]
push eax
call fcn.0041b7fa
push edi
lea ecx, [ebp - 0x48]
call fcn.0041b6c8
lea ecx, [ebp - 0x2c]
call fcn.0041b057
push 0x49b680
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 2
call fcn.0041b66b
xor esi, esi
lea eax, [ebp - 0x1a8]
push esi
push eax
mov ecx, edi
call fcn.0041bc0d
lea ecx, [ebp - 0x1a8]
mov ebx, eax
call fcn.0041baf2
shr ebx, 0x1f
xor bl, 1
push 0x49b6a4
je 0x4337a4
lea ecx, [ebp - 0x18c]
call fcn.0041b66b
lea eax, [ebp - 0x18c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041c13e
add eax, 4
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.0041e1ec
lea ecx, [ebp - 0x210]
call fcn.0041baf2
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 2
call fcn.0041baf2
cmp dword [ebp - 0x18], esi
je 0x433645
lea ecx, [ebp - 0x2c]
call fcn.0041cfd3
test al, al
je 0x433645
call fcn.0041bf61
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x268], eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.0041d469
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 4]
call fcn.0041e1ec
mov ebx, dword [ebp - 0x26c]
jmp 0x433654
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 0x433c8e
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.0041ba18
cmp dword [eax + 0x14], 0x10
jb 0x433695
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 0x43378f
push str.e:works10720_blowsnow_source_smartice_siioclient.cpp
lea ecx, [ebp - 0x138]
call fcn.0041b66b
push 0xa
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x154]
push dword [ebx + 0x5c]
call fcn.0041b292
push 0x49b6a4
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 8
call fcn.0041b66b
push str.connect
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 9
call fcn.0041b66b
lea ecx, [ebx + 0x40]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, eax
call fcn.0041b75f
mov edi, eax
lea eax, [ebp - 0x16c]
push eax
lea ecx, [edi + 4]
call fcn.00408695
lea eax, [ebp - 0x150]
push eax
lea ecx, [edi + 4]
call fcn.00408695
push 4
push 0x18f
lea eax, [ebp - 0x138]
mov ecx, 0x4b5e48
push eax
push edi
call fcn.00432e6d
lea ecx, [ebp - 0x1f4]
call fcn.0041baf2
lea ecx, [ebp - 0x170]
call fcn.0041baf2
lea ecx, [ebp - 0x154]
call fcn.0041baf2
push 2
pop eax
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], al
call fcn.0041baf2
xor esi, esi
mov ecx, dword [ebx + 0xa0]
call fcn.0042ed92
push 0x10
lea eax, [ebp - 0x58]
jmp 0x433994
lea ecx, [ebp - 0x11c]
call fcn.0041b66b
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041c13e
add eax, 4
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x28]
call fcn.0041e1ec
lea ecx, [ebp - 0x22c]
call fcn.0041baf2
push 2
pop eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], al
call fcn.0041baf2
cmp dword [ebp - 0x18], 0
jne 0x433833
lea ecx, [ebp - 0x2c]
call fcn.0041cfd3
test al, al
je 0x433833
call fcn.0041bf61
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x18]
inc eax
push eax
call fcn.0041d469
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 4]
call fcn.0041e1ec
mov ebx, dword [ebp - 0x26c]
jmp 0x433842
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 0x433c8e
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.0041ba18
cmp dword [eax + 0x14], 0x10
jb 0x43387d
mov eax, dword [eax]
lea ecx, [ebp - 0x74]
mov edx, eax
push ecx
push 0x17
pop edi
mov ecx, edi
call fcn.0042f19b
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 0x433982
push str.e:works10720_blowsnow_source_smartice_siioclient.cpp
lea ecx, [ebp - 0xc8]
call fcn.0041b66b
push 0xa
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe4]
push dword [ebx + 0x5c]
call fcn.0041b292
push 0x49b6a4
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xc
call fcn.0041b66b
push str.connect
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xd
call fcn.0041b66b
lea ecx, [ebx + 0x40]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.0041b75f
mov edi, eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [edi + 4]
call fcn.00408695
lea eax, [ebp - 0xe0]
push eax
lea ecx, [edi + 4]
call fcn.00408695
push 4
push 0x1a7
lea eax, [ebp - 0xc8]
mov ecx, 0x4b5e48
push eax
push edi
call fcn.00432e6d
lea ecx, [ebp - 0x248]
call fcn.0041baf2
lea ecx, [ebp - 0x100]
call fcn.0041baf2
lea ecx, [ebp - 0xe4]
call fcn.0041baf2
push 2
pop eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], al
call fcn.0041baf2
xor esi, esi
mov ecx, dword [ebx + 0xa0]
call fcn.0042ed92
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 0x433aad
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 0x433aaa
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.004185f0
mov ecx, esi
call fcn.0042f3a5
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 0x433aaa
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 0x433aaa
push ebx
lea ecx, [ebp - 0x2b0]
xor edi, edi
call fcn.004106c2
mov byte [ebp - 4], 0xf
lea esi, [ebx + 0x3c]
mov ecx, dword [ebx + 0xa0]
lea edx, [ebx + 0x20]
push esi
call fcn.004114f2
pop ecx
push 2
pop eax
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], al
call fcn.004106e4
lea edx, [ebx + 0x44]
lea ecx, [ebx + 0x24]
call fcn.0041e8c1
test al, al
je 0x433aad
mov eax, dword [ebp - 0x268]
cmp dword [esi], eax
jne 0x433aad
push 0xfffffffffffffffe
pop edi
cmp byte [ebx + 0x6d], 0
je 0x433af1
test edi, edi
je 0x433af1
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.00433000
lea ecx, [ebp - 0x2c]
call fcn.0041baf2
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.0041baf2
mov eax, dword [ebp - 0x284]
inc eax
mov dword [ebp - 0x284], eax
cmp eax, dword [ebp - 0x280]
jl 0x433545
test edi, edi
jne 0x433ca2
xor ecx, ecx
mov byte [ebx + 0x6d], cl
mov dword [ebx + 0x118], ecx
mov dword [ebx + 0x11c], ecx
cmp byte [ebx + 0x6e], cl
je 0x433b49
mov ecx, dword [ebx + 0xa0]
call fcn.0042ed68
xor ecx, ecx
mov byte [ebx + 0xa9], 1
cmp dword [ebx + 0xa4], ecx
jne 0x433b8a
push 0x94
call fcn.0045dba4
mov dword [ebp - 0x274], eax
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.004349a4
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 0x433c1f
push str.e:works10720_blowsnow_source_smartice_siioclient.cpp
lea ecx, [ebp - 0x90]
call fcn.0041b66b
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xac]
push dword [ebx + 0xa0]
call fcn.0041b2fb
push str.add_fd:
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x12
call fcn.0041b66b
mov esi, eax
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [esi + 4]
call fcn.00408695
push 4
push 0x20c
lea eax, [ebp - 0x90]
mov ecx, 0x4b5e48
push eax
push esi
call fcn.00432e6d
lea ecx, [ebp - 0x264]
call fcn.0041baf2
lea ecx, [ebp - 0xac]
call fcn.0041baf2
lea ecx, [ebp - 0x90]
call fcn.0041baf2
mov edi, dword [ebx + 0xa4]
lea ecx, [ebp - 0x2a8]
mov esi, dword [ebx + 0xa0]
lea eax, [edi + 0x60]
push eax
call fcn.004106c2
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [edi + 0x38]
mov dword [ebp - 0x288], esi
call fcn.004185f0
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0
call fcn.004106e4
cmp byte [ebp - 0x27c], 0
jne 0x433c8a
mov ecx, dword [ebx + 0xa4]
lea eax, [ebp - 0x2d0]
push 0
push eax
call fcn.0040de63
lea ecx, [ebp - 0x2d0]
call fcn.0040d69d
xor ebx, ebx
jmp 0x433cd2
lea ecx, [ebp - 0x2c]
call fcn.0041baf2
lea ecx, [ebp - 0x48]
call fcn.0041baf2
push 0xfffffffffffffffa
jmp 0x433cd1
mov eax, dword [ebx + 0x118]
or eax, dword [ebx + 0x11c]
jne 0x433cc8
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.00433000
push 0xfffffffffffffffe
pop ebx
lea ecx, [ebp - 0x2a0]
call fcn.004106e4
mov eax, ebx
call fcn.0045e4e9
ret 8