Function at 0x403270
Capabilities:
Copy file
Create directory
Hide graphical window

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x419f2b
push eax
mov eax, 0x2040
mov dword fs:[0], esp
call fcn.00408050
mov eax, dword [esp + 0x2050]
push ebx
push ebp
push esi
xor esi, esi
push edi
push esi
mov ebx, ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1050]
mov edi, 0x400
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.00402fe0
mov eax, dword [esp + 0x10]
cmp eax, esi
jbe 0x403301
push 0xea60
push eax
lea eax, [esp + 0x1058]
push eax
call fcn.00403c40
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1050]
mov dword [esp + 0x10], edi
push ecx
push edx
mov ecx, ebx
call fcn.00402fe0
mov eax, dword [esp + 0x10]
cmp eax, esi
ja 0x4032cb
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
lea ebp, [ebx + 0x828]
mov dword [esp + 0x2058], esi
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x20]
mov eax, dword [ebx + 0x858]
add eax, edi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x24]
call fcn.004036c0
mov eax, dword [ebx + 0x858]
lea edx, [edi + edi*4]
mov esi, dword [ebx + 0x854]
push ebp
lea ecx, [eax + eax*4]
lea edi, [edi + edx*8]
shl edi, 6
lea ecx, [eax + ecx*8]
mov eax, dword [esp + 0x20]
shl ecx, 6
add edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
jne 0x4033b6
lea ecx, [esp + 0x850]
push 0x400
push ecx
push 0x70
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x30
lea edx, [esp + 0x854]
push 0x41f108
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x1c]
push eax
jmp 0x403635
cmp eax, esi
mov dword [esp + 0x18], esi
jle 0x40361b
mov dword [esp + 0x14], esi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x30]
mov edx, dword [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x238]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x440]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
lea edi, [esp + 0x440]
lea eax, [edx + ecx]
mov ecx, 0x82
mov dword [esp + 0x2c], eax
lea esi, [eax + 0x208]
xor eax, eax
rep stosd dword es:[edi], eax
push esi
call fcn.00407fac
add esp, 4
cmp eax, 0x103
jbe 0x40342b
mov eax, 0x103
jmp 0x403434
push esi
call fcn.00407fac
add esp, 4
lea ecx, [eax + eax]
lea edi, [esp + 0x440]
mov eax, ecx
lea ebp, [ebx + 0x828]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [ebx + 8]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
push esi
call fcn.00407fac
add esp, 4
cmp eax, 0x103
jbe 0x403480
mov eax, 0x103
jmp 0x403489
push esi
call fcn.00407fac
add esp, 4
lea ecx, [eax + eax]
lea edi, [esp + 0x30]
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
lea ebp, [eax + 0x820]
push ebp
push ecx
call fcn.00407eee
lea edx, [esp + 0x448]
lea eax, [esp + 0x38]
push edx
push eax
call fcn.00407eee
add esp, 0x10
lea eax, [ebx + 0x828]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [ebx + 0x210]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x238]
rep stosd dword es:[edi], eax
push esi
call fcn.00407fac
add esp, 4
cmp eax, 0x103
jbe 0x403509
mov eax, 0x103
jmp 0x403512
push esi
call fcn.00407fac
add esp, 4
lea ecx, [eax + eax]
lea edi, [esp + 0x238]
mov edx, ecx
lea eax, [ebx + 0x828]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x238]
push ebp
push eax
call fcn.00407eee
lea ecx, [esp + 0x448]
lea edx, [esp + 0x240]
push ecx
push edx
call fcn.00407eee
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x658]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x40]
push eax
call fcn.00407fac
add esp, 0x14
cmp eax, 0x103
jbe 0x403585
mov eax, 0x103
jmp 0x403592
lea ecx, [esp + 0x30]
push ecx
call fcn.00407fac
add esp, 4
lea ecx, [eax + eax]
lea esi, [esp + 0x30]
mov edx, ecx
lea edi, [esp + 0x648]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x648]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x648]
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea edx, [esp + 0x30]
push 0
lea eax, [esp + 0x23c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push edx
call fcn.00402410
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
add esp, 8
inc eax
add edx, 0xa40
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jl 0x4033c6
mov eax, dword [esp + 0x2060]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00405280
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00407114
mov ecx, dword [esp + 0x2054]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x204c
ret 4