Function at 0x487af0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6059f9
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x6ba394]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd4], ecx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd8], esi
mov ecx, dword [edi + 0x6c]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0xbd], 1
cmp ecx, dword [edi + 0x70]
jne 0x487b65
push 0x63f3e0
mov ecx, esi
call fcn.004347d0
mov eax, esi
jmp 0x487fa4
xor eax, eax
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], 0
mov word [ebp - 0xbc], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], eax
mov word [ebp - 0xa4], ax
xor ebx, ebx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], ax
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], ebx
mov word [ebp - 0x8c], ax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], ebx
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 5
mov esi, ecx
mov edi, dword [edi + 0x70]
cmp esi, edi
je 0x487e63
lea eax, [esi + 0x18]
mov dword [ebp - 0xc4], eax
lea ecx, [eax + 0x18]
lea edx, [ebp - 0x8c]
cmp edx, ecx
je 0x487c15
push 0xffffffffffffffff
push 0
push ecx
mov ecx, edx
call fcn.00434d60
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xa4]
cmp ecx, eax
je 0x487c2c
push 0xffffffffffffffff
push 0
push eax
call fcn.00434d60
mov ebx, dword [ebp - 0x34]
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x487c42
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00434d60
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xcc]
cmp dword [ecx + 0x14], 8
jb 0x487c58
mov eax, dword [ecx]
mov dword [ebp - 0xc8], eax
jmp 0x487c5e
mov dword [ebp - 0xc8], ecx
cmp dword [ebp - 0x30], 8
lea edx, [ebp - 0x44]
mov eax, dword [ecx + 0x10]
mov ecx, eax
cmovae edx, dword [ebp - 0x44]
cmp ebx, eax
mov dword [ebp - 0xd0], eax
cmovb ecx, ebx
test ecx, ecx
je 0x487c9b
push ecx
push dword [ebp - 0xc8]
push edx
call fcn.00433ef0
add esp, 0xc
test eax, eax
jne 0x487e49
mov eax, dword [ebp - 0xd0]
cmp ebx, eax
jb 0x487e49
ja 0x487e49
cmp byte [ebp - 0xbd], 0
lea ecx, [ebp - 0xbc]
je 0x487cc1
push 1
push 0x6523e4
jmp 0x487cc8
push 2
push 0x6523e8
call fcn.0041d8c0
push 0xf
push str.json_amsijson_
lea ecx, [ebp - 0x74]
mov byte [ebp - 0xbd], 0
call fcn.004346a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x74]
call fcn.0041d9d0
push 3
push 0x640958
lea ecx, [ebp - 0x74]
call fcn.0041d8c0
mov ebx, dword [ebp - 0xd4]
lea ecx, [ebp - 0x2c]
lea eax, [ebx + 0x13b0]
cmp ecx, eax
je 0x487d22
push 0xffffffffffffffff
push 0
push eax
call fcn.00434d60
push 1
push 0x63f3c0
lea ecx, [ebp - 0x2c]
call fcn.0041d8c0
push 0xffffffffffffffff
push 0
push dword [ebx + 0x7c]
lea ecx, [ebp - 0x2c]
call fcn.0041d9d0
push 1
push 0x63f3c0
lea ecx, [ebp - 0x2c]
call fcn.0041d8c0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041d9d0
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
push 0
cmovae ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
push ecx
cmovae eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 4
xor eax, eax
mov dword [ebp - 0x48], 7
push 0x650f8c
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.004346a0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xa4]
push eax
lea edx, [ebp - 0x5c]
call fcn.0047d1a0
mov byte [ebp - 4], 5
add esp, 8
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x487dde
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00434bd0
push 4
xor eax, eax
mov dword [ebp - 0x48], 7
push 0x650f98
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.004346a0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x5c]
call fcn.0047d900
mov byte [ebp - 4], 5
add esp, 8
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x487e34
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00434bd0
push 1
push 0x6523f0
lea ecx, [ebp - 0xbc]
call fcn.0041d8c0
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc4]
add esi, 0x48
add eax, 0x48
mov dword [ebp - 0xc4], eax
cmp esi, edi
jne 0x487bf3
push 1
push 0x6483c4
lea ecx, [ebp - 0xbc]
call fcn.0041d8c0
mov ebx, dword [ebp - 0xd8]
xor eax, eax
mov ecx, ebx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
lea eax, [ebp - 0xbc]
push eax
call fcn.00434450
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x487eb1
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00434bd0
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], 0
cmp eax, 8
jb 0x487eda
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00434bd0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x487f09
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00434bd0
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x7c], 0
cmp eax, 8
jb 0x487f35
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00434bd0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x487f67
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00434bd0
xor eax, eax
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x94], 0
cmp eax, 8
jb 0x487fa2
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.00434bd0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b168a
mov esp, ebp
pop ebp
ret 0xc