Function at 0x403910
Capabilities:
Check os version
Create directory
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x520146
mov eax, dword fs:[0]
push eax
mov eax, 0x12c4
call fcn.00506e40
mov eax, dword [0x576fe4]
xor eax, esp
mov dword [esp + 0x12c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x576fe4]
xor eax, esp
push eax
lea eax, [esp + 0x12d8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x12f0]
mov esi, dword [esp + 0x12e8]
mov dword [esp + 0x1c], eax
call fcn.00418420
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40397d
push 0x80004005
call fcn.00401210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x3ff
lea ecx, [esp + 0x2d9]
push ebx
push ecx
mov dword [esp + 0x12ec], ebx
mov byte [esp + 0x2e0], bl
call fcn.00505810
push 0x3ff
lea edx, [esp + 0x6e5]
push ebx
push edx
mov byte [esp + 0x6ec], bl
call fcn.00505810
push 0x3ff
lea eax, [esp + 0xaf1]
push ebx
push eax
mov byte [esp + 0xaf8], bl
call fcn.00505810
push 0x103
lea ecx, [esp + 0xf5]
push ebx
push ecx
mov byte [esp + 0xfc], bl
call fcn.00505810
push 0x103
lea edx, [esp + 0x205]
push ebx
push edx
mov byte [esp + 0x20c], bl
call fcn.00505810
add esp, 0x3c
push 0x530041
lea ecx, [esp + 0x18]
call fcn.00403850
push 0x103
lea eax, [esp + 0x1d4]
push esi
push eax
mov byte [esp + 0x12ec], 1
call fcn.00506d10
mov ecx, dword [esp + 0x12f8]
push ecx
lea edx, [esp + 0x1e0]
push edx
lea eax, [esp + 0x28]
push str.__s:_d_
push eax
call fcn.00402f20
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
add esp, 0x1c
push 0x104
lea ecx, [esp + 0xd0]
push ecx
call edi
lea edx, [esp + 0x28]
push edx
call fcn.00504f59
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
movzx ebp, word [esp + 0x34]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call fcn.00505611
mov esi, eax
add esp, 8
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x3c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x403b32
cmp dword [esp + 0x3c], 6
jb 0x403b32
lea ecx, [esp + 0xcc]
push ecx
push ebx
push ebx
push 0x28
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x403bf3
push str.AppDataLocalLowIPinside_
lea edx, [esp + 0xd0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
je 0x403b06
push ebx
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.I3GSetupLog
lea ecx, [esp + 0xd0]
push ecx
push str._s_s.log
lea edx, [esp + 0x2e0]
push 0x400
push edx
call fcn.00505754
add esp, 0x14
jmp 0x403bf3
push 0x104
lea eax, [esp + 0xd0]
push eax
call edi
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0x2d8]
push 0x400
push edx
call fcn.00505754
movsx eax, byte [esp + 0xd8]
push str.I3GSetupLog
push str.ProgramData
push eax
push str._c:_sI3GLog_s.log
lea ecx, [esp + 0x2f0]
push 0x400
push ecx
call fcn.00505754
movsx edx, byte [esp + 0xf0]
push str.ProgramData
push edx
push str._c:_s
lea eax, [esp + 0xb04]
push 0x400
push eax
call fcn.00505754
movsx ecx, byte [esp + 0x104]
push str.I3GLog
push str.ProgramData
push ecx
push str._c:_s_s
lea edx, [esp + 0x71c]
push 0x400
push edx
call fcn.00505754
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0x50
push ebx
lea eax, [esp + 0xad8]
push eax
call edi
push ebx
lea ecx, [esp + 0x6d8]
push ecx
call edi
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push ebp
push edx
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push edx
inc eax
push eax
add ecx, 0x76c
push ecx
lea edx, [esp + 0x34]
push str.__04d__02d__02d__02d:_02d:_02d:_03d_
push edx
call fcn.00402f20
lea eax, [esp + 0x2f8]
push 0x52ff98
push eax
call fcn.005060c6
mov ebp, dword [esp + 0x44]
mov esi, eax
add esp, 0x2c
cmp esi, ebx
je 0x403ce2
push 2
push ebx
push esi
call fcn.00505f7d
push esi
push ebp
call fcn.00506bfb
mov ecx, dword [esp + 0x28]
push esi
push ecx
call fcn.00506bfb
mov edx, dword [esp + 0x38]
push esi
push edx
call fcn.00506bfb
push esi
push 0x52ff94
call fcn.00506bfb
push esi
call fcn.00505e85
push esi
mov edi, eax
call fcn.00505c6c
add esp, 0x34
cmp edi, 0x500000
jle 0x403ce2
push 0x3ff
lea eax, [esp + 0xed9]
push ebx
push eax
mov byte [esp + 0xee0], bl
call fcn.00505810
lea ecx, [esp + 0x2e0]
push ecx
push str._s.0
lea edx, [esp + 0xee8]
push 0x400
push edx
call fcn.00506bbc
add esp, 0x1c
push 1
lea eax, [esp + 0xed8]
push eax
lea ecx, [esp + 0x2dc]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x12e0], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403d09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x12e0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x12d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c0]
xor ecx, esp
call fcn.0050534a
add esp, 0x12d0
ret