Function at 0x41c2c8
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.004b919a
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 0x41c333
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.0040c960
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.00401f52
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c3a0
push ebx
call fcn.004b91a0
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41c3b4
push ebx
call fcn.004b91a0
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 0x41c635
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401f52
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c417
push ebx
call fcn.004b91a0
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41c42a
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x198
call fcn.004bb0a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c450
push ebx
call fcn.004b91a0
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00404a61
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c46c
push ebx
call fcn.004b91a0
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.004b9f30
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 [0x4d26d2]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41c4c1
push 0x15e
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41c4d4
push ebx
call fcn.004b91a0
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41c515
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x4d2642]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c510
push 0x1b4
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
jmp 0x41c62d
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401f52
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c55a
push ebx
call fcn.004b91a0
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41c56d
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x198
call fcn.004bb0a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c593
push ebx
call fcn.004b91a0
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00404a61
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c5af
push ebx
call fcn.004b91a0
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.004b9f30
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 0x41c602
push 0x267
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41c615
push ebx
call fcn.004b91a0
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 0x41c635
pop eax
pop ebx
pop ecx
jmp 0x41c3c4
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x41c811
cmp dword [ebp + 0x10], 1
jne 0x41c6e2
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4cb14b
push dword [ebp - 0x20]
push 0x4cb14e
mov ecx, 3
call fcn.00401f52
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c698
push ebx
call fcn.004b91a0
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4cb15f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041bed3
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c6cd
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c6dd
push ebx
call fcn.004b91a0
add esp, 4
jmp 0x41c773
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4cb14b
push dword [ebp - 0x20]
push 0x4cb170
mov ecx, 3
call fcn.00401f52
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c72e
push ebx
call fcn.004b91a0
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4cb15f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041bed3
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c763
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c773
push ebx
call fcn.004b91a0
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4d2632]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c7a6
push 0x46c
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4d26d6]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c7d4
push 0x491
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
call fcn.00410931
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4d26da]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c807
push 0x4c0
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41c807
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401f52
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c856
push ebx
call fcn.004b91a0
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41c869
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x198
call fcn.004bb0a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c88f
push ebx
call fcn.004b91a0
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040be48
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c8ab
push ebx
call fcn.004b91a0
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 0x41c8e1
push 0x59b
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41c8f4
push ebx
call fcn.004b91a0
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41cacd
cmp dword [ebp + 0x10], 1
jne 0x41c99e
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4cb14b
push dword [ebp - 0x20]
push 0x4cb14e
mov ecx, 3
call fcn.00401f52
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c954
push ebx
call fcn.004b91a0
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4cb15f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041bed3
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c989
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c999
push ebx
call fcn.004b91a0
add esp, 4
jmp 0x41ca2f
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4cb14b
push dword [ebp - 0x20]
push 0x4cb170
mov ecx, 3
call fcn.00401f52
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c9ea
push ebx
call fcn.004b91a0
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4cb15f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041bed3
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41ca1f
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ca2f
push ebx
call fcn.004b91a0
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4d2632]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41ca62
push 0x701
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4d26d6]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41ca90
push 0x726
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
call fcn.00410931
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4d26da]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41cac3
push 0x755
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41cac3
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401f52
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41cb12
push ebx
call fcn.004b91a0
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41cb25
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x198
call fcn.004bb0a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41cb4b
push ebx
call fcn.004b91a0
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040be48
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41cb67
push ebx
call fcn.004b91a0
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 0x41cbac
push 0x82d
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41cbbc
push ebx
call fcn.004b91a0
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401f52
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41cc01
push ebx
call fcn.004b91a0
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41cc14
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x198
call fcn.004bb0a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41cc3a
push ebx
call fcn.004b91a0
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00415f32
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41cc56
push ebx
call fcn.004b91a0
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 0x41cc8c
push 0x8dd
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41cc9f
push ebx
call fcn.004b91a0
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41ce78
cmp dword [ebp + 0x10], 1
jne 0x41cd49
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4cb14b
push dword [ebp - 0x20]
push 0x4cb14e
mov ecx, 3
call fcn.00401f52
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ccff
push ebx
call fcn.004b91a0
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4cb15f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041bed3
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41cd34
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41cd44
push ebx
call fcn.004b91a0
add esp, 4
jmp 0x41cdda
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4cb14b
push dword [ebp - 0x20]
push 0x4cb170
mov ecx, 3
call fcn.00401f52
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41cd95
push ebx
call fcn.004b91a0
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4cb15f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041bed3
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41cdca
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41cdda
push ebx
call fcn.004b91a0
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4d2632]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41ce0d
push 0xa43
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4d26d6]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41ce3b
push 0xa68
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
call fcn.00410931
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4d26da]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41ce6e
push 0xa97
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41ce6e
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004b9f30
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401f52
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41cebd
push ebx
call fcn.004b91a0
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41ced0
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x198
call fcn.004bb0a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41cef6
push ebx
call fcn.004b91a0
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00415f32
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41cf12
push ebx
call fcn.004b91a0
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 0x41cf4d
push 0xb2b
push 0x4037310
push 6
call fcn.004b91a6
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41cf5d
push ebx
call fcn.004b91a0
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 0x41cf86
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41cf9c
push ebx
call fcn.004b91a0
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004b91a0
add esp, 4
mov esp, ebp
pop ebp
ret 0xc