Function at 0x10001bb0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030975
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x1003f098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2d8]
xor ebx, ebx
push eax
mov edi, 0x1003aa70
mov dword [ebp - 4], ebx
call fcn.10002a90
lea ecx, [ebp - 0x2b8]
push ecx
mov edi, str.EVENT.dll
mov byte [ebp - 4], 1
call fcn.10002a90
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push ebx
mov byte [ebp - 4], 2
push eax
mov word [ebp - 0x218], dx
call fcn.1000b030
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x258]
push edx
lea edi, [ebp - 0x218]
call fcn.10002a90
mov eax, edi
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x238]
push ecx
call fcn.10002a90
lea edx, [ebp - 0x2d8]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x298]
push ecx
mov byte [ebp - 4], 4
call fcn.100057f0
lea edx, [ebp - 0x2b8]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x278]
push ecx
mov byte [ebp - 4], 5
call fcn.100057f0
lea edx, [ebp - 0x2b8]
push edx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x2f8]
push ecx
mov byte [ebp - 4], 6
call fcn.100057f0
add esp, 0x24
mov esi, eax
lea edx, [ebp - 0x238]
lea edi, [ebx + 8]
cmp edx, esi
je 0x10001d45
cmp dword [ebp - 0x220], edi
jb 0x10001ce6
mov eax, dword [ebp - 0x234]
push eax
call fcn.10008d30
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
cmp dword [esi + 0x18], edi
jae 0x10001d21
mov eax, dword [esi + 0x14]
lea edx, [eax + eax + 2]
push edx
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.10006540
add esp, 0xc
jmp 0x10001d2d
mov edx, dword [esi + 4]
mov dword [ebp - 0x234], edx
mov dword [esi + 4], ebx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x224], eax
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x220], ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x2e0], edi
jb 0x10001d60
mov edx, dword [ebp - 0x2f4]
push edx
call fcn.10008d30
add esp, 4
lea ecx, [ebp - 0x2f8]
xor eax, eax
push ecx
mov dword [ebp - 0x2e0], 7
mov dword [ebp - 0x2e4], ebx
mov word [ebp - 0x2f4], ax
call fcn.10003020
mov ecx, dword [ebp - 0x294]
cmp dword [ebp - 0x280], edi
jae 0x10001d99
lea ecx, [ebp - 0x294]
mov eax, dword [ebp - 0x254]
cmp dword [ebp - 0x240], edi
jae 0x10001dad
lea eax, [ebp - 0x254]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 1
push ecx
push eax
call esi
mov ecx, dword [ebp - 0x274]
cmp dword [ebp - 0x260], edi
jae 0x10001dcd
lea ecx, [ebp - 0x274]
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], edi
jae 0x10001de1
lea eax, [ebp - 0x234]
push 1
push ecx
push eax
call esi
mov byte [ebp - 4], 5
cmp dword [ebp - 0x260], edi
jb 0x10001e02
mov edx, dword [ebp - 0x274]
push edx
call fcn.10008d30
add esp, 4
lea ecx, [ebp - 0x278]
xor eax, eax
mov esi, 7
push ecx
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x264], ebx
mov word [ebp - 0x274], ax
call fcn.10003020
mov byte [ebp - 4], 4
cmp dword [ebp - 0x280], edi
jb 0x10001e43
mov edx, dword [ebp - 0x294]
push edx
call fcn.10008d30
add esp, 4
lea ecx, [ebp - 0x298]
xor eax, eax
push ecx
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x284], ebx
mov word [ebp - 0x294], ax
call fcn.10003020
mov byte [ebp - 4], 3
cmp dword [ebp - 0x220], edi
jb 0x10001e7f
mov edx, dword [ebp - 0x234]
push edx
call fcn.10008d30
add esp, 4
lea ecx, [ebp - 0x238]
xor eax, eax
push ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
call fcn.10003020
mov byte [ebp - 4], 2
cmp dword [ebp - 0x240], edi
jb 0x10001ebb
mov edx, dword [ebp - 0x254]
push edx
call fcn.10008d30
add esp, 4
lea ecx, [ebp - 0x258]
xor eax, eax
push ecx
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], ax
call fcn.10003020
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2a0], edi
jb 0x10001ef7
mov edx, dword [ebp - 0x2b4]
push edx
call fcn.10008d30
add esp, 4
lea ecx, [ebp - 0x2b8]
xor eax, eax
push ecx
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 0x2a4], ebx
mov word [ebp - 0x2b4], ax
call fcn.10003020
mov byte [ebp - 4], bl
cmp dword [ebp - 0x2c0], edi
jb 0x10001f32
mov edx, dword [ebp - 0x2d4]
push edx
call fcn.10008d30
add esp, 4
lea ecx, [ebp - 0x2d8]
xor eax, eax
push ecx
mov dword [ebp - 0x2c0], esi
mov dword [ebp - 0x2c4], ebx
mov word [ebp - 0x2d4], ax
call fcn.10003020
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x20], edi
jb 0x10001f6b
mov edx, dword [ebp + 0xc]
push edx
call fcn.10008d30
add esp, 4
lea ecx, [ebp + 8]
xor eax, eax
push ecx
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x1c], ebx
mov word [ebp + 0xc], ax
call fcn.10003020
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10006090
mov esp, ebp
pop ebp
ret