Function at 0x41b333
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.004a95c1
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 0x41b39e
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.0040b8d0
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.0040185d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b40b
push ebx
call fcn.004a95c7
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41b41f
push ebx
call fcn.004a95c7
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 0x41b6a0
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.004aaae0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040185d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b482
push ebx
call fcn.004a95c7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b495
mov eax, 0x4bb3e2
push eax
push 1
mov ebx, 0x198
call fcn.004ab2a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b4bb
push ebx
call fcn.004a95c7
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004039d1
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b4d7
push ebx
call fcn.004a95c7
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.004aaae0
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 [0x4c2aaf]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41b52c
push 0x15e
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41b53f
push ebx
call fcn.004a95c7
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41b580
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x4c2a1f]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b57b
push 0x1b4
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
jmp 0x41b698
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.004aaae0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040185d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b5c5
push ebx
call fcn.004a95c7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b5d8
mov eax, 0x4bb3e2
push eax
push 1
mov ebx, 0x198
call fcn.004ab2a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b5fe
push ebx
call fcn.004a95c7
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004039d1
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b61a
push ebx
call fcn.004a95c7
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.004aaae0
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 0x41b66d
push 0x267
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41b680
push ebx
call fcn.004a95c7
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 0x41b6a0
pop eax
pop ebx
pop ecx
jmp 0x41b42f
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x41b87c
cmp dword [ebp + 0x10], 1
jne 0x41b74d
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004aaae0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc0ab
push dword [ebp - 0x20]
push 0x4bc0ae
mov ecx, 3
call fcn.0040185d
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b703
push ebx
call fcn.004a95c7
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc0bf
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041af3e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b738
push ebx
call fcn.004a95c7
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b748
push ebx
call fcn.004a95c7
add esp, 4
jmp 0x41b7de
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004aaae0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc0ab
push dword [ebp - 0x20]
push 0x4bc0d0
mov ecx, 3
call fcn.0040185d
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b799
push ebx
call fcn.004a95c7
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc0bf
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041af3e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b7ce
push ebx
call fcn.004a95c7
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b7de
push ebx
call fcn.004a95c7
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4c2a0f]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b811
push 0x46c
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4c2ab3]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b83f
push 0x491
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
call fcn.0040f99c
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4c2ab7]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b872
push 0x4c0
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41b872
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004aaae0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040185d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b8c1
push ebx
call fcn.004a95c7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b8d4
mov eax, 0x4bb3e2
push eax
push 1
mov ebx, 0x198
call fcn.004ab2a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b8fa
push ebx
call fcn.004a95c7
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040adb8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b916
push ebx
call fcn.004a95c7
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 0x41b94c
push 0x59b
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41b95f
push ebx
call fcn.004a95c7
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41bb38
cmp dword [ebp + 0x10], 1
jne 0x41ba09
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004aaae0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc0ab
push dword [ebp - 0x20]
push 0x4bc0ae
mov ecx, 3
call fcn.0040185d
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b9bf
push ebx
call fcn.004a95c7
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc0bf
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041af3e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b9f4
push ebx
call fcn.004a95c7
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ba04
push ebx
call fcn.004a95c7
add esp, 4
jmp 0x41ba9a
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004aaae0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc0ab
push dword [ebp - 0x20]
push 0x4bc0d0
mov ecx, 3
call fcn.0040185d
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ba55
push ebx
call fcn.004a95c7
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc0bf
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041af3e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41ba8a
push ebx
call fcn.004a95c7
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ba9a
push ebx
call fcn.004a95c7
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4c2a0f]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bacd
push 0x701
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4c2ab3]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bafb
push 0x726
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
call fcn.0040f99c
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4c2ab7]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bb2e
push 0x755
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41bb2e
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004aaae0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040185d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bb7d
push ebx
call fcn.004a95c7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41bb90
mov eax, 0x4bb3e2
push eax
push 1
mov ebx, 0x198
call fcn.004ab2a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bbb6
push ebx
call fcn.004a95c7
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040adb8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bbd2
push ebx
call fcn.004a95c7
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 0x41bc17
push 0x82d
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41bc27
push ebx
call fcn.004a95c7
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004aaae0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040185d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bc6c
push ebx
call fcn.004a95c7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41bc7f
mov eax, 0x4bb3e2
push eax
push 1
mov ebx, 0x198
call fcn.004ab2a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bca5
push ebx
call fcn.004a95c7
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00414f9d
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bcc1
push ebx
call fcn.004a95c7
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 0x41bcf7
push 0x8dd
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41bd0a
push ebx
call fcn.004a95c7
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41bee3
cmp dword [ebp + 0x10], 1
jne 0x41bdb4
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004aaae0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc0ab
push dword [ebp - 0x20]
push 0x4bc0ae
mov ecx, 3
call fcn.0040185d
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bd6a
push ebx
call fcn.004a95c7
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc0bf
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041af3e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bd9f
push ebx
call fcn.004a95c7
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bdaf
push ebx
call fcn.004a95c7
add esp, 4
jmp 0x41be45
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004aaae0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc0ab
push dword [ebp - 0x20]
push 0x4bc0d0
mov ecx, 3
call fcn.0040185d
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41be00
push ebx
call fcn.004a95c7
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc0bf
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041af3e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41be35
push ebx
call fcn.004a95c7
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41be45
push ebx
call fcn.004a95c7
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4c2a0f]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41be78
push 0xa43
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4c2ab3]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bea6
push 0xa68
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
call fcn.0040f99c
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4c2ab7]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bed9
push 0xa97
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41bed9
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004aaae0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040185d
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bf28
push ebx
call fcn.004a95c7
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41bf3b
mov eax, 0x4bb3e2
push eax
push 1
mov ebx, 0x198
call fcn.004ab2a0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bf61
push ebx
call fcn.004a95c7
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00414f9d
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bf7d
push ebx
call fcn.004a95c7
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 0x41bfb8
push 0xb2b
push 0x4026de6
push 6
call fcn.004a95cd
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41bfc8
push ebx
call fcn.004a95c7
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 0x41bff1
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41c007
push ebx
call fcn.004a95c7
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004a95c7
add esp, 4
mov esp, ebp
pop ebp
ret 0xc