Function at 0x103140b
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x1057eb9
push 0x88
call fcn.01034b96
push 0x1004440
push ecx
push ecx
fld qword [0x1004438]
fstp qword [esp]
lea ecx, [ebp - 0x94]
call fcn.0102f819
xor esi, esi
mov dword [ebp - 4], esi
mov edi, dword [ebp + 8]
lea ebx, [edi + 0x34]
mov ecx, ebx
call fcn.0102df8d
test eax, eax
jne 0x1031455
mov ecx, ebx
push dword [ebp + 0x1c]
call fcn.0101faba
lea ecx, [ebp + 0x1c]
push dword [ebp + 0x10]
call fcn.0101193a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0101274d
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
push dword [ebp + 0x18]
call fcn.0101193a
mov byte [ebp - 4], 3
mov eax, dword [eax]
cmp eax, esi
je 0x1031489
mov eax, dword [eax]
jmp 0x103148b
xor eax, eax
lea ecx, [ebp - 0x14]
push eax
call fcn.010161f7
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
cmp ecx, esi
je 0x10314a7
call fcn.010125bf
mov dword [ebp + 0x10], esi
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], esi
je 0x10314cd
push 0x104
lea ecx, [ebp - 0x14]
call fcn.01012865
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea ecx, [ebp - 0x14]
push 0xffffffffffffffff
call fcn.01011a69
mov dword [ebp + 0x10], esi
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
call fcn.0101faba
mov eax, dword [edi + 0x1c]
add edi, 4
mov ecx, dword [edi]
push eax
push dword [ebp + 0xc]
push edi
call dword [ecx + 0x1c]
push dword [ebp + 0xc]
lea ecx, [ebp + 0x18]
call fcn.0101193a
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
mov esi, 0x10043e8
push esi
call fcn.0102d49e
mov byte [ebp - 4], 6
sub esp, 0x14
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x10043dc
call fcn.0101f207
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
mov byte [ebp - 4], 6
call fcn.010497a2
lea eax, [ebp + 0x1c]
sub esp, 0x14
mov ebx, esp
mov dword [ebp + 0xc], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.0101f1e3
mov ecx, ebx
mov byte [ebp - 4], 8
mov byte [ebp - 4], 6
call fcn.0101fdab
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 9
mov byte [ebp - 4], 6
call fcn.010499a5
lea ecx, [ebp - 0x78]
push esi
call fcn.0102d49e
sub esp, 0x14
mov byte [ebp - 4], 0xa
mov dword [ebp + 0xc], esp
mov ecx, esp
push 0x10043d0
call fcn.0101f207
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.010497a2
mov eax, dword [ebp + 8]
add eax, 0x34
mov eax, dword [eax]
test eax, eax
je 0x10315a7
mov eax, dword [eax]
jmp 0x10315a9
xor eax, eax
push eax
lea ecx, [ebp - 0x28]
call fcn.01017b7f
sub esp, 0x14
lea eax, [ebp - 0x28]
mov ebx, esp
mov byte [ebp - 4], 0xc
mov dword [ebp + 0xc], esp
push ecx
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.01013833
mov ecx, ebx
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 0xc
call fcn.0102e88d
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xc
call fcn.010499a5
lea ecx, [ebp - 0x24]
call fcn.0101274d
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x20]
call fcn.0101274d
mov byte [ebp - 4], 0x10
and dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1031617
mov eax, dword [eax]
jmp 0x1031619
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.01030dac
lea ecx, [ebp - 0x60]
push esi
call fcn.0102d49e
sub esp, 0x14
mov ecx, esp
mov byte [ebp - 4], 0x12
mov dword [ebp + 0xc], esp
push 0x10043c8
call fcn.0101f207
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x12
call fcn.010497a2
sub esp, 0x14
mov dword [ebp + 0xc], esp
mov ebx, esp
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.01013833
mov byte [ebp - 4], 0x14
mov ecx, ebx
mov byte [ebp - 4], 0x12
call fcn.0102e88d
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x60]
call fcn.010499a5
lea ecx, [ebp - 0x54]
push esi
call fcn.0102d49e
mov byte [ebp - 4], 0x16
sub esp, 0x14
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x10043c0
call fcn.0101f207
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x16
call fcn.010497a2
sub esp, 0x14
mov dword [ebp + 0xc], esp
lea eax, [ebp - 0x24]
mov esi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.01013833
mov ecx, esi
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x16
call fcn.0102e88d
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x16
call fcn.010499a5
push 0x10043b0
lea ecx, [ebp - 0x3c]
call fcn.0102d4ed
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1a
push eax
call fcn.01049ba6
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x3c]
push eax
call fcn.01049ba6
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x3c]
push eax
call fcn.01049ba6
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x3c]
push eax
call fcn.01049ba6
lea ecx, [ebp - 0x3c]
and dword [ebp - 0x18], 0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x1b
push eax
call fcn.0104cfdd
mov byte [ebp - 4], 0x1c
mov esi, dword [edi]
mov ebx, dword [eax]
lea ecx, [ebp - 0x18]
call fcn.0102e221
push eax
push ebx
push 0x1004398
push edi
call dword [esi + 0x24]
xor edi, edi
mov byte [ebp - 4], 0x1b
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x1031780
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x94]
call fcn.0102efac
push 0x1004400
push ecx
push ecx
fld qword [0x10043f8]
fstp qword [esp]
lea ecx, [ebp - 0x80]
call fcn.0102f819
cmp esi, edi
mov byte [ebp - 4], 0x1d
jge 0x103189b
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1b
call fcn.0102f7e8
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x10317cc
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x3c]
call fcn.0102d4cf
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x54]
call fcn.0102d4cf
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x11
call fcn.0102d4cf
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x1031801
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x20]
call fcn.0102e513
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.0102e513
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.0102e513
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x78]
call fcn.0102d4cf
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.0102d4cf
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x1031850
call fcn.010125bf
mov dword [ebp + 0x18], edi
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x1031863
call fcn.010125bf
mov dword [ebp + 0x10], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0102e513
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0x1c]
cmp ecx, edi
je 0x1031882
call fcn.010125bf
mov dword [ebp + 0x1c], edi
lea ecx, [ebp - 0x94]
or dword [ebp - 4], 0xffffffff
call fcn.0102f7e8
mov eax, esi
call fcn.01034c3b
ret 0x18
mov byte [ebp + 0xf], 0
lea ecx, [ebp - 0x48]
push 0x1003538
call fcn.0101e799
mov byte [ebp - 4], 0x1e
cmp esi, 1
jne 0x10318eb
mov byte [ebp - 4], 0x1f
wait
cmp dword [ebp - 0x1c], edi
je 0x10318ca
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x48]
call fcn.01047b73
wait
mov dword [ebp - 4], 0x1e
jmp 0x1031a0b
cmp dword [ebp - 0x18], edi
jne 0x10319dd
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1d
call fcn.0102d4cf
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x80]
call fcn.0102f7e8
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x103191d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x3c]
call fcn.0102d4cf
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x54]
call fcn.0102d4cf
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x60]
call fcn.0102d4cf
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x1031952
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.0102e513
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.0102e513
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.0102e513
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.0102d4cf
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.0102d4cf
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x10319a1
call fcn.010125bf
mov dword [ebp + 0x18], edi
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x10319b4
call fcn.010125bf
mov dword [ebp + 0x10], edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0102e513
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0x1c]
cmp ecx, edi
je 0x10319d3
call fcn.010125bf
mov dword [ebp + 0x1c], edi
mov esi, 0x80004005
jmp 0x1031882
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x18]
mov byte [ebp + 0xf], 1
push eax
call fcn.0102e69d
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x21
mov esi, dword [ebp - 0x2c]
push esi
call fcn.01047b73
cmp esi, edi
mov byte [ebp - 4], 0x1e
je 0x1031a0b
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x30]
lea eax, [ebx + 0x2c]
push eax
call fcn.01013833
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x22
push 0x1003538
call fcn.0101e799
mov byte [ebp - 4], 0x23
cmp dword [ebp + 0x14], edi
jne 0x1031a48
lea ecx, [ebp - 0x8c]
lea eax, [ebp - 0x48]
push eax
call fcn.0104d653
jmp 0x1031a75
push dword [ebp + 0x14]
lea ecx, [ebp + 8]
call fcn.0101f59f
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x24
push dword [eax]
call fcn.01047bee
mov byte [ebp - 4], 0x23
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1031a75
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, ebx
call fcn.0102e0eb
test eax, eax
je 0x1031b88
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x22
call fcn.0102d4cf
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1e
call fcn.0102e513
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x48]
call fcn.0102d4cf
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1b
call fcn.0102f7e8
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x1031ac8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x16
call fcn.0102d4cf
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x54]
call fcn.0102d4cf
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x11
call fcn.0102d4cf
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x1031afd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xf
call fcn.0102e513
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.0102e513
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.0102e513
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 6
call fcn.0102d4cf
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.0102d4cf
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
je 0x1031b4c
call fcn.010125bf
mov dword [ebp + 0x18], edi
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x1031b5f
call fcn.010125bf
mov dword [ebp + 0x10], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0102e513
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0x1c]
cmp ecx, edi
je 0x1031b7e
call fcn.010125bf
mov dword [ebp + 0x1c], edi
mov esi, 0x80004004
jmp 0x1031882
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
lea eax, [ebp + 0x10]
push eax
call fcn.0101f1e3
mov byte [ebp - 4], 0x25
mov ecx, ebx
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0x23
call fcn.0103013f
mov esi, eax
cmp esi, edi
jl 0x1031c4d
cmp byte [ebp + 0xf], 0
je 0x1031c4d
push 0x100438c
lea ecx, [ebp + 8]
call fcn.0101193a
lea ecx, [ebp + 0x1c]
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.0102e9fe
mov byte [ebp - 4], 0x27
mov eax, dword [eax]
cmp eax, edi
je 0x1031bf4
mov eax, dword [eax]
jmp 0x1031bf6
xor eax, eax
push dword [ebp - 0x14]
push eax
mov ecx, ebx
lea eax, [ebp + 0xc]
push eax
call fcn.0102e4c3
mov byte [ebp - 4], 0x29
mov ecx, dword [ebp + 0x14]
cmp ecx, edi
je 0x1031c18
call fcn.010125bf
mov dword [ebp + 0x14], edi
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp + 8]
cmp ecx, edi
je 0x1031c2b
call fcn.010125bf
mov dword [ebp + 8], edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0x23
lea ecx, [ebp + 0xc]
call fcn.0102e513
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x22
call fcn.0102d4cf
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x30]
call fcn.0102e513
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x48]
call fcn.0102d4cf
jmp 0x10317af