Function at 0x41b7b6
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.004a9fc5
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 0x41b821
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.0040be4e
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.00401cd1
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b88e
push ebx
call fcn.004a9fcb
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41b8a2
push ebx
call fcn.004a9fcb
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 0x41bb23
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.004ab540
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401cd1
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b905
push ebx
call fcn.004a9fcb
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b918
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x198
call fcn.004abde0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b93e
push ebx
call fcn.004a9fcb
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00403f4f
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b95a
push ebx
call fcn.004a9fcb
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.004ab540
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 [0x4c28ca]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41b9af
push 0x15e
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41b9c2
push ebx
call fcn.004a9fcb
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41ba03
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x4c283a]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b9fe
push 0x1b4
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
jmp 0x41bb1b
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.004ab540
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401cd1
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ba48
push ebx
call fcn.004a9fcb
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41ba5b
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x198
call fcn.004abde0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41ba81
push ebx
call fcn.004a9fcb
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00403f4f
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ba9d
push ebx
call fcn.004a9fcb
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.004ab540
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 0x41baf0
push 0x267
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41bb03
push ebx
call fcn.004a9fcb
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 0x41bb23
pop eax
pop ebx
pop ecx
jmp 0x41b8b2
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x41bcff
cmp dword [ebp + 0x10], 1
jne 0x41bbd0
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004ab540
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc0d6
push dword [ebp - 0x20]
push 0x4bc0d9
mov ecx, 3
call fcn.00401cd1
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bb86
push ebx
call fcn.004a9fcb
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc0ea
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b3c1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bbbb
push ebx
call fcn.004a9fcb
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bbcb
push ebx
call fcn.004a9fcb
add esp, 4
jmp 0x41bc61
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004ab540
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc0d6
push dword [ebp - 0x20]
push 0x4bc0fb
mov ecx, 3
call fcn.00401cd1
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bc1c
push ebx
call fcn.004a9fcb
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc0ea
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b3c1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bc51
push ebx
call fcn.004a9fcb
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bc61
push ebx
call fcn.004a9fcb
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4c282a]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bc94
push 0x46c
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4c28ce]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bcc2
push 0x491
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
call fcn.0040fe1f
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4c28d2]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bcf5
push 0x4c0
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41bcf5
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004ab540
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401cd1
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bd44
push ebx
call fcn.004a9fcb
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41bd57
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x198
call fcn.004abde0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bd7d
push ebx
call fcn.004a9fcb
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040b336
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bd99
push ebx
call fcn.004a9fcb
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 0x41bdcf
push 0x59b
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41bde2
push ebx
call fcn.004a9fcb
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41bfbb
cmp dword [ebp + 0x10], 1
jne 0x41be8c
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004ab540
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc0d6
push dword [ebp - 0x20]
push 0x4bc0d9
mov ecx, 3
call fcn.00401cd1
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41be42
push ebx
call fcn.004a9fcb
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc0ea
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b3c1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41be77
push ebx
call fcn.004a9fcb
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41be87
push ebx
call fcn.004a9fcb
add esp, 4
jmp 0x41bf1d
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004ab540
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc0d6
push dword [ebp - 0x20]
push 0x4bc0fb
mov ecx, 3
call fcn.00401cd1
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bed8
push ebx
call fcn.004a9fcb
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc0ea
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b3c1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bf0d
push ebx
call fcn.004a9fcb
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bf1d
push ebx
call fcn.004a9fcb
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4c282a]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bf50
push 0x701
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4c28ce]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bf7e
push 0x726
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
call fcn.0040fe1f
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4c28d2]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bfb1
push 0x755
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41bfb1
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004ab540
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401cd1
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c000
push ebx
call fcn.004a9fcb
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41c013
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x198
call fcn.004abde0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c039
push ebx
call fcn.004a9fcb
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040b336
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c055
push ebx
call fcn.004a9fcb
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 0x41c09a
push 0x82d
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41c0aa
push ebx
call fcn.004a9fcb
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004ab540
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401cd1
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c0ef
push ebx
call fcn.004a9fcb
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41c102
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x198
call fcn.004abde0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c128
push ebx
call fcn.004a9fcb
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00415420
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c144
push ebx
call fcn.004a9fcb
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 0x41c17a
push 0x8dd
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41c18d
push ebx
call fcn.004a9fcb
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41c366
cmp dword [ebp + 0x10], 1
jne 0x41c237
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004ab540
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc0d6
push dword [ebp - 0x20]
push 0x4bc0d9
mov ecx, 3
call fcn.00401cd1
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c1ed
push ebx
call fcn.004a9fcb
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc0ea
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b3c1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c222
push ebx
call fcn.004a9fcb
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c232
push ebx
call fcn.004a9fcb
add esp, 4
jmp 0x41c2c8
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004ab540
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc0d6
push dword [ebp - 0x20]
push 0x4bc0fb
mov ecx, 3
call fcn.00401cd1
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c283
push ebx
call fcn.004a9fcb
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc0ea
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b3c1
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c2b8
push ebx
call fcn.004a9fcb
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c2c8
push ebx
call fcn.004a9fcb
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4c282a]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c2fb
push 0xa43
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4c28ce]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c329
push 0xa68
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
call fcn.0040fe1f
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4c28d2]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c35c
push 0xa97
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41c35c
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004ab540
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401cd1
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c3ab
push ebx
call fcn.004a9fcb
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41c3be
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x198
call fcn.004abde0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c3e4
push ebx
call fcn.004a9fcb
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00415420
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c400
push ebx
call fcn.004a9fcb
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 0x41c43b
push 0xb2b
push 0x402700f
push 6
call fcn.004a9fd1
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41c44b
push ebx
call fcn.004a9fcb
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 0x41c474
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41c48a
push ebx
call fcn.004a9fcb
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004a9fcb
add esp, 4
mov esp, ebp
pop ebp
ret 0xc