Function at 0x10019ff8
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.10098511
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 0x1001a063
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.1000a595
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001a0d0
push ebx
call fcn.10098517
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001a0e4
push ebx
call fcn.10098517
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 0x1001a365
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001a147
push ebx
call fcn.10098517
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001a15a
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x198
call fcn.10099f10
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001a180
push ebx
call fcn.10098517
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.10002696
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001a19c
push ebx
call fcn.10098517
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.10099140
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 [0x100af5d1]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x1001a1f1
push 0x15e
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1001a204
push ebx
call fcn.10098517
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1001a245
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x100af541]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001a240
push 0x1b4
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
jmp 0x1001a35d
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001a28a
push ebx
call fcn.10098517
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001a29d
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x198
call fcn.10099f10
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001a2c3
push ebx
call fcn.10098517
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.10002696
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001a2df
push ebx
call fcn.10098517
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.10099140
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 0x1001a332
push 0x267
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1001a345
push ebx
call fcn.10098517
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 0x1001a365
pop eax
pop ebx
pop ecx
jmp 0x1001a0f4
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x1001a541
cmp dword [ebp + 0x10], 1
jne 0x1001a412
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x100a9e99
push dword [ebp - 0x20]
push 0x100a9e9c
mov ecx, 3
call fcn.100014f6
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001a3c8
push ebx
call fcn.10098517
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x100a9ead
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.10019c03
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001a3fd
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001a40d
push ebx
call fcn.10098517
add esp, 4
jmp 0x1001a4a3
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x100a9e99
push dword [ebp - 0x20]
push 0x100a9ebe
mov ecx, 3
call fcn.100014f6
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001a45e
push ebx
call fcn.10098517
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x100a9ead
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.10019c03
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001a493
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001a4a3
push ebx
call fcn.10098517
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x100af531]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001a4d6
push 0x46c
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x100af5d5]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001a504
push 0x491
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
call fcn.1000e661
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x100af5d9]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001a537
push 0x4c0
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x1001a537
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001a586
push ebx
call fcn.10098517
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001a599
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x198
call fcn.10099f10
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001a5bf
push ebx
call fcn.10098517
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.10009a7d
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001a5db
push ebx
call fcn.10098517
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 0x1001a611
push 0x59b
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1001a624
push ebx
call fcn.10098517
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x1001a7fd
cmp dword [ebp + 0x10], 1
jne 0x1001a6ce
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x100a9e99
push dword [ebp - 0x20]
push 0x100a9e9c
mov ecx, 3
call fcn.100014f6
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001a684
push ebx
call fcn.10098517
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x100a9ead
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.10019c03
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001a6b9
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001a6c9
push ebx
call fcn.10098517
add esp, 4
jmp 0x1001a75f
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x100a9e99
push dword [ebp - 0x20]
push 0x100a9ebe
mov ecx, 3
call fcn.100014f6
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001a71a
push ebx
call fcn.10098517
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x100a9ead
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.10019c03
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001a74f
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001a75f
push ebx
call fcn.10098517
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x100af531]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001a792
push 0x701
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x100af5d5]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001a7c0
push 0x726
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
call fcn.1000e661
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x100af5d9]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001a7f3
push 0x755
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x1001a7f3
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001a842
push ebx
call fcn.10098517
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001a855
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x198
call fcn.10099f10
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001a87b
push ebx
call fcn.10098517
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.10009a7d
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001a897
push ebx
call fcn.10098517
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 0x1001a8dc
push 0x82d
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1001a8ec
push ebx
call fcn.10098517
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001a931
push ebx
call fcn.10098517
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001a944
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x198
call fcn.10099f10
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001a96a
push ebx
call fcn.10098517
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.10013c62
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001a986
push ebx
call fcn.10098517
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 0x1001a9bc
push 0x8dd
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1001a9cf
push ebx
call fcn.10098517
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x1001aba8
cmp dword [ebp + 0x10], 1
jne 0x1001aa79
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x100a9e99
push dword [ebp - 0x20]
push 0x100a9e9c
mov ecx, 3
call fcn.100014f6
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001aa2f
push ebx
call fcn.10098517
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x100a9ead
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.10019c03
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001aa64
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001aa74
push ebx
call fcn.10098517
add esp, 4
jmp 0x1001ab0a
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x100a9e99
push dword [ebp - 0x20]
push 0x100a9ebe
mov ecx, 3
call fcn.100014f6
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001aac5
push ebx
call fcn.10098517
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x100a9ead
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.10019c03
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001aafa
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001ab0a
push ebx
call fcn.10098517
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x100af531]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001ab3d
push 0xa43
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x100af5d5]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001ab6b
push 0xa68
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
call fcn.1000e661
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x100af5d9]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1001ab9e
push 0xa97
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x1001ab9e
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.10099140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.100014f6
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001abed
push ebx
call fcn.10098517
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1001ac00
mov eax, 0x100a921d
push eax
push 1
mov ebx, 0x198
call fcn.10099f10
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001ac26
push ebx
call fcn.10098517
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.10013c62
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001ac42
push ebx
call fcn.10098517
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 0x1001ac7d
push 0xb2b
push 0x4026cff
push 6
call fcn.1009851d
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1001ac8d
push ebx
call fcn.10098517
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 0x1001acb6
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1001accc
push ebx
call fcn.10098517
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.10098517
add esp, 4
mov esp, ebp
pop ebp
ret 0xc