Function at 0x41bd53
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.004a966e
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 0x41bdbe
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.0040c3eb
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.004014d0
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41be2b
push ebx
call fcn.004a9674
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41be3f
push ebx
call fcn.004a9674
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 0x41c0c0
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.004aaaf0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004014d0
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bea2
push ebx
call fcn.004a9674
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41beb5
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x198
call fcn.004abaa0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bedb
push ebx
call fcn.004a9674
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004044ec
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bef7
push ebx
call fcn.004a9674
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.004aaaf0
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 [0x4c2b59]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41bf4c
push 0x15e
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41bf5f
push ebx
call fcn.004a9674
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41bfa0
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x4c2ac9]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bf9b
push 0x1b4
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
jmp 0x41c0b8
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.004aaaf0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004014d0
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bfe5
push ebx
call fcn.004a9674
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41bff8
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x198
call fcn.004abaa0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c01e
push ebx
call fcn.004a9674
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004044ec
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c03a
push ebx
call fcn.004a9674
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.004aaaf0
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 0x41c08d
push 0x267
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41c0a0
push ebx
call fcn.004a9674
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 0x41c0c0
pop eax
pop ebx
pop ecx
jmp 0x41be4f
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x41c29c
cmp dword [ebp + 0x10], 1
jne 0x41c16d
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004aaaf0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc117
push dword [ebp - 0x20]
push 0x4bc11a
mov ecx, 3
call fcn.004014d0
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c123
push ebx
call fcn.004a9674
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc12b
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b95e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c158
push ebx
call fcn.004a9674
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c168
push ebx
call fcn.004a9674
add esp, 4
jmp 0x41c1fe
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004aaaf0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc117
push dword [ebp - 0x20]
push 0x4bc13c
mov ecx, 3
call fcn.004014d0
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c1b9
push ebx
call fcn.004a9674
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc12b
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b95e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c1ee
push ebx
call fcn.004a9674
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c1fe
push ebx
call fcn.004a9674
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4c2ab9]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c231
push 0x46c
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4c2b5d]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c25f
push 0x491
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
call fcn.004103bc
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4c2b61]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c292
push 0x4c0
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41c292
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004aaaf0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004014d0
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c2e1
push ebx
call fcn.004a9674
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41c2f4
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x198
call fcn.004abaa0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c31a
push ebx
call fcn.004a9674
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040b8d3
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c336
push ebx
call fcn.004a9674
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 0x41c36c
push 0x59b
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41c37f
push ebx
call fcn.004a9674
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41c558
cmp dword [ebp + 0x10], 1
jne 0x41c429
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004aaaf0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc117
push dword [ebp - 0x20]
push 0x4bc11a
mov ecx, 3
call fcn.004014d0
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c3df
push ebx
call fcn.004a9674
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc12b
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b95e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c414
push ebx
call fcn.004a9674
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c424
push ebx
call fcn.004a9674
add esp, 4
jmp 0x41c4ba
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004aaaf0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc117
push dword [ebp - 0x20]
push 0x4bc13c
mov ecx, 3
call fcn.004014d0
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c475
push ebx
call fcn.004a9674
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc12b
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b95e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c4aa
push ebx
call fcn.004a9674
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c4ba
push ebx
call fcn.004a9674
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4c2ab9]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c4ed
push 0x701
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4c2b5d]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c51b
push 0x726
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
call fcn.004103bc
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4c2b61]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c54e
push 0x755
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41c54e
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004aaaf0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004014d0
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c59d
push ebx
call fcn.004a9674
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41c5b0
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x198
call fcn.004abaa0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c5d6
push ebx
call fcn.004a9674
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040b8d3
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c5f2
push ebx
call fcn.004a9674
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 0x41c637
push 0x82d
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41c647
push ebx
call fcn.004a9674
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004aaaf0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004014d0
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c68c
push ebx
call fcn.004a9674
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41c69f
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x198
call fcn.004abaa0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c6c5
push ebx
call fcn.004a9674
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004159bd
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c6e1
push ebx
call fcn.004a9674
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 0x41c717
push 0x8dd
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41c72a
push ebx
call fcn.004a9674
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41c903
cmp dword [ebp + 0x10], 1
jne 0x41c7d4
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004aaaf0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc117
push dword [ebp - 0x20]
push 0x4bc11a
mov ecx, 3
call fcn.004014d0
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c78a
push ebx
call fcn.004a9674
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc12b
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b95e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c7bf
push ebx
call fcn.004a9674
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c7cf
push ebx
call fcn.004a9674
add esp, 4
jmp 0x41c865
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004aaaf0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bc117
push dword [ebp - 0x20]
push 0x4bc13c
mov ecx, 3
call fcn.004014d0
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c820
push ebx
call fcn.004a9674
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bc12b
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b95e
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c855
push ebx
call fcn.004a9674
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c865
push ebx
call fcn.004a9674
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4c2ab9]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c898
push 0xa43
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4c2b5d]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c8c6
push 0xa68
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
call fcn.004103bc
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4c2b61]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c8f9
push 0xa97
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41c8f9
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004aaaf0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004014d0
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c948
push ebx
call fcn.004a9674
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41c95b
mov eax, 0x4bb20b
push eax
push 1
mov ebx, 0x198
call fcn.004abaa0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c981
push ebx
call fcn.004a9674
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004159bd
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c99d
push ebx
call fcn.004a9674
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 0x41c9d8
push 0xb2b
push 0x4027649
push 6
call fcn.004a967a
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41c9e8
push ebx
call fcn.004a9674
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 0x41ca11
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41ca27
push ebx
call fcn.004a9674
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004a9674
add esp, 4
mov esp, ebp
pop ebp
ret 0xc