Function at 0x1001b345
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.100a8a34
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
jmp 0x1001b3b0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
fninit
call fcn.1000b9dd
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.10003e1d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001b41d
push ebx
call fcn.100a8a3a
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001b431
push ebx
call fcn.100a8a3a
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1001b6b2
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.10003e1d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001b494
push ebx
call fcn.100a8a3a
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001b4a7
mov eax, 0x100ba20b
push eax
push 1
mov ebx, 0x198
call fcn.100aa670
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001b4cd
push ebx
call fcn.100a8a3a
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.10003a82
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001b4e9
push ebx
call fcn.100a8a3a
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x30]
push 1
push 0x1f0001
xor eax, eax
call dword [0x100c1c58]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x1001b53e
push 0x15e
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1001b551
push ebx
call fcn.100a8a3a
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1001b592
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x100c1bc8]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001b58d
push 0x1b4
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
jmp 0x1001b6aa
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.10003e1d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001b5d7
push ebx
call fcn.100a8a3a
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001b5ea
mov eax, 0x100ba20b
push eax
push 1
mov ebx, 0x198
call fcn.100aa670
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001b610
push ebx
call fcn.100a8a3a
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.10003a82
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001b62c
push ebx
call fcn.100a8a3a
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x30]
push 1
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x1001b67f
push 0x267
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1001b692
push ebx
call fcn.100a8a3a
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
jmp 0x1001b6b2
pop eax
pop ebx
pop ecx
jmp 0x1001b441
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x1001b88e
cmp dword [ebp + 0x10], 1
jne 0x1001b75f
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x100bb0df
push dword [ebp - 0x20]
push 0x100bb0e2
mov ecx, 3
call fcn.10003e1d
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001b715
push ebx
call fcn.100a8a3a
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x100bb0f3
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.1001af50
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001b74a
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001b75a
push ebx
call fcn.100a8a3a
add esp, 4
jmp 0x1001b7f0
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x100bb0df
push dword [ebp - 0x20]
push 0x100bb104
mov ecx, 3
call fcn.10003e1d
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001b7ab
push ebx
call fcn.100a8a3a
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x100bb0f3
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.1001af50
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001b7e0
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001b7f0
push ebx
call fcn.100a8a3a
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x100c1bb8]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001b823
push 0x46c
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x100c1c5c]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001b851
push 0x491
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
call fcn.1000f9ae
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x100c1c60]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001b884
push 0x4c0
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x1001b884
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.10003e1d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001b8d3
push ebx
call fcn.100a8a3a
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001b8e6
mov eax, 0x100ba20b
push eax
push 1
mov ebx, 0x198
call fcn.100aa670
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001b90c
push ebx
call fcn.100a8a3a
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.1000aec5
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001b928
push ebx
call fcn.100a8a3a
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x2c]
push 1
push 0xf001f
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x1001b95e
push 0x59b
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1001b971
push ebx
call fcn.100a8a3a
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x1001bb4a
cmp dword [ebp + 0x10], 1
jne 0x1001ba1b
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x100bb0df
push dword [ebp - 0x20]
push 0x100bb0e2
mov ecx, 3
call fcn.10003e1d
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001b9d1
push ebx
call fcn.100a8a3a
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x100bb0f3
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.1001af50
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001ba06
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001ba16
push ebx
call fcn.100a8a3a
add esp, 4
jmp 0x1001baac
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x100bb0df
push dword [ebp - 0x20]
push 0x100bb104
mov ecx, 3
call fcn.10003e1d
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001ba67
push ebx
call fcn.100a8a3a
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x100bb0f3
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.1001af50
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001ba9c
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001baac
push ebx
call fcn.100a8a3a
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x100c1bb8]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001badf
push 0x701
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x100c1c5c]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001bb0d
push 0x726
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
call fcn.1000f9ae
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x100c1c60]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001bb40
push 0x755
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x1001bb40
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.10003e1d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001bb8f
push ebx
call fcn.100a8a3a
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001bba2
mov eax, 0x100ba20b
push eax
push 1
mov ebx, 0x198
call fcn.100aa670
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001bbc8
push ebx
call fcn.100a8a3a
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.1000aec5
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001bbe4
push ebx
call fcn.100a8a3a
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x2c]
push 0x64
push 0
push 4
push 0
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x1001bc29
push 0x82d
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1001bc39
push ebx
call fcn.100a8a3a
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.10003e1d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001bc7e
push ebx
call fcn.100a8a3a
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001bc91
mov eax, 0x100ba20b
push eax
push 1
mov ebx, 0x198
call fcn.100aa670
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001bcb7
push ebx
call fcn.100a8a3a
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.10014faf
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001bcd3
push ebx
call fcn.100a8a3a
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x2c]
push 0
push 0x1f0003
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenEventA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x1001bd09
push 0x8dd
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1001bd1c
push ebx
call fcn.100a8a3a
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x1001bef5
cmp dword [ebp + 0x10], 1
jne 0x1001bdc6
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x100bb0df
push dword [ebp - 0x20]
push 0x100bb0e2
mov ecx, 3
call fcn.10003e1d
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001bd7c
push ebx
call fcn.100a8a3a
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x100bb0f3
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.1001af50
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001bdb1
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001bdc1
push ebx
call fcn.100a8a3a
add esp, 4
jmp 0x1001be57
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x100bb0df
push dword [ebp - 0x20]
push 0x100bb104
mov ecx, 3
call fcn.10003e1d
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001be12
push ebx
call fcn.100a8a3a
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x100bb0f3
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.1001af50
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001be47
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001be57
push ebx
call fcn.100a8a3a
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x100c1bb8]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001be8a
push 0xa43
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x100c1c5c]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001beb8
push 0xa68
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
call fcn.1000f9ae
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x100c1c60]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001beeb
push 0xa97
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x1001beeb
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.100a9eb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.10003e1d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001bf3a
push ebx
call fcn.100a8a3a
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001bf4d
mov eax, 0x100ba20b
push eax
push 1
mov ebx, 0x198
call fcn.100aa670
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001bf73
push ebx
call fcn.100a8a3a
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.10014faf
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001bf8f
push ebx
call fcn.100a8a3a
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x2c]
push 0
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x1001bfca
push 0xb2b
push 0x402719a
push 6
call fcn.100a8a40
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1001bfda
push ebx
call fcn.100a8a3a
add esp, 4
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x1001c003
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001c019
push ebx
call fcn.100a8a3a
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.100a8a3a
add esp, 4
mov esp, ebp
pop ebp
ret 0xc