Function at 0x1001356d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0
xor eax, eax
call dword [sym.imp.USER32.dll_GetDC]
nop
nop
cmp dword [ebp - 8], esp
je 0x100135ab
push 0x70
push 0x403d53d
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x100e6e5d]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100135da
push 0x70
push 0x403d53d
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push 0
push dword [ebp - 0x14]
push 0x1e0
push 0x280
push 0
push 0
push 0x50000000
push 0x100d424e
xor eax, eax
call dword [0x100e6e61]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1001362c
push 0x70
push 0x403d53d
push 6
call fcn.100abddd
add esp, 0xc
mov dword [0x100e6c35], eax
mov dword [ebp - 8], esp
push 0
push dword [0x100e6c35]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 8], esp
je 0x10013665
push 0x98
push 0x403d53d
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 8], esp
push 0x80
push 0xffffffec
push dword [0x100e6c35]
xor eax, eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001369e
push 0xb7
push 0x403d53d
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 8], esp
push 0x80
push 0xfffffff8
push dword [0x100e6c35]
xor eax, eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
nop
nop
cmp dword [ebp - 8], esp
je 0x100136d7
push 0xe3
push 0x403d53d
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 8], esp
push 5
push dword [0x100e6c35]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001370b
push 0x10f
push 0x403d53d
push 6
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 1
push 0
push dword [0x100e6c35]
call fcn.1001397c
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
push 0x100d43cd
push reloc.WS2_32.dll_getpeername
push 0
push 0x100d7fb4
push 3
mov ebx, 0x10
mov eax, 0x100b9bb0
call fcn.100acb10
add esp, 0x28
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.10013aea
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001378c
push ebx
call fcn.100abdd7
add esp, 4
mov eax, str.my_cap
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1000b2c5
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100137b0
push ebx
call fcn.100abdd7
add esp, 4
push 0x80000301
push 0
push dword [0x100e6c35]
push 0x80000301
push 0
push 0
mov ebx, 6
call fcn.10005656
push 0x80000301
push 0
push dword [ebp - 0xc]
push 5
mov ebx, 0x18
mov eax, 0x100b7760
call fcn.100acb10
add esp, 0x40
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x1c
mov eax, 0x100b7310
call fcn.100acb10
add esp, 0x10
push 1
push 0
push 1
push 0x1e0
push 1
push 0x280
push 1
push dword [0x100e6c35]
call fcn.10009405
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
push 2
lea eax, [ebp - 8]
push eax
call fcn.1000a27d
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10013879
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10013889
push ebx
call fcn.100abdd7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push str.110014
push 1
mov ebx, 0x198
call fcn.100ad860
add esp, 0x10
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100138bd
mov eax, 0x100d42b8
push eax
push 1
mov ebx, 0
mov eax, 0x100b9760
call fcn.100acb10
add esp, 0x10
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ecx, 2
call fcn.1000565e
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100138fe
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1001390e
push ebx
call fcn.100abdd7
add esp, 4
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
push dword [0x100e6bd1]
call fcn.100029a0
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10013953
push ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10013963
push ebx
call fcn.100abdd7
add esp, 4
call fcn.100143a1
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10013978
push ebx
call fcn.100abdd7
add esp, 4
mov esp, ebp
pop ebp
ret