Function at 0x4130d0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5509db
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5a9f00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x234], eax
cmp edi, ebx
je 0x41337b
cmp eax, ebx
je 0x41337b
push ebx
sub esp, 0x1c
mov esi, esp
mov eax, edi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x21c], esp
mov byte [esi], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x413135
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.00404400
call fcn.004066a0
add esp, 0x20
cmp eax, ebx
jne 0x413193
push 1
sub esp, 0x1c
mov esi, esp
mov eax, edi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x21c], esp
mov byte [esi], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x413171
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.00404400
call fcn.004066a0
add esp, 0x20
cmp eax, ebx
je 0x41337b
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 4], ebx
call fcn.00406e10
mov dword [ebp - 0x21c], eax
cmp eax, ebx
je 0x4131f7
lea esi, [ebp - 0x230]
call fcn.0041df30
cmp dword [ebp - 0x224], ebx
jne 0x4131f7
mov eax, dword [ebp - 0x230]
cmp eax, ebx
je 0x4131f7
lea ecx, [ebp - 0x228]
push ecx
call eax
cmp eax, ebx
je 0x4131f7
mov dword [ebp - 0x224], 1
xor eax, eax
mov dword [ebp - 0x244], eax
push 0x103
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x113]
mov edx, 0x214
push ebx
push eax
mov dword [ebp - 0x254], ebx
mov word [ebp - 0x244], dx
mov byte [ebp - 0x114], bl
call fcn.00528f50
push edi
lea ecx, [ebp - 0x114]
push 0x104
push ecx
call fcn.00526b93
mov eax, edi
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x413268
sub eax, edx
mov byte [ebp + eax - 0x114], bl
mov eax, edi
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x413280
push 0x103
lea edx, [ebp - 0x217]
sub eax, esi
push ebx
push edx
mov byte [ebp + eax - 0x113], bl
mov byte [ebp - 0x218], bl
call fcn.00528f50
mov esi, dword [ebp - 0x234]
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00526b93
mov eax, esi
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4132c8
sub eax, ecx
mov byte [ebp + eax - 0x218], bl
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4132e0
sub eax, edx
mov byte [ebp + eax - 0x217], bl
lea eax, [ebp - 0x254]
lea ecx, [ebp - 0x114]
lea edx, [ebp - 0x218]
push eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x250], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x413331
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
jmp 0x413336
mov esi, 1
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x21c], ebx
je 0x413366
cmp dword [ebp - 0x224], ebx
je 0x413366
mov eax, dword [ebp - 0x22c]
cmp eax, ebx
je 0x413366
mov ecx, dword [ebp - 0x228]
push ecx
call eax
test eax, eax
je 0x413366
mov dword [ebp - 0x224], ebx
mov eax, dword [ebp - 0x220]
cmp eax, ebx
je 0x413377
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x41337d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523d1e
mov esp, ebp
pop ebp
ret 4