Function at 0x41aec6
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.0049c8e3
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 0x41af31
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.0040b463
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.004013f3
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41af9e
push ebx
call fcn.0049c8e9
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41afb2
push ebx
call fcn.0049c8e9
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 0x41b233
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.0049dde0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004013f3
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b015
push ebx
call fcn.0049c8e9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b028
mov eax, 0x4ae205
push eax
push 1
mov ebx, 0x198
call fcn.0049e5a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b04e
push ebx
call fcn.0049c8e9
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00403564
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b06a
push ebx
call fcn.0049c8e9
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.0049dde0
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 [0x4b5138]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41b0bf
push 0x15e
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41b0d2
push ebx
call fcn.0049c8e9
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41b113
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x4b50a8]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b10e
push 0x1b4
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
jmp 0x41b22b
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.0049dde0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004013f3
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b158
push ebx
call fcn.0049c8e9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b16b
mov eax, 0x4ae205
push eax
push 1
mov ebx, 0x198
call fcn.0049e5a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b191
push ebx
call fcn.0049c8e9
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00403564
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b1ad
push ebx
call fcn.0049c8e9
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.0049dde0
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 0x41b200
push 0x267
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41b213
push ebx
call fcn.0049c8e9
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 0x41b233
pop eax
pop ebx
pop ecx
jmp 0x41afc2
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x41b40f
cmp dword [ebp + 0x10], 1
jne 0x41b2e0
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049dde0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef50
push dword [ebp - 0x20]
push 0x4aef53
mov ecx, 3
call fcn.004013f3
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b296
push ebx
call fcn.0049c8e9
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef64
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041aad1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b2cb
push ebx
call fcn.0049c8e9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b2db
push ebx
call fcn.0049c8e9
add esp, 4
jmp 0x41b371
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049dde0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef50
push dword [ebp - 0x20]
push 0x4aef75
mov ecx, 3
call fcn.004013f3
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b32c
push ebx
call fcn.0049c8e9
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef64
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041aad1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b361
push ebx
call fcn.0049c8e9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b371
push ebx
call fcn.0049c8e9
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4b5098]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b3a4
push 0x46c
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4b513c]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b3d2
push 0x491
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
call fcn.0040f52f
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4b5140]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b405
push 0x4c0
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41b405
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0049dde0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004013f3
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b454
push ebx
call fcn.0049c8e9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b467
mov eax, 0x4ae205
push eax
push 1
mov ebx, 0x198
call fcn.0049e5a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b48d
push ebx
call fcn.0049c8e9
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040a94b
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b4a9
push ebx
call fcn.0049c8e9
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 0x41b4df
push 0x59b
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41b4f2
push ebx
call fcn.0049c8e9
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41b6cb
cmp dword [ebp + 0x10], 1
jne 0x41b59c
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049dde0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef50
push dword [ebp - 0x20]
push 0x4aef53
mov ecx, 3
call fcn.004013f3
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b552
push ebx
call fcn.0049c8e9
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef64
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041aad1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b587
push ebx
call fcn.0049c8e9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b597
push ebx
call fcn.0049c8e9
add esp, 4
jmp 0x41b62d
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049dde0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef50
push dword [ebp - 0x20]
push 0x4aef75
mov ecx, 3
call fcn.004013f3
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b5e8
push ebx
call fcn.0049c8e9
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef64
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041aad1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b61d
push ebx
call fcn.0049c8e9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b62d
push ebx
call fcn.0049c8e9
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4b5098]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b660
push 0x701
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4b513c]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b68e
push 0x726
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
call fcn.0040f52f
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4b5140]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b6c1
push 0x755
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41b6c1
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0049dde0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004013f3
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b710
push ebx
call fcn.0049c8e9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b723
mov eax, 0x4ae205
push eax
push 1
mov ebx, 0x198
call fcn.0049e5a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b749
push ebx
call fcn.0049c8e9
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040a94b
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b765
push ebx
call fcn.0049c8e9
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 0x41b7aa
push 0x82d
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41b7ba
push ebx
call fcn.0049c8e9
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0049dde0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004013f3
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b7ff
push ebx
call fcn.0049c8e9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b812
mov eax, 0x4ae205
push eax
push 1
mov ebx, 0x198
call fcn.0049e5a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b838
push ebx
call fcn.0049c8e9
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00414b30
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b854
push ebx
call fcn.0049c8e9
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 0x41b88a
push 0x8dd
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41b89d
push ebx
call fcn.0049c8e9
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41ba76
cmp dword [ebp + 0x10], 1
jne 0x41b947
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049dde0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef50
push dword [ebp - 0x20]
push 0x4aef53
mov ecx, 3
call fcn.004013f3
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b8fd
push ebx
call fcn.0049c8e9
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef64
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041aad1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b932
push ebx
call fcn.0049c8e9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b942
push ebx
call fcn.0049c8e9
add esp, 4
jmp 0x41b9d8
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049dde0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef50
push dword [ebp - 0x20]
push 0x4aef75
mov ecx, 3
call fcn.004013f3
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b993
push ebx
call fcn.0049c8e9
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef64
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041aad1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b9c8
push ebx
call fcn.0049c8e9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b9d8
push ebx
call fcn.0049c8e9
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4b5098]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41ba0b
push 0xa43
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4b513c]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41ba39
push 0xa68
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
call fcn.0040f52f
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4b5140]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41ba6c
push 0xa97
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41ba6c
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0049dde0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004013f3
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41babb
push ebx
call fcn.0049c8e9
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41bace
mov eax, 0x4ae205
push eax
push 1
mov ebx, 0x198
call fcn.0049e5a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41baf4
push ebx
call fcn.0049c8e9
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00414b30
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bb10
push ebx
call fcn.0049c8e9
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 0x41bb4b
push 0xb2b
push 0x402cacb
push 6
call fcn.0049c8ef
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41bb5b
push ebx
call fcn.0049c8e9
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 0x41bb84
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41bb9a
push ebx
call fcn.0049c8e9
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0049c8e9
add esp, 4
mov esp, ebp
pop ebp
ret 0xc