Function at 0x4188c5
Capabilities:
Contain obfuscated stackstrings
Copy file
Get common file path
Move file

Disassembly:
mov eax, 0x44f00f
call fcn.00429dec
sub esp, 0x1d0
mov al, byte [ebp + 0x17]
push ebx
push esi
push edi
push 1
mov esi, ecx
pop ebx
lea ecx, [ebp - 0x20]
push 0
mov byte [ebp - 0xd], bl
mov byte [ebp - 0x20], al
call fcn.00404e15
push dword [ebp + 0x14]
call fcn.00429e10
pop ecx
push eax
lea ecx, [ebp - 0x20]
push dword [ebp + 0x14]
call fcn.004055e7
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00418778
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.00404e15
lea eax, [ebp - 0x74]
push eax
call fcn.004010e3
mov dword [esp], str.__g_iFlRlMode_2__CXmlScript::ExtractZipFile__._r_n
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 4], ebx
push eax
call fcn.00406636
push eax
mov byte [ebp - 4], 2
push dword [0x46c4c4]
call fcn.004010b0
add esp, 0x14
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
push ebx
call fcn.00404e15
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x74]
call fcn.00404e15
test edi, edi
jne 0x418a75
push dword [ebp + 0x14]
lea ecx, [ebp - 0x24]
call fcn.00440eeb
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 3
push dword [eax - 8]
call fcn.004412ad
mov esi, eax
mov al, byte [ebp + 0x17]
push edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.00404e15
push esi
call fcn.00429e10
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.004055e7
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 4
push eax
call fcn.004010e3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00406711
push str._001_g_iFlRlMode_2__ZipFileRelTemp_Failture._r_n
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 6
push eax
call fcn.00406636
push eax
mov byte [ebp - 4], 7
push dword [0x46c4c4]
call fcn.004010b0
add esp, 0x24
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
push ebx
call fcn.00404e15
push ebx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 5
call fcn.00404e15
push ebx
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.00404e15
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.004412fc
mov ecx, dword [ebp + 8]
push 0xffff
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0041aefa
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp + 0x17], al
mov byte [ebp - 4], 3
call fcn.00404e15
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00440e7d
mov al, byte [ebp + 0x17]
jmp 0x418f42
lea eax, [ebp - 0x1dc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov al, byte [ebp + 0x17]
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.00404e15
lea eax, [ebp - 0x1dc]
push eax
call fcn.00429e10
pop ecx
push eax
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x34]
call fcn.004055e7
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 8
test eax, eax
jbe 0x418afe
lea esi, [eax - 1]
cmp eax, esi
jb 0x418ade
cmp dword [ebp - 0x30], 0
je 0x418ade
lea ecx, [ebp - 0x34]
call fcn.0040c4dc
mov eax, dword [ebp - 0x30]
add eax, esi
jmp 0x418ae3
mov eax, 0x451648
cmp byte [eax], 0x5c
je 0x418afe
mov esi, 0x4628b4
push esi
call fcn.00429e10
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00403f91
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x418b0a
mov eax, 0x451648
mov ecx, dword [ebp + 8]
push 0xffff
push eax
push dword [ebp + 0xc]
call fcn.0041aefa
test al, al
jne 0x418c31
push dword [ebp + 0x14]
lea ecx, [ebp + 0x14]
call fcn.00440eeb
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 9
push dword [eax - 8]
call fcn.004412ad
mov esi, eax
mov al, byte [ebp + 0x17]
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.00404e15
push esi
call fcn.00429e10
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.004055e7
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push eax
call fcn.004010e3
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
push ecx
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00406711
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00406711
push str.__g_iFlRlMode_2__ZipFileRelTemp__Failture._r_n
push eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0xd
push eax
call fcn.00406636
push eax
mov byte [ebp - 4], 0xe
push dword [0x46c4c4]
call fcn.004010b0
add esp, 0x30
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xd
push ebx
call fcn.00404e15
push ebx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xc
call fcn.00404e15
push ebx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.00404e15
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xa
call fcn.00404e15
push 0xffffffffffffffff
lea ecx, [ebp + 0x14]
call fcn.004412fc
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.00404e15
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x14]
call fcn.00440e7d
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x34]
call fcn.00404e15
xor al, al
jmp 0x418f42
mov al, byte [ebp + 0x17]
push 0
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x64], al
call fcn.00404e15
push dword [ebp + 0x10]
call fcn.00429e10
pop ecx
push eax
lea ecx, [ebp - 0x64]
push dword [ebp + 0x10]
call fcn.004055e7
mov al, byte [ebp + 0x17]
push 0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xf
mov byte [ebp - 0x54], al
call fcn.00404e15
lea esi, [edi + 0x18]
lea eax, [ebp - 0x64]
push esi
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x10
push eax
call fcn.00406711
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x418c8e
mov eax, 0x451648
push 0
push eax
call fcn.0042a54d
pop ecx
cmp eax, 0xffffffff
pop ecx
push ebx
lea ecx, [ebp - 0x44]
setne byte [ebp + 0x13]
call fcn.00404e15
cmp byte [ebp + 0x13], 0
je 0x418ddf
mov eax, dword [edi + 4]
test bl, al
jne 0x418cc1
mov byte [ebp + 0x17], bl
jmp 0x418f18
test al, 2
je 0x418ddf
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x20]
push eax
lea eax, [ebp - 0x1dc]
push str._d_.2d_.2d_.2d_.2d_.2d.
push eax
call fcn.00429e8b
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00406636
add esp, 0x2c
push dword [0x45164c]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x11
push 0
push eax
call fcn.00404c92
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x10
call fcn.00404e15
push dword [0x45164c]
lea ecx, [ebp - 0x54]
push 0
push esi
call fcn.0040555f
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x418d5d
mov edi, 0x451648
mov dword [ebp + 0x10], edi
jmp 0x418d65
mov dword [ebp + 0x10], eax
mov edi, 0x451648
lea eax, [ebp - 0x64]
push esi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00406711
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x418d7f
mov eax, edi
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
neg eax
sbb al, al
push ebx
inc al
lea ecx, [ebp - 0x44]
mov byte [ebp + 0x13], al
call fcn.00404e15
cmp byte [ebp + 0x13], 0
je 0x418de4
mov eax, dword [ebp - 0x50]
mov dword [ebp + 0x10], edi
test eax, eax
je 0x418dae
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x64]
push esi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00406711
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x418dc8
mov eax, edi
push 0
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
lea ecx, [ebp - 0x44]
call fcn.00404e15
jmp 0x418de4
mov edi, 0x451648
push dword [ebp + 0x14]
call fcn.00429e10
pop ecx
push eax
lea ecx, [ebp - 0x34]
push dword [ebp + 0x14]
call fcn.00403f91
lea eax, [ebp - 0x64]
push esi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00406711
add esp, 0xc
push dword [0x45164c]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
push 0
push eax
call fcn.00404c92
push ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x10
call fcn.00404e15
mov ecx, dword [ebp - 0x50]
test ecx, ecx
jne 0x418e35
mov ecx, edi
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x418e3e
mov eax, edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x418f12
lea eax, [ebp - 0xc4]
push eax
call fcn.004010e3
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x13
push ecx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00406711
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x14
push ecx
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00406711
push str.__g_iFlRlMode_2__MoveFile_Failture._r_n
push eax
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0x15
push eax
call fcn.00406636
push eax
mov byte [ebp - 4], 0x16
push dword [0x46c4c4]
call fcn.004010b0
add esp, 0x30
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x15
push ebx
call fcn.00404e15
push ebx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x14
call fcn.00404e15
push ebx
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x13
call fcn.00404e15
push ebx
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x10
call fcn.00404e15
mov ecx, dword [ebp - 0x50]
test ecx, ecx
jne 0x418ef6
mov ecx, edi
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x418eff
mov eax, edi
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
dec eax
neg eax
sbb al, al
inc al
jmp 0x418f15
mov al, byte [ebp - 0xd]
mov byte [ebp + 0x17], al
push ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xf
call fcn.00404e15
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.00404e15
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x34]
call fcn.00404e15
mov al, byte [ebp + 0x17]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10