Function at 0x42b7f0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x164]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
xor eax, eax
push fcn.0042b790
push ebp
push 0x414930
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0
push 0
push 0x14
lea eax, [ebp - 0x148]
push eax
mov eax, dword [0x67c280]
call fcn.00421e60
push eax
call sub.shell32.dll_SHGetSpecialFolderPathA
push 1
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x148]
xor cx, cx
mov edx, 0x104
call fcn.00409720
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.0043e810
mov edx, 1
mov eax, 0x700d98
call fcn.005a46e0
mov dword [ebp - 0x38], eax
mov edx, 0x80000002
call fcn.005a46a0
mov edx, 1
mov eax, 0x6a3c30
call fcn.00430cf0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
jmp 0x42bb67
mov eax, dword [ebp - 0x18]
lea edx, [eax + 1]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x158]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
call dword [ebx + 0x7c]
cmp dword [ebp - 0x158], 0
je 0x42bb63
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x158]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
call dword [ebx + 0x7c]
mov eax, dword [ebp - 0x158]
mov edx, dword [ebp - 0x14]
call fcn.005a3d90
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx]
call dword [edx + 0x84]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x42ba1e
mov dword [ebp - 0x1c], 0xffffffff
inc dword [ebp - 0x1c]
push 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x15c]
mov esi, dword [ebp - 0x14]
mov esi, dword [esi]
call dword [esi + 0x7c]
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x154]
call fcn.0043e680
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 0x150]
lea eax, [ebp - 0x10]
call fcn.00408e30
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x15c]
mov esi, dword [ebp - 0x14]
mov esi, dword [esi]
call dword [esi + 0x7c]
mov eax, dword [ebp - 0x15c]
mov dl, 1
call fcn.0043ec10
test al, al
je 0x42ba15
mov eax, dword [ebp - 0x10]
mov dl, 1
call fcn.0043ec10
test al, al
sete al
movzx eax, al
neg eax
je 0x42ba15
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x42b9e4
mov eax, 0x7202f0
push eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x158]
mov esi, dword [ebp - 0x14]
mov esi, dword [esi]
call dword [esi + 0x7c]
mov eax, dword [ebp - 0x158]
test eax, eax
jne 0x42ba08
mov eax, 0x7202f0
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x42ba15
inc dword [ebp - 0x40]
cmp ebx, dword [ebp - 0x1c]
jg 0x42b95d
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx]
call dword [edx + 0x84]
cmp eax, dword [ebp - 0x40]
sete byte [ebp - 0x30]
cmp byte [ebp - 0x30], 0
je 0x42bb63
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx]
call dword [edx + 0x84]
test eax, eax
jle 0x42bb63
push 0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x154]
xor edx, edx
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
call dword [ebx + 0x7c]
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x15c]
call fcn.0043e680
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x150]
lea eax, [ebp - 0x10]
call fcn.00408e30
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
call fcn.005a3cb0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x42baa4
mov eax, 0x7202f0
push eax
call sub.gdi32.dll_AddFontResourceA
test eax, eax
jle 0x42bb63
mov byte [ebp - 0x34], 0
mov eax, dword [ebp - 0x38]
call fcn.005a45a0
mov eax, dword [ebp - 0x38]
xor cl, cl
mov edx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts
call fcn.005a48a0
test al, al
je 0x42bb52
xor eax, eax
push 0x42bb49
push ebp
push 0x414cb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x15c]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
call dword [ebx + 0x7c]
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x160]
call fcn.0043e680
mov ebx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x18]
lea edx, [eax + 1]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x164]
mov esi, dword [ebp - 4]
mov esi, dword [esi]
call dword [esi + 0x7c]
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x38]
mov ecx, ebx
call fcn.005a4a50
mov byte [ebp - 0x34], 1
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x42bb52
mov eax, dword [ebp - 0x38]
call fcn.005a45a0
cmp byte [ebp - 0x34], 0
je 0x42bb63
inc dword [ebp - 0x24]
add dword [ebp - 0x18], 2
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call dword [edx + 0x84]
dec eax
cmp eax, dword [ebp - 0x18]
jg 0x42b8f0
lea eax, [ebp - 0x14]
call fcn.00447d60
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x24], 0
jle 0x42bba3
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_PostMessageA
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0042b790
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret