Function at 0x4193b6
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a88
call fcn.004318e0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.00401046
mov esi, eax
mov eax, dword [0x44e450]
xor ebx, ebx
mov dword [ebp - 0xc], esi
cmp eax, ebx
jne 0x4193e3
mov eax, dword [0x44f4d8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1e88]
push 0x104
push eax
push 0xfffffffffffffffe
lea ecx, [esi + 0x4030]
push dword [0x4406ac]
push dword [ebp + 8]
call fcn.004073eb
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jge 0x41941c
cmp dword [esi + 0x2110], ebx
je 0x4199c5
mov esi, 0xff
xor eax, eax
mov ecx, esi
lea edi, [ebp - 0xd83]
mov byte [ebp - 0xd84], bl
mov byte [ebp - 0x984], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x983]
mov byte [ebp - 0x2688], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x2687]
mov byte [ebp - 0x584], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x583]
push 0x400
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xd84]
push eax
mov eax, dword [ebp - 0xc]
push 0x44dbd0
push dword [0x4406b0]
lea ecx, [eax + 0x4030]
push dword [ebp + 8]
call fcn.0040239d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x2110]
cmp eax, ebx
jne 0x419594
cmp dword [ebp - 8], ebx
jl 0x419592
push str.SHFolder.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4194e9
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x584]
push eax
call fcn.004199cf
test eax, eax
jne 0x4195ea
xor eax, eax
jmp 0x4199c8
push str.SHGetFolderPathA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41950c
lea ecx, [ebp - 0x2688]
push ecx
push ebx
push ebx
push dword [ebp - 8]
push ebx
call eax
test eax, eax
jge 0x419524
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x584]
push eax
call fcn.004199cf
test eax, eax
jne 0x419589
jmp 0x4194e2
lea eax, [ebp - 0xd84]
push eax
lea eax, [ebp - 0x2688]
push eax
lea eax, [ebp - 0x984]
push eax
call fcn.00429de4
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0xc]
call fcn.004192d0
pop ecx
test al, al
pop ecx
je 0x419567
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x984]
push eax
call fcn.00429de4
lea eax, [ebp - 0x984]
push eax
call fcn.00429efc
push dword [ebp + 8]
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x584]
push eax
call fcn.00429de4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4195ea
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
je 0x4195b8
add ecx, 0x2114
lea eax, [ebp - 0xd84]
push ecx
push eax
call edi
lea eax, [ebp - 0xd84]
push eax
call fcn.00429cd2
lea eax, [ebp - 0xd84]
push eax
call fcn.00429efc
lea eax, [ebp - 0xd84]
push eax
lea eax, [ebp - 0x984]
push eax
call edi
push dword [ebp + 8]
lea eax, [ebp - 0xd84]
push eax
lea eax, [ebp - 0x584]
push eax
call fcn.00429de4
lea eax, [ebp - 0x584]
push eax
push dword [ebp + 0xc]
call fcn.00432690
pop ecx
test eax, eax
pop ecx
je 0x4199b4
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x1d83]
mov byte [ebp - 0x1d84], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x2287]
mov byte [ebp - 0x2288], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x2288]
push 0x400
push eax
push 0x663
call fcn.00429677
add esp, 0xc
mov dword [ebp - 8], ebx
push 1
lea eax, [ebp - 0x584]
pop edi
push eax
call fcn.00429f89
test eax, eax
je 0x41970d
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x584]
push eax
call fcn.004192d0
pop ecx
test al, al
pop ecx
je 0x4196a1
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0xc]
call fcn.004192d0
pop ecx
test al, al
pop ecx
je 0x4196a1
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.00431a80
pop ecx
test eax, eax
pop ecx
je 0x41970b
lea eax, [ebp - 0x584]
push eax
lea eax, [ebp - 0x2288]
push eax
lea eax, [ebp - 0x1d84]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.0042a85d
add esp, 0x14
cmp dword [0x450be8], ebx
jne 0x41970b
lea eax, [ebp - 0x2c]
push 0x34
push eax
lea eax, [ebp - 0x1d84]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x41970b
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x584]
push eax
call fcn.004199cf
test eax, eax
je 0x4194e2
jmp 0x4197be
xor edi, edi
lea eax, [ebp - 0x584]
push edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4197b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x18
mov dword [ebp - 0x14], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0xd7]
mov byte [ebp - 0xd8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x18
xor eax, eax
pop ecx
lea edi, [ebp - 0x13b]
mov byte [ebp - 0x13c], bl
push 0x64
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x13c]
push eax
push 0x65b
call fcn.00429677
add esp, 0xc
lea eax, [ebp - 0x584]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xd8]
push 0x448138
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp - 0x14]
lea eax, [ebp - 0xd8]
push eax
call fcn.00429585
pop ecx
pop ecx
jmp 0x4196ec
mov dword [ebp - 8], 1
cmp dword [ebp - 8], ebx
je 0x419649
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x10bc], 1
jbe 0x4198a4
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x1183]
mov byte [ebp - 0x1184], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1184]
push 0xa
push eax
push dword [0x44ff1c]
call fcn.004334dc
push dword [0x449808]
lea eax, [ebp - 0x1184]
push eax
call fcn.00430d00
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x1983]
mov byte [ebp - 0x1984], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0x14
stosb byte es:[edi], al
lea eax, [ebp - 0x1184]
push eax
lea eax, [ebp - 0x1984]
push 0x4507e0
push eax
call fcn.00429de4
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x1583]
mov byte [ebp - 0x1584], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1584]
push eax
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x584]
push eax
call fcn.00429ba3
lea eax, [ebp - 0x1184]
push eax
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x1584]
push eax
call fcn.00429de4
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x1584]
push ebx
push eax
lea eax, [ebp - 0x1984]
push eax
call esi
jmp 0x4198aa
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, dword [ebp - 4]
mov ecx, edi
call fcn.00418b03
cmp dword [edi + 0x10], ebx
je 0x4199b4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a88]
push eax
call fcn.0042974b
pop ecx
lea eax, [ebp - 0x1984]
pop ecx
push eax
lea eax, [ebp - 0x1584]
push eax
lea eax, [ebp - 0x584]
push eax
call fcn.00429ba3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1584]
push eax
lea eax, [ebp - 0x1984]
push eax
call fcn.00429de4
lea eax, [ebp - 0x1984]
push str..ini
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x1984]
push ebx
push eax
lea eax, [ebp - 0x2a88]
push eax
call esi
lea eax, [ebp - 0x3a88]
push eax
lea eax, [ebp - 0x3688]
push eax
push dword [ebp + 0xc]
call fcn.00429ba3
push dword [0x44980c]
lea eax, [ebp - 0x3688]
push eax
lea eax, [ebp - 0x1184]
push eax
call fcn.00429de4
lea eax, [ebp - 0x1184]
push eax
call fcn.00429f89
test eax, eax
je 0x4199b4
push dword [0x44980c]
lea eax, [ebp - 0x1584]
push eax
lea eax, [ebp - 0x2e88]
push eax
call fcn.00429de4
lea eax, [ebp - 0x2e88]
push ebx
push eax
lea eax, [ebp - 0x1184]
push eax
call esi
push dword [0x4497f8]
lea eax, [ebp - 0x1584]
push eax
lea eax, [ebp - 0x3288]
push eax
call fcn.00429de4
lea eax, [ebp - 0x3288]
push ebx
push eax
push 0x44f900
call esi
lea eax, [ebp - 0x584]
push eax
push dword [ebp + 0xc]
call fcn.00430cf0
pop ecx
pop ecx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8