Function at 0x417c98
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.004afd15
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 0x417d03
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.0041897e
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.00401454
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417d70
push ebx
call fcn.004afd1b
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x417d84
push ebx
call fcn.004afd1b
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 0x418005
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401454
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417de7
push ebx
call fcn.004afd1b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x417dfa
mov eax, 0x4c1214
push eax
push 1
mov ebx, 0x198
call fcn.004b1a70
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417e20
push ebx
call fcn.004afd1b
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00403eb2
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x417e3c
push ebx
call fcn.004afd1b
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.004b0930
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 [0x4cb763]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x417e91
push 0x15e
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x417ea4
push ebx
call fcn.004afd1b
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x417ee5
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x4cb70f]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x417ee0
push 0x1b4
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
jmp 0x417ffd
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401454
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417f2a
push ebx
call fcn.004afd1b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x417f3d
mov eax, 0x4c1214
push eax
push 1
mov ebx, 0x198
call fcn.004b1a70
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417f63
push ebx
call fcn.004afd1b
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00403eb2
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x417f7f
push ebx
call fcn.004afd1b
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.004b0930
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 0x417fd2
push 0x267
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x417fe5
push ebx
call fcn.004afd1b
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 0x418005
pop eax
pop ebx
pop ecx
jmp 0x417d94
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x4181e1
cmp dword [ebp + 0x10], 1
jne 0x4180b2
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4c1dc0
push dword [ebp - 0x20]
push 0x4c1dc3
mov ecx, 3
call fcn.00401454
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x418068
push ebx
call fcn.004afd1b
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4c1dd4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.004178a3
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41809d
push ebx
call fcn.004afd1b
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4180ad
push ebx
call fcn.004afd1b
add esp, 4
jmp 0x418143
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4c1dc0
push dword [ebp - 0x20]
push 0x4c1de5
mov ecx, 3
call fcn.00401454
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4180fe
push ebx
call fcn.004afd1b
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4c1dd4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.004178a3
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x418133
push ebx
call fcn.004afd1b
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x418143
push ebx
call fcn.004afd1b
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4cb6ff]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x418176
push 0x46c
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4cb767]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4181a4
push 0x491
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
call fcn.00418a4d
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4cb76b]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4181d7
push 0x4c0
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x4181d7
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401454
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x418226
push ebx
call fcn.004afd1b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x418239
mov eax, 0x4c1214
push eax
push 1
mov ebx, 0x198
call fcn.004b1a70
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41825f
push ebx
call fcn.004afd1b
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040b299
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41827b
push ebx
call fcn.004afd1b
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 0x4182b1
push 0x59b
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4182c4
push ebx
call fcn.004afd1b
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41849d
cmp dword [ebp + 0x10], 1
jne 0x41836e
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4c1dc0
push dword [ebp - 0x20]
push 0x4c1dc3
mov ecx, 3
call fcn.00401454
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x418324
push ebx
call fcn.004afd1b
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4c1dd4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.004178a3
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x418359
push ebx
call fcn.004afd1b
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x418369
push ebx
call fcn.004afd1b
add esp, 4
jmp 0x4183ff
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4c1dc0
push dword [ebp - 0x20]
push 0x4c1de5
mov ecx, 3
call fcn.00401454
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4183ba
push ebx
call fcn.004afd1b
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4c1dd4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.004178a3
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4183ef
push ebx
call fcn.004afd1b
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4183ff
push ebx
call fcn.004afd1b
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4cb6ff]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x418432
push 0x701
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4cb767]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x418460
push 0x726
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
call fcn.00418a4d
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4cb76b]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x418493
push 0x755
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x418493
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401454
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4184e2
push ebx
call fcn.004afd1b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4184f5
mov eax, 0x4c1214
push eax
push 1
mov ebx, 0x198
call fcn.004b1a70
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41851b
push ebx
call fcn.004afd1b
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040b299
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x418537
push ebx
call fcn.004afd1b
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 0x41857c
push 0x82d
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41858c
push ebx
call fcn.004afd1b
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401454
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4185d1
push ebx
call fcn.004afd1b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4185e4
mov eax, 0x4c1214
push eax
push 1
mov ebx, 0x198
call fcn.004b1a70
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41860a
push ebx
call fcn.004afd1b
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00411807
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x418626
push ebx
call fcn.004afd1b
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 0x41865c
push 0x8dd
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41866f
push ebx
call fcn.004afd1b
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x418848
cmp dword [ebp + 0x10], 1
jne 0x418719
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4c1dc0
push dword [ebp - 0x20]
push 0x4c1dc3
mov ecx, 3
call fcn.00401454
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4186cf
push ebx
call fcn.004afd1b
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4c1dd4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.004178a3
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x418704
push ebx
call fcn.004afd1b
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x418714
push ebx
call fcn.004afd1b
add esp, 4
jmp 0x4187aa
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4c1dc0
push dword [ebp - 0x20]
push 0x4c1de5
mov ecx, 3
call fcn.00401454
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x418765
push ebx
call fcn.004afd1b
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4c1dd4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.004178a3
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41879a
push ebx
call fcn.004afd1b
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4187aa
push ebx
call fcn.004afd1b
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4cb6ff]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4187dd
push 0xa43
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4cb767]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41880b
push 0xa68
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
call fcn.00418a4d
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4cb76b]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41883e
push 0xa97
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41883e
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004b0930
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.00401454
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41888d
push ebx
call fcn.004afd1b
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4188a0
mov eax, 0x4c1214
push eax
push 1
mov ebx, 0x198
call fcn.004b1a70
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4188c6
push ebx
call fcn.004afd1b
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00411807
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4188e2
push ebx
call fcn.004afd1b
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 0x41891d
push 0xb2b
push 0x4029eaf
push 6
call fcn.004afd21
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41892d
push ebx
call fcn.004afd1b
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 0x418956
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41896c
push ebx
call fcn.004afd1b
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004afd1b
add esp, 4
mov esp, ebp
pop ebp
ret 0xc