Function at 0x417d10
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.004acf07
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 0x417d7b
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.004189f6
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.004019cf
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417de8
push ebx
call fcn.004acf0d
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x417dfc
push ebx
call fcn.004acf0d
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 0x41807d
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004019cf
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417e5f
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x417e72
mov eax, 0x4bf20b
push eax
push 1
mov ebx, 0x198
call fcn.004aeac0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417e98
push ebx
call fcn.004acf0d
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00404025
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x417eb4
push ebx
call fcn.004acf0d
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.004adaa0
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 [0x522f91]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x417f09
push 0x15e
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x417f1c
push ebx
call fcn.004acf0d
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x417f5d
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x522f3d]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x417f58
push 0x1b4
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
jmp 0x418075
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004019cf
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x417fa2
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x417fb5
mov eax, 0x4bf20b
push eax
push 1
mov ebx, 0x198
call fcn.004aeac0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x417fdb
push ebx
call fcn.004acf0d
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00404025
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x417ff7
push ebx
call fcn.004acf0d
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.004adaa0
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 0x41804a
push 0x267
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41805d
push ebx
call fcn.004acf0d
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 0x41807d
pop eax
pop ebx
pop ecx
jmp 0x417e0c
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x418259
cmp dword [ebp + 0x10], 1
jne 0x41812a
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bfdbd
push dword [ebp - 0x20]
push 0x4bfdc0
mov ecx, 3
call fcn.004019cf
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4180e0
push ebx
call fcn.004acf0d
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bfdd1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041791b
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x418115
push ebx
call fcn.004acf0d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x418125
push ebx
call fcn.004acf0d
add esp, 4
jmp 0x4181bb
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bfdbd
push dword [ebp - 0x20]
push 0x4bfde2
mov ecx, 3
call fcn.004019cf
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x418176
push ebx
call fcn.004acf0d
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bfdd1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041791b
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4181ab
push ebx
call fcn.004acf0d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4181bb
push ebx
call fcn.004acf0d
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x522f2d]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4181ee
push 0x46c
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x522f95]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41821c
push 0x491
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
call fcn.00418ac5
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x522f99]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41824f
push 0x4c0
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41824f
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004019cf
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41829e
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4182b1
mov eax, 0x4bf20b
push eax
push 1
mov ebx, 0x198
call fcn.004aeac0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4182d7
push ebx
call fcn.004acf0d
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040b40c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4182f3
push ebx
call fcn.004acf0d
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 0x418329
push 0x59b
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41833c
push ebx
call fcn.004acf0d
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x418515
cmp dword [ebp + 0x10], 1
jne 0x4183e6
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bfdbd
push dword [ebp - 0x20]
push 0x4bfdc0
mov ecx, 3
call fcn.004019cf
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41839c
push ebx
call fcn.004acf0d
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bfdd1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041791b
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4183d1
push ebx
call fcn.004acf0d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4183e1
push ebx
call fcn.004acf0d
add esp, 4
jmp 0x418477
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bfdbd
push dword [ebp - 0x20]
push 0x4bfde2
mov ecx, 3
call fcn.004019cf
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x418432
push ebx
call fcn.004acf0d
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bfdd1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041791b
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x418467
push ebx
call fcn.004acf0d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x418477
push ebx
call fcn.004acf0d
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x522f2d]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4184aa
push 0x701
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x522f95]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4184d8
push 0x726
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
call fcn.00418ac5
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x522f99]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41850b
push 0x755
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41850b
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004019cf
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41855a
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41856d
mov eax, 0x4bf20b
push eax
push 1
mov ebx, 0x198
call fcn.004aeac0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x418593
push ebx
call fcn.004acf0d
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040b40c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4185af
push ebx
call fcn.004acf0d
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 0x4185f4
push 0x82d
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x418604
push ebx
call fcn.004acf0d
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004019cf
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x418649
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41865c
mov eax, 0x4bf20b
push eax
push 1
mov ebx, 0x198
call fcn.004aeac0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x418682
push ebx
call fcn.004acf0d
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0041197a
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41869e
push ebx
call fcn.004acf0d
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 0x4186d4
push 0x8dd
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4186e7
push ebx
call fcn.004acf0d
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x4188c0
cmp dword [ebp + 0x10], 1
jne 0x418791
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bfdbd
push dword [ebp - 0x20]
push 0x4bfdc0
mov ecx, 3
call fcn.004019cf
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x418747
push ebx
call fcn.004acf0d
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bfdd1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041791b
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41877c
push ebx
call fcn.004acf0d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41878c
push ebx
call fcn.004acf0d
add esp, 4
jmp 0x418822
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4bfdbd
push dword [ebp - 0x20]
push 0x4bfde2
mov ecx, 3
call fcn.004019cf
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4187dd
push ebx
call fcn.004acf0d
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4bfdd1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041791b
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x418812
push ebx
call fcn.004acf0d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x418822
push ebx
call fcn.004acf0d
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x522f2d]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x418855
push 0xa43
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x522f95]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x418883
push 0xa68
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
call fcn.00418ac5
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x522f99]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4188b6
push 0xa97
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x4188b6
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.004adaa0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.004019cf
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x418905
push ebx
call fcn.004acf0d
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x418918
mov eax, 0x4bf20b
push eax
push 1
mov ebx, 0x198
call fcn.004aeac0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41893e
push ebx
call fcn.004acf0d
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0041197a
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41895a
push ebx
call fcn.004acf0d
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 0x418995
push 0xb2b
push 0x414d1bd
push 6
call fcn.004acf13
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4189a5
push ebx
call fcn.004acf0d
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 0x4189ce
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4189e4
push ebx
call fcn.004acf0d
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004acf0d
add esp, 4
mov esp, ebp
pop ebp
ret 0xc