Function at 0x41af17
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.00493ae7
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 0x41af82
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.0040b4b4
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41afef
push ebx
call fcn.00493aed
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41b003
push ebx
call fcn.00493aed
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 0x41b284
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.00495140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b066
push ebx
call fcn.00493aed
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b079
mov eax, 0x4a520f
push eax
push 1
mov ebx, 0x198
call fcn.004956c0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b09f
push ebx
call fcn.00493aed
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004035b5
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b0bb
push ebx
call fcn.00493aed
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.00495140
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 [0x4ab312]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41b110
push 0x15e
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41b123
push ebx
call fcn.00493aed
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41b164
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x4ab282]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b15f
push 0x1b4
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
jmp 0x41b27c
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.00495140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b1a9
push ebx
call fcn.00493aed
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b1bc
mov eax, 0x4a520f
push eax
push 1
mov ebx, 0x198
call fcn.004956c0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b1e2
push ebx
call fcn.00493aed
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.004035b5
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b1fe
push ebx
call fcn.00493aed
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.00495140
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 0x41b251
push 0x267
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41b264
push ebx
call fcn.00493aed
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 0x41b284
pop eax
pop ebx
pop ecx
jmp 0x41b013
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x41b460
cmp dword [ebp + 0x10], 1
jne 0x41b331
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.00495140
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4a5ed2
push dword [ebp - 0x20]
push 0x4a5ed5
mov ecx, 3
call fcn.00401451
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b2e7
push ebx
call fcn.00493aed
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4a5ee6
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041ab22
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b31c
push ebx
call fcn.00493aed
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b32c
push ebx
call fcn.00493aed
add esp, 4
jmp 0x41b3c2
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.00495140
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4a5ed2
push dword [ebp - 0x20]
push 0x4a5ef7
mov ecx, 3
call fcn.00401451
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b37d
push ebx
call fcn.00493aed
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4a5ee6
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041ab22
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b3b2
push ebx
call fcn.00493aed
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b3c2
push ebx
call fcn.00493aed
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4ab272]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b3f5
push 0x46c
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4ab316]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b423
push 0x491
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
call fcn.0040f580
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4ab31a]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b456
push 0x4c0
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41b456
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00495140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b4a5
push ebx
call fcn.00493aed
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b4b8
mov eax, 0x4a520f
push eax
push 1
mov ebx, 0x198
call fcn.004956c0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b4de
push ebx
call fcn.00493aed
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040a99c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b4fa
push ebx
call fcn.00493aed
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 0x41b530
push 0x59b
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41b543
push ebx
call fcn.00493aed
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41b71c
cmp dword [ebp + 0x10], 1
jne 0x41b5ed
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.00495140
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4a5ed2
push dword [ebp - 0x20]
push 0x4a5ed5
mov ecx, 3
call fcn.00401451
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b5a3
push ebx
call fcn.00493aed
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4a5ee6
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041ab22
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b5d8
push ebx
call fcn.00493aed
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b5e8
push ebx
call fcn.00493aed
add esp, 4
jmp 0x41b67e
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.00495140
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4a5ed2
push dword [ebp - 0x20]
push 0x4a5ef7
mov ecx, 3
call fcn.00401451
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b639
push ebx
call fcn.00493aed
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4a5ee6
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041ab22
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b66e
push ebx
call fcn.00493aed
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b67e
push ebx
call fcn.00493aed
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4ab272]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b6b1
push 0x701
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4ab316]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b6df
push 0x726
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
call fcn.0040f580
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4ab31a]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41b712
push 0x755
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41b712
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00495140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b761
push ebx
call fcn.00493aed
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b774
mov eax, 0x4a520f
push eax
push 1
mov ebx, 0x198
call fcn.004956c0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b79a
push ebx
call fcn.00493aed
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040a99c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b7b6
push ebx
call fcn.00493aed
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 0x41b7fb
push 0x82d
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41b80b
push ebx
call fcn.00493aed
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00495140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b850
push ebx
call fcn.00493aed
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41b863
mov eax, 0x4a520f
push eax
push 1
mov ebx, 0x198
call fcn.004956c0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b889
push ebx
call fcn.00493aed
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00414b81
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b8a5
push ebx
call fcn.00493aed
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 0x41b8db
push 0x8dd
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41b8ee
push ebx
call fcn.00493aed
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41bac7
cmp dword [ebp + 0x10], 1
jne 0x41b998
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.00495140
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4a5ed2
push dword [ebp - 0x20]
push 0x4a5ed5
mov ecx, 3
call fcn.00401451
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b94e
push ebx
call fcn.00493aed
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4a5ee6
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041ab22
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41b983
push ebx
call fcn.00493aed
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41b993
push ebx
call fcn.00493aed
add esp, 4
jmp 0x41ba29
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.00495140
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4a5ed2
push dword [ebp - 0x20]
push 0x4a5ef7
mov ecx, 3
call fcn.00401451
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b9e4
push ebx
call fcn.00493aed
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4a5ee6
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041ab22
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41ba19
push ebx
call fcn.00493aed
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ba29
push ebx
call fcn.00493aed
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4ab272]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41ba5c
push 0xa43
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4ab316]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41ba8a
push 0xa68
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
call fcn.0040f580
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4ab31a]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41babd
push 0xa97
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41babd
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.00495140
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401451
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bb0c
push ebx
call fcn.00493aed
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41bb1f
mov eax, 0x4a520f
push eax
push 1
mov ebx, 0x198
call fcn.004956c0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bb45
push ebx
call fcn.00493aed
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00414b81
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bb61
push ebx
call fcn.00493aed
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 0x41bb9c
push 0xb2b
push 0x414438c
push 6
call fcn.00493af3
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41bbac
push ebx
call fcn.00493aed
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 0x41bbd5
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41bbeb
push ebx
call fcn.00493aed
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00493aed
add esp, 4
mov esp, ebp
pop ebp
ret 0xc