Function at 0x1004338c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, 0x100b215d
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1001e423
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100433c6
push ebx
call fcn.10068422
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100433d6
push ebx
call fcn.10068422
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.1001e9d0
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100433f2
push ebx
call fcn.10068422
add esp, 4
push getsockname
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10043405
mov eax, 0x10081277
push eax
push 1
mov ebx, 0x168
call fcn.10068d60
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1004342b
push ebx
call fcn.10068422
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1004343e
mov eax, 0x1008124f
push eax
push 1
mov ebx, 0x9dc
call fcn.10069b40
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10043464
push ebx
call fcn.10068422
add esp, 4
mov eax, dword [ebp - 0x18]
cdq
mov dword [0x113efee8], eax
mov dword [0x113efeec], edx
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, 0x100b2162
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1001e423
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100434a4
push ebx
call fcn.10068422
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100434b4
push ebx
call fcn.10068422
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.1001e9d0
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100434d0
push ebx
call fcn.10068422
add esp, 4
push getsockname
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x100434e3
mov eax, 0x10081277
push eax
push 1
mov ebx, 0x168
call fcn.10068d60
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10043509
push ebx
call fcn.10068422
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1004351c
mov eax, 0x1008124f
push eax
push 1
mov ebx, 0x9dc
call fcn.10069b40
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10043542
push ebx
call fcn.10068422
add esp, 4
mov eax, dword [ebp - 0x18]
cdq
mov dword [0x113efef0], eax
mov dword [0x113efef4], edx
inc dword [0x113efef8]
mov ebx, dword [0x113efbe8]
add ebx, 0xe4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10043594
mov ebx, dword [0x113efbe8]
add ebx, 0xe0
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x10043594
mov eax, 1
jmp 0x10043599
mov eax, 0
test eax, eax
je 0x10043607
push reloc.WS2_32.dll_getsockname
push 0
push 0x10055619
push 1
mov ebx, 0x9dc
call fcn.10069b40
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push 0
push 0
push dword [ebp - 4]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 8], esp
je 0x10043607
push 0x28c
push 0x4010833
push 6
call fcn.10068410
add esp, 0xc
call fcn.10043831
call fcn.10045917
mov ebx, dword [0x113efbe8]
add ebx, 0x2c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x1004362e
call fcn.1004b7ec
mov dword [0x113efefc], 0
mov dword [0x113efcdc], 1
push dword [0x113efbd0]
call fcn.10026599
call fcn.1004c37c
mov dword [ebp - 4], esp
push dword [0x113efbd0]
xor eax, eax
call dword [0x113f00d0]
nop
nop
cmp dword [ebp - 4], esp
je 0x10043681
push 0x40a
push 0x4010833
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10043693
jmp 0x100436d6
mov dword [ebp - 4], esp
push 0
push dword [0x113efc08]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindowAsync]
nop
nop
cmp dword [ebp - 4], esp
je 0x100436c7
push 0x443
push 0x4010833
push 6
call fcn.10068410
add esp, 0xc
call fcn.100246c2
push 0
call fcn.1006843a
add esp, 4
cmp dword [0x113efef8], 0x5a
jne 0x1004380a
mov dword [0x113efef8], 0
push 1
push 1
push 1
push 0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
call fcn.1004ef43
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10043720
push ebx
call fcn.10068422
add esp, 4
cmp dword [ebp - 8], 0
jne 0x10043739
call fcn.1001ac36
push 0
call fcn.1006843a
add esp, 4
push reloc.WS2_32.dll_getsockname
push 0
push 0x100561b8
push 1
mov ebx, 0x9dc
call fcn.10069b40
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push 0
push 0
push dword [ebp - 4]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 8], esp
je 0x1004379f
push 0x5cf
push 0x4010833
push 6
call fcn.10068410
add esp, 0xc
call fcn.10018e85
push reloc.WS2_32.dll_getsockname
push 0
push 0x100564fb
push 1
mov ebx, 0x9dc
call fcn.10069b40
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push 0
push 0
push dword [ebp - 4]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 8], esp
je 0x1004380a
push 0x64d
push 0x4010833
push 6
call fcn.10068410
add esp, 0xc
push 0x80000301
push 0
push 0x7d0
push 1
mov ebx, 0x67c
call fcn.1006a970
add esp, 0x10
jmp 0x10043551