Function at 0x258014
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x24
push 0
push 0
dec ecx
jne 0x25801d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x258691
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
xor edx, edx
push ebp
push 0x258607
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 0x20], 0xffffffff
jne 0x258143
lea eax, [ebp - 0x2c]
push eax
call fcn.0025a434
lea ecx, [ebp - 0x30]
mov edx, 0xf235
call fcn.0025a9ec
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [0x270680]
mov eax, dword [eax]
call fcn.001e3cf8
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea edx, [ebp - 0x38]
xor ecx, ecx
pop eax
call fcn.0010d8d4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.001050d0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.0015ab5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x2580cc
xor ecx, ecx
mov edx, ebx
call fcn.0014ae34
jmp 0x2580e0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x149890]
call fcn.0014a8dc
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0025386c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, ebx
call fcn.0025929c
mov edx, eax
dec edx
mov eax, ebx
call fcn.002592a4
mov ebx, eax
push 1
push 0
mov edx, dword [ebx + 0xc]
mov eax, dword [0x2702c0]
mov eax, dword [eax]
mov eax, dword [eax + 0xb0c]
mov cl, 1
call fcn.00240d3c
mov esi, eax
mov dword [ebx + 8], esi
mov eax, esi
call fcn.00265758
mov eax, dword [ebx + 8]
call fcn.00264508
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x258615
mov eax, dword [ebp - 4]
add eax, 0x14
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x14]
call fcn.001050d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x258169
xor ecx, ecx
mov edx, ebx
call fcn.0014ae34
jmp 0x25817d
mov ecx, ebx
mov dl, 1
mov eax, dword [0x149890]
call fcn.0014a8dc
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x34]
call fcn.00105358
test eax, eax
jle 0x258233
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x34]
mov cl, 1
xor edx, edx
call fcn.0026b2bc
cmp dword [ebp - 0x1c], 0
je 0x258225
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, 0x2586ac
call fcn.0010cab4
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0010cc64
mov eax, dword [ebp - 0x3c]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.002572b0
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x20]
pop eax
call fcn.0026bd48
push 0
mov eax, dword [ebp - 0x20]
call fcn.00105558
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00105558
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, 0x34
mov edx, dword [ebp - 0x20]
call fcn.001050d0
jmp 0x258233
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, 0x34
call fcn.0010507c
mov eax, dword [ebp - 8]
cmp dword [eax + 0x20], 0
jle 0x2584ff
mov eax, dword [ebp - 8]
call fcn.001e5594
dec eax
test eax, eax
jl 0x2585fd
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
cmp byte [eax + 0x30], 0
je 0x258283
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.001e5400
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x14]
call fcn.00105114
jmp 0x25829c
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.001e5400
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x14]
call fcn.00105114
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
cmp byte [eax + 0x30], 0
je 0x2582c8
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.001e5400
mov eax, dword [ebp - 0x70]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0025386c
jmp 0x2582ec
lea ecx, [ebp - 0x84]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.001e5400
mov eax, dword [ebp - 0x84]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0025386c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, ebx
call fcn.0025929c
mov edx, eax
dec edx
mov eax, ebx
call fcn.002592a4
mov dword [ebp - 0x28], eax
push 1
push 0
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0xc]
mov eax, dword [0x2702c0]
mov eax, dword [eax]
mov eax, dword [eax + 0xb0c]
mov cl, 1
call fcn.00240d3c
mov edx, dword [ebp - 0x28]
mov dword [edx + 8], eax
xor eax, eax
push ebp
push 0x2584d9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.001e5400
mov eax, dword [ebp - 0x90]
call fcn.00105358
test eax, eax
jle 0x2583c0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
cmp byte [eax + 0x30], 0
je 0x2583c0
lea ecx, [ebp - 0xa4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.001e5400
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
call fcn.002656f0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, ebx
call fcn.0025929c
mov edx, eax
dec edx
mov eax, ebx
call fcn.002592a4
add eax, 0xc
push eax
lea ecx, [ebp - 0xb4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.001e5400
mov edx, dword [ebp - 0xb0]
pop eax
call fcn.001050d0
jmp 0x25843a
lea ecx, [ebp - 0xc4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.001e5400
mov eax, dword [ebp - 0xc4]
call fcn.00105358
test eax, eax
jle 0x25843a
lea ecx, [ebp - 0xd4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.001e5400
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
call fcn.002656f0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, ebx
call fcn.0025929c
mov edx, eax
dec edx
mov eax, ebx
call fcn.002592a4
add eax, 0xc
push eax
lea ecx, [ebp - 0xe4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.001e5400
mov edx, dword [ebp - 0xe4]
pop eax
call fcn.001050d0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x27071c]
mov eax, dword [eax]
mov edx, dword [eax + 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.0026b2bc
cmp dword [ebp - 0x18], 0
je 0x258471
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
jmp 0x2584b4
cmp dword [ebp - 0x14], 0
je 0x2584b4
mov al, byte [0x2586b4]
push eax
lea eax, [ebp - 0xe8]
push eax
mov ecx, 0x2586c0
mov edx, 0x2586cc
mov eax, dword [ebp - 0x14]
call fcn.00111a20
mov edx, dword [ebp - 0xe8]
lea eax, [ebp - 0x14]
call fcn.00105114
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.00265480
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dl, 1
call fcn.001c3f18
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
call fcn.00264508
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x2584ee
inc dword [ebp - 0x10]
dec dword [ebp - 0x24]
jne 0x25825c
jmp 0x2585fd
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0025386c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 4]
mov eax, ebx
call fcn.0025929c
mov edx, eax
dec edx
mov eax, ebx
call fcn.002592a4
mov ebx, eax
push 1
push 0
mov edx, dword [ebx + 0xc]
mov eax, dword [0x2702c0]
mov eax, dword [eax]
mov eax, dword [eax + 0xb0c]
mov cl, 1
call fcn.00240d3c
mov dword [ebx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
cmp byte [eax + 0x30], 0
je 0x25856e
lea edx, [ebp - 0x104]
mov eax, dword [ebp - 8]
call fcn.001e508c
mov edx, dword [ebp - 0xec]
lea eax, [ebp - 0x14]
call fcn.00105114
jmp 0x25858a
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 8]
call fcn.001e508c
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 0x14]
call fcn.00105114
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x128]
mov eax, dword [0x27071c]
mov eax, dword [eax]
mov edx, dword [eax + 0x1c]
mov eax, dword [0x27071c]
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
call fcn.0026bd48
mov edx, dword [ebp - 0x128]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.0026b2bc
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x14]
call fcn.00105114
cmp dword [ebp - 0x14], 0
je 0x2585f5
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x10]
mov dl, 1
call fcn.001c3f18
mov eax, dword [ebx + 8]
call fcn.00264508
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x258615
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x258698
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.001050a0
lea eax, [ebp - 0x120]
mov edx, dword [0x1e471c]
mov ecx, 2
call fcn.00105bbc
lea eax, [ebp - 0xe8]
call fcn.0010507c
lea eax, [ebp - 0xe4]
mov edx, dword [0x1e46e0]
mov ecx, 0xa
call fcn.00105bbc
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.001050a0
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.001050a0
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.001050a0
ret