Function at 0x10025910
Capabilities:
Copy file
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f553
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x100871e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x484], ecx
mov dword [ebp - 4], 0
push 1
push 0
push str.rqKk
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x470], 0x100
mov dword [ebp - 0x430], 0x200
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov byte [ebp - 4], 1
mov eax, 0x1007ca50
test eax, eax
jne 0x100259a2
mov dword [ebp - 0x43c], 0
jmp 0x100259fc
mov dword [ebp - 0x420], 0x1007ca50
mov ecx, dword [ebp - 0x420]
add ecx, 2
mov dword [ebp - 0x48c], ecx
mov edx, dword [ebp - 0x420]
mov ax, word [edx]
mov word [ebp - 0x434], ax
add dword [ebp - 0x420], 2
cmp word [ebp - 0x434], 0
jne 0x100259bb
mov ecx, dword [ebp - 0x420]
sub ecx, dword [ebp - 0x48c]
sar ecx, 1
mov dword [ebp - 0x47c], ecx
mov edx, dword [ebp - 0x47c]
mov dword [ebp - 0x43c], edx
mov eax, dword [ebp - 0x43c]
push eax
push 0x1007ca50
mov ecx, dword [ebp + 0x18]
call fcn.100071a0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x448], ecx
mov edx, dword [ebp - 0x484]
mov eax, dword [edx]
or eax, 0x20019
push eax
mov ecx, dword [ebp - 0x448]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x42c]
call fcn.10027150
test eax, eax
je 0x10025a80
mov byte [ebp - 0x413], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.10027260
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
sub eax, 0x10
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp - 0x450]
call fcn.10003fb0
mov al, byte [ebp - 0x413]
jmp 0x10025d11
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x468]
push eax
push 0
lea ecx, [ebp - 0x470]
push ecx
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x42c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10025b33
mov dword [ebp - 0x458], 0
cmp dword [ebp - 0x42c], 0
je 0x10025aea
mov edx, dword [ebp - 0x42c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x412], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.10027260
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
sub eax, 0x10
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0x480]
call fcn.10003fb0
mov al, byte [ebp - 0x412]
jmp 0x10025d11
lea ecx, [ebp - 0x410]
test ecx, ecx
jne 0x10025b49
mov dword [ebp - 0x444], 0
jmp 0x10025ba5
lea edx, [ebp - 0x410]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
add eax, 2
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x418]
mov dx, word [ecx]
mov word [ebp - 0x432], dx
add dword [ebp - 0x418], 2
cmp word [ebp - 0x432], 0
jne 0x10025b64
mov eax, dword [ebp - 0x418]
sub eax, dword [ebp - 0x460]
sar eax, 1
mov dword [ebp - 0x478], eax
mov ecx, dword [ebp - 0x478]
mov dword [ebp - 0x444], ecx
mov edx, dword [ebp - 0x444]
push edx
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.100071a0
mov ecx, dword [ebp - 0x468]
mov dword [ebp - 0x488], ecx
cmp dword [ebp - 0x488], 1
je 0x10025bd5
jmp 0x10025c5f
lea edx, [ebp - 0x210]
test edx, edx
jne 0x10025beb
mov dword [ebp - 0x440], 0
jmp 0x10025c47
lea eax, [ebp - 0x210]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x41c]
add ecx, 2
mov dword [ebp - 0x44c], ecx
mov edx, dword [ebp - 0x41c]
mov ax, word [edx]
mov word [ebp - 0x436], ax
add dword [ebp - 0x41c], 2
cmp word [ebp - 0x436], 0
jne 0x10025c06
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp - 0x44c]
sar ecx, 1
mov dword [ebp - 0x454], ecx
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x440]
push eax
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.100071a0
jmp 0x10025c9d
mov edx, dword [ebp - 0x430]
mov dword [ebp - 0x45c], edx
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [ebp + 0x18]
call fcn.10002f60
mov dword [ebp - 0x464], eax
mov ecx, dword [ebp - 0x430]
push ecx
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x464]
push eax
call fcn.100469b0
add esp, 0xc
mov dword [ebp - 0x46c], 0
cmp dword [ebp - 0x42c], 0
je 0x10025ccd
mov ecx, dword [ebp - 0x42c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
mov byte [ebp - 0x411], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.10027260
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
sub edx, 0x10
mov dword [ebp - 0x474], edx
mov ecx, dword [ebp - 0x474]
call fcn.10003fb0
mov al, byte [ebp - 0x411]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100422b3
mov esp, ebp
pop ebp
ret 0x14