Function at 0x41b152
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.00446baf
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 0x41b1bd
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.0040ae80
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.00401c19
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b21e
push ebx
call fcn.00446bb5
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41b232
push ebx
call fcn.00446bb5
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 0x41b4b3
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401c19
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b295
push ebx
call fcn.00446bb5
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b2a8
mov eax, 0x479858
push eax
push 1
mov ebx, 0x198
call fcn.00448eb0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b2ce
push ebx
call fcn.00446bb5
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040a232
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b2ea
push ebx
call fcn.00446bb5
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.00447ec0
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 [0x4baf68]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41b33f
push 0x15e
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41b352
push ebx
call fcn.00446bb5
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41b393
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x4baf6c]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b38e
push 0x1b4
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
jmp 0x41b4ab
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401c19
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b3d8
push ebx
call fcn.00446bb5
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b3eb
mov eax, 0x479858
push eax
push 1
mov ebx, 0x198
call fcn.00448eb0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b411
push ebx
call fcn.00446bb5
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040a232
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b42d
push ebx
call fcn.00446bb5
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.00447ec0
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 0x41b480
push 0x267
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41b493
push ebx
call fcn.00446bb5
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 0x41b4b3
pop eax
pop ebx
pop ecx
jmp 0x41b242
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x41b68f
cmp dword [ebp + 0x10], 1
jne 0x41b560
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x482ea0
push dword [ebp - 0x20]
push 0x482ea3
mov ecx, 3
call fcn.00401c19
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b516
push ebx
call fcn.00446bb5
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x482eb4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041af48
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b54b
push ebx
call fcn.00446bb5
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b55b
push ebx
call fcn.00446bb5
add esp, 4
jmp 0x41b5f1
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x482ea0
push dword [ebp - 0x20]
push 0x482ec5
mov ecx, 3
call fcn.00401c19
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b5ac
push ebx
call fcn.00446bb5
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x482eb4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041af48
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b5e1
push ebx
call fcn.00446bb5
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b5f1
push ebx
call fcn.00446bb5
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4baf38]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b624
push 0x46c
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4baf70]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b652
push 0x491
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
call fcn.00407c9b
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4baf74]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b685
push 0x4c0
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41b685
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401c19
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b6d4
push ebx
call fcn.00446bb5
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b6e7
mov eax, 0x479858
push eax
push 1
mov ebx, 0x198
call fcn.00448eb0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b70d
push ebx
call fcn.00446bb5
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040af4f
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b729
push ebx
call fcn.00446bb5
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 0x41b75f
push 0x59b
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41b772
push ebx
call fcn.00446bb5
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41b94b
cmp dword [ebp + 0x10], 1
jne 0x41b81c
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x482ea0
push dword [ebp - 0x20]
push 0x482ea3
mov ecx, 3
call fcn.00401c19
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b7d2
push ebx
call fcn.00446bb5
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x482eb4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041af48
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b807
push ebx
call fcn.00446bb5
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b817
push ebx
call fcn.00446bb5
add esp, 4
jmp 0x41b8ad
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x482ea0
push dword [ebp - 0x20]
push 0x482ec5
mov ecx, 3
call fcn.00401c19
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b868
push ebx
call fcn.00446bb5
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x482eb4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041af48
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b89d
push ebx
call fcn.00446bb5
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b8ad
push ebx
call fcn.00446bb5
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4baf38]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b8e0
push 0x701
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4baf70]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b90e
push 0x726
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
call fcn.00407c9b
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4baf74]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b941
push 0x755
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41b941
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401c19
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b990
push ebx
call fcn.00446bb5
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b9a3
mov eax, 0x479858
push eax
push 1
mov ebx, 0x198
call fcn.00448eb0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b9c9
push ebx
call fcn.00446bb5
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040af4f
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b9e5
push ebx
call fcn.00446bb5
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 0x41ba2a
push 0x82d
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41ba3a
push ebx
call fcn.00446bb5
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401c19
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ba7f
push ebx
call fcn.00446bb5
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41ba92
mov eax, 0x479858
push eax
push 1
mov ebx, 0x198
call fcn.00448eb0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bab8
push ebx
call fcn.00446bb5
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040590c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bad4
push ebx
call fcn.00446bb5
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 0x41bb0a
push 0x8dd
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41bb1d
push ebx
call fcn.00446bb5
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41bcf6
cmp dword [ebp + 0x10], 1
jne 0x41bbc7
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x482ea0
push dword [ebp - 0x20]
push 0x482ea3
mov ecx, 3
call fcn.00401c19
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bb7d
push ebx
call fcn.00446bb5
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x482eb4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041af48
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bbb2
push ebx
call fcn.00446bb5
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bbc2
push ebx
call fcn.00446bb5
add esp, 4
jmp 0x41bc58
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x482ea0
push dword [ebp - 0x20]
push 0x482ec5
mov ecx, 3
call fcn.00401c19
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bc13
push ebx
call fcn.00446bb5
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x482eb4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041af48
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bc48
push ebx
call fcn.00446bb5
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bc58
push ebx
call fcn.00446bb5
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4baf38]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bc8b
push 0xa43
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4baf70]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bcb9
push 0xa68
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
call fcn.00407c9b
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4baf74]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bcec
push 0xa97
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41bcec
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00447ec0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401c19
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bd3b
push ebx
call fcn.00446bb5
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41bd4e
mov eax, 0x479858
push eax
push 1
mov ebx, 0x198
call fcn.00448eb0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bd74
push ebx
call fcn.00446bb5
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040590c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bd90
push ebx
call fcn.00446bb5
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 0x41bdcb
push 0xb2b
push 0x4026a21
push 6
call fcn.00446bbb
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41bddb
push ebx
call fcn.00446bb5
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 0x41be04
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41be14
push ebx
call fcn.00446bb5
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00446bb5
add esp, 4
mov esp, ebp
pop ebp
ret 0xc