Function at 0x10042e3f
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, str.sjdz
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.10023f2e
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10042e79
push ebx
call fcn.1006953e
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10042e89
push ebx
call fcn.1006953e
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.100244db
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10042ea5
push ebx
call fcn.1006953e
add esp, 4
push getsockname
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10042eb8
mov eax, 0x10082277
push eax
push 1
mov ebx, 0x168
call fcn.10069e80
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10042ede
push ebx
call fcn.1006953e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10042ef1
mov eax, 0x1008224f
push eax
push 1
mov ebx, 0x9dc
call fcn.1006ac60
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10042f17
push ebx
call fcn.1006953e
add esp, 4
mov eax, dword [ebp - 0x18]
cdq
mov dword [0x100ba114], eax
mov dword [0x100ba118], edx
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, str.jzdz
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.10023f2e
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10042f57
push ebx
call fcn.1006953e
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10042f67
push ebx
call fcn.1006953e
add esp, 4
lea eax, [ebp - 0xc]
push eax
call fcn.100244db
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10042f83
push ebx
call fcn.1006953e
add esp, 4
push getsockname
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10042f96
mov eax, 0x10082277
push eax
push 1
mov ebx, 0x168
call fcn.10069e80
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10042fbc
push ebx
call fcn.1006953e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10042fcf
mov eax, 0x1008224f
push eax
push 1
mov ebx, 0x9dc
call fcn.1006ac60
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10042ff5
push ebx
call fcn.1006953e
add esp, 4
mov eax, dword [ebp - 0x18]
cdq
mov dword [0x100ba11c], eax
mov dword [0x100ba120], edx
inc dword [0x100ba124]
mov ebx, dword [0x100b9e24]
add ebx, 0xe4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10043047
mov ebx, dword [0x100b9e24]
add ebx, 0xe0
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x10043047
mov eax, 1
jmp 0x1004304c
mov eax, 0
test eax, eax
je 0x100430ba
push reloc.WS2_32.dll_getsockname
push 0
push 0x100550e7
push 1
mov ebx, 0x9dc
call fcn.1006ac60
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 0x100430ba
push 0x28c
push 0x4010833
push 6
call fcn.10069544
add esp, 0xc
call fcn.100432e4
call fcn.100453e5
mov ebx, dword [0x100b9e24]
add ebx, 0x2c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x100430e1
call fcn.1004b2ba
mov dword [0x100ba128], 0
mov dword [0x100b9f10], 1
push dword [0x100b9e0c]
call fcn.100263f4
call fcn.1004be4a
mov dword [ebp - 4], esp
push dword [0x100b9e0c]
xor eax, eax
call dword [0x100ba2d0]
nop
nop
cmp dword [ebp - 4], esp
je 0x10043134
push 0x40a
push 0x4010833
push 6
call fcn.10069544
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10043146
jmp 0x10043189
mov dword [ebp - 4], esp
push 0
push dword [0x100b9e08]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindowAsync]
nop
nop
cmp dword [ebp - 4], esp
je 0x1004317a
push 0x443
push 0x4010833
push 6
call fcn.10069544
add esp, 0xc
call fcn.10024633
push 0
call fcn.1006955c
add esp, 4
cmp dword [0x100ba124], 0x5a
jne 0x100432bd
mov dword [0x100ba124], 0
push 1
push 1
push 1
push 0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
call fcn.1004ea11
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100431d3
push ebx
call fcn.1006953e
add esp, 4
cmp dword [ebp - 8], 0
jne 0x100431ec
call fcn.1001abda
push 0
call fcn.1006955c
add esp, 4
push reloc.WS2_32.dll_getsockname
push 0
push 0x10055c86
push 1
mov ebx, 0x9dc
call fcn.1006ac60
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 0x10043252
push 0x5e2
push 0x4010833
push 6
call fcn.10069544
add esp, 0xc
call fcn.10018e29
push reloc.WS2_32.dll_getsockname
push 0
push 0x10055fc9
push 1
mov ebx, 0x9dc
call fcn.1006ac60
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 0x100432bd
push 0x660
push 0x4010833
push 6
call fcn.10069544
add esp, 0xc
push 0x80000301
push 0
push 0x7d0
push 1
mov ebx, 0x67c
call fcn.1006ba90
add esp, 0x10
jmp 0x10043004