Function at 0x46b4b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de628
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x526f10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xe
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x18], 0
call fcn.004249db
mov eax, dword [eax]
push str._CAMEYO_VAR_
push eax
call fcn.004bbd30
add esp, 8
test eax, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b52c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x46b6a9
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
lea edi, [ebp + 0x10]
call fcn.00425445
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0046ae70
add esp, 4
test eax, eax
je 0x46b5d6
mov ecx, edi
push ecx
lea edx, [ebp - 0x10]
push str._CAMEYO_VAR_
push edx
call fcn.00424a90
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00424edf
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b5a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.RegDiff_PostScan_RecurseDirs:_setting_variablized_SZ_value_as:__s__File_
call fcn.004247ec
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.General
call fcn.004247ec
push 1
mov byte [ebp - 4], 1
call fcn.00472780
add esp, 0x10
push 0x4f0374
push 0x4ebfa0
lea edx, [ebp + 0x10]
push edx
call fcn.0042b528
push 0x50449c
push 0x4ef2cc
lea eax, [ebp + 0x10]
push eax
call fcn.0042b528
push 0x5044a4
push 0x4f76dc
lea ecx, [ebp + 0x10]
push ecx
call fcn.0042b528
push 0x4ef720
push 0x4ec4c4
lea edx, [ebp + 0x10]
push edx
call fcn.0042b528
push 0x5044ac
push 0x5044b4
lea eax, [ebp + 0x10]
push eax
call fcn.0042b528
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x10]
call fcn.0046baa0
add esp, 4
lea edx, [ebp - 0x10]
mov bl, 5
push edx
mov esi, eax
mov byte [ebp - 4], bl
call fcn.0042c69f
add esp, 4
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 6
call fcn.00424edf
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b686
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b6a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp + 8]
add ecx, ecx
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b6e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b70c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret