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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x4d
push 0
push 0
dec ecx
jne 0x52b8c8
push ecx
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x52bc8a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi + 0x624], 0
jne 0x52bc4f
mov eax, dword [0x557de8]
cmp byte [eax + 0x63c], 0
je 0x52ba05
lea edx, [ebp - 0x240]
mov eax, dword [0x54febc]
mov eax, dword [eax]
call fcn.0049a150
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.0040d250
lea eax, [ebp - 0x23c]
mov edx, 0x52bca8
call fcn.00405e94
mov eax, dword [ebp - 0x23c]
call fcn.0040ce44
test al, al
je 0x52ba05
lea edx, [ebp - 0x248]
mov eax, dword [0x54febc]
mov eax, dword [eax]
call fcn.0049a150
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.0040d250
lea eax, [ebp - 0x244]
mov edx, 0x52bcd4
call fcn.00405e94
mov eax, dword [ebp - 0x244]
call fcn.0040ce44
test al, al
je 0x52ba05
lea edx, [ebp - 0x250]
mov eax, dword [0x54febc]
mov eax, dword [eax]
call fcn.0049a150
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x24c]
call fcn.0040d250
lea eax, [ebp - 0x24c]
mov edx, 0x52bcf4
call fcn.00405e94
mov eax, dword [ebp - 0x24c]
call fcn.0040ce44
test al, al
je 0x52ba05
lea edx, [ebp - 0x258]
mov eax, dword [0x54febc]
mov eax, dword [eax]
call fcn.0049a150
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x254]
call fcn.0040d250
mov edx, dword [ebp - 0x254]
lea eax, [edi + 0x624]
call fcn.00405b40
jmp 0x52bc4f
lea eax, [ebp - 0x238]
xor ecx, ecx
mov edx, 0x104
call fcn.004036a8
lea eax, [ebp - 0x238]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x238]
call fcn.0040d494
test eax, eax
jbe 0x52bac5
call fcn.0040fa34
fstp qword [ebp - 0x30]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea eax, [ebp - 0x20]
mov edx, 0x52bd18
call fcn.004106f4
lea eax, [ebp - 0x25c]
lea edx, [ebp - 0x238]
mov ecx, 0x104
call fcn.00405d40
push dword [ebp - 0x25c]
push 0x52bd48
push 0x52bd68
push 0x52bd80
push dword [ebp - 0x20]
push 0x52bd80
lea eax, [edi + 0x624]
mov edx, 6
call fcn.00405fe4
mov eax, dword [edi + 0x624]
call fcn.0040ce8c
test al, al
jne 0x52bab4
mov eax, dword [edi + 0x624]
call fcn.0040ceb0
lea eax, [edi + 0x628]
mov edx, dword [edi + 0x624]
call fcn.00405b40
lea eax, [ebp - 0x10]
call fcn.005285d0
lea eax, [ebp - 4]
mov ecx, 0x52bd90
mov edx, dword [ebp - 0x10]
call fcn.00405f14
lea eax, [ebp - 8]
mov ecx, 0x52bdac
mov edx, dword [ebp - 0x10]
call fcn.00405f14
mov edx, dword [edi + 0x628]
lea eax, [ebp - 0xc]
mov ecx, 0x52bdc8
call fcn.00405f14
mov ecx, dword [ebp - 8]
mov edx, 0x52bdfc
mov eax, 0x52be14
call fcn.00528f64
mov ecx, dword [ebp - 4]
mov edx, 0x52bdfc
mov eax, 0x52be30
call fcn.00528f64
mov ecx, dword [ebp - 0xc]
mov edx, 0x52bdfc
mov eax, 0x52be4c
call fcn.00528f64
lea ecx, [ebp - 0x1c]
mov eax, dword [0x5500f8]
mov edx, dword [ebp - 4]
call fcn.005221fc
push 0x52b8b4
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0040ceb0
test al, al
je 0x52bb7c
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
mov esi, eax
dec esi
test esi, esi
jl 0x52bc3f
inc esi
xor ebx, ebx
push ebx
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x260]
push edx
mov eax, dword [eax]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x260]
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00405f14
push ebx
mov eax, dword [ebp - 0x1c]
push eax
lea edx, [ebp - 0x264]
push edx
mov eax, dword [eax]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x264]
mov edx, dword [edi + 0x624]
lea eax, [ebp - 0x18]
call fcn.00405f14
push ebx
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
test al, al
jne 0x52bc37
lea edx, [ebp - 0x268]
mov eax, dword [ebp - 0x18]
call fcn.0040d250
mov eax, dword [ebp - 0x268]
call fcn.0040ce8c
test al, al
jne 0x52bc1e
lea edx, [ebp - 0x26c]
mov eax, dword [ebp - 0x18]
call fcn.0040d250
mov eax, dword [ebp - 0x26c]
call fcn.0040ceb0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00405bcc
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405bcc
push eax
call sub.kernel32.dll_CopyFileW
inc ebx
dec esi
jne 0x52bb93
lea eax, [ebp - 0x1c]
call fcn.00407b20
mov eax, dword [ebp - 0x10]
call fcn.005283bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52bc91
lea eax, [ebp - 0x26c]
mov edx, 0xd
call fcn.00405b38
lea eax, [ebp - 0x20]
call fcn.00405b30
lea eax, [ebp - 0x1c]
call fcn.00407b20
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00405b38
ret