Function at 0x41b21e
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.0049c651
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 0x41b289
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.0040b8b6
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.00401867
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b2f6
push ebx
call fcn.0049c657
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41b30a
push ebx
call fcn.0049c657
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 0x41b58b
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401867
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b36d
push ebx
call fcn.0049c657
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b380
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e370
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b3a6
push ebx
call fcn.0049c657
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004039b7
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b3c2
push ebx
call fcn.0049c657
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.0049dbb0
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 [0x4b50fc]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41b417
push 0x15e
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41b42a
push ebx
call fcn.0049c657
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41b46b
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x4b506c]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b466
push 0x1b4
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
jmp 0x41b583
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401867
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b4b0
push ebx
call fcn.0049c657
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b4c3
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e370
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b4e9
push ebx
call fcn.0049c657
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004039b7
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b505
push ebx
call fcn.0049c657
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.0049dbb0
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 0x41b558
push 0x267
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41b56b
push ebx
call fcn.0049c657
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 0x41b58b
pop eax
pop ebx
pop ecx
jmp 0x41b31a
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x41b767
cmp dword [ebp + 0x10], 1
jne 0x41b638
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef5b
push dword [ebp - 0x20]
push 0x4aef5e
mov ecx, 3
call fcn.00401867
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b5ee
push ebx
call fcn.0049c657
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef6f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041ae29
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b623
push ebx
call fcn.0049c657
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b633
push ebx
call fcn.0049c657
add esp, 4
jmp 0x41b6c9
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef5b
push dword [ebp - 0x20]
push 0x4aef80
mov ecx, 3
call fcn.00401867
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b684
push ebx
call fcn.0049c657
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef6f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041ae29
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b6b9
push ebx
call fcn.0049c657
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b6c9
push ebx
call fcn.0049c657
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4b505c]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b6fc
push 0x46c
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4b5100]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b72a
push 0x491
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
call fcn.0040f887
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4b5104]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b75d
push 0x4c0
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41b75d
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401867
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b7ac
push ebx
call fcn.0049c657
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b7bf
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e370
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b7e5
push ebx
call fcn.0049c657
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040ad9e
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b801
push ebx
call fcn.0049c657
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 0x41b837
push 0x59b
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41b84a
push ebx
call fcn.0049c657
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41ba23
cmp dword [ebp + 0x10], 1
jne 0x41b8f4
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef5b
push dword [ebp - 0x20]
push 0x4aef5e
mov ecx, 3
call fcn.00401867
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b8aa
push ebx
call fcn.0049c657
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef6f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041ae29
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b8df
push ebx
call fcn.0049c657
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b8ef
push ebx
call fcn.0049c657
add esp, 4
jmp 0x41b985
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef5b
push dword [ebp - 0x20]
push 0x4aef80
mov ecx, 3
call fcn.00401867
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b940
push ebx
call fcn.0049c657
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef6f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041ae29
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b975
push ebx
call fcn.0049c657
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b985
push ebx
call fcn.0049c657
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4b505c]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b9b8
push 0x701
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4b5100]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b9e6
push 0x726
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
call fcn.0040f887
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4b5104]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41ba19
push 0x755
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41ba19
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401867
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ba68
push ebx
call fcn.0049c657
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41ba7b
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e370
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41baa1
push ebx
call fcn.0049c657
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040ad9e
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41babd
push ebx
call fcn.0049c657
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 0x41bb02
push 0x82d
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41bb12
push ebx
call fcn.0049c657
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401867
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bb57
push ebx
call fcn.0049c657
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41bb6a
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e370
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bb90
push ebx
call fcn.0049c657
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00414e88
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bbac
push ebx
call fcn.0049c657
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 0x41bbe2
push 0x8dd
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41bbf5
push ebx
call fcn.0049c657
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41bdce
cmp dword [ebp + 0x10], 1
jne 0x41bc9f
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef5b
push dword [ebp - 0x20]
push 0x4aef5e
mov ecx, 3
call fcn.00401867
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bc55
push ebx
call fcn.0049c657
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef6f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041ae29
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bc8a
push ebx
call fcn.0049c657
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bc9a
push ebx
call fcn.0049c657
add esp, 4
jmp 0x41bd30
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef5b
push dword [ebp - 0x20]
push 0x4aef80
mov ecx, 3
call fcn.00401867
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bceb
push ebx
call fcn.0049c657
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef6f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041ae29
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bd20
push ebx
call fcn.0049c657
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bd30
push ebx
call fcn.0049c657
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4b505c]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bd63
push 0xa43
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4b5100]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bd91
push 0xa68
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
call fcn.0040f887
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4b5104]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bdc4
push 0xa97
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41bdc4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0049dbb0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401867
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41be13
push ebx
call fcn.0049c657
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41be26
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e370
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41be4c
push ebx
call fcn.0049c657
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00414e88
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41be68
push ebx
call fcn.0049c657
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 0x41bea3
push 0xb2b
push 0x402ca76
push 6
call fcn.0049c65d
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41beb3
push ebx
call fcn.0049c657
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 0x41bedc
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41bef2
push ebx
call fcn.0049c657
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0049c657
add esp, 4
mov esp, ebp
pop ebp
ret 0xc