Function at 0x4659c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1480
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x50cc94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push 0xe
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x18], esi
call fcn.004237e1
mov eax, dword [eax]
push str._CAMEYO_VAR_
push eax
call fcn.004afbc0
add esp, 8
cmp eax, esi
mov byte [ebp - 4], 0
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 0x465a36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x465c31
lea edi, [ebp + 0xc]
call fcn.00465770
test eax, eax
je 0x465b13
mov ecx, edi
push ecx
lea edx, [ebp - 0x10]
push str._CAMEYO_VAR_
push edx
call fcn.00423896
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov esi, dword [ebp + 0xc]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x465aba
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x465aad
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x465aad
push eax
call fcn.004242ab
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x465aa5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp + 0xc], ebx
jmp 0x465aba
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp + 0xc]
call fcn.0042423a
mov byte [ebp - 4], 0
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 0x465add
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0xc]
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.004235f2
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.General
call fcn.004235f2
push 1
mov byte [ebp - 4], 0
call fcn.0046e660
add esp, 0x10
push 0x4e293c
push 0x4dec30
lea edx, [ebp + 0xc]
push edx
call fcn.0043400a
push 0x4f1994
push 0x4e1e7c
lea eax, [ebp + 0xc]
push eax
call fcn.0043400a
push 0x4f199c
push 0x4e7164
lea ecx, [ebp + 0xc]
push ecx
call fcn.0043400a
push 0x4f19a4
push 0x4df154
lea edx, [ebp + 0xc]
push edx
call fcn.0043400a
push 0x4f19ac
push 0x4f19b4
lea eax, [ebp + 0xc]
push eax
call fcn.0043400a
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00466140
add esp, 4
lea edx, [ebp - 0x10]
push edx
mov esi, eax
mov byte [ebp - 4], 4
call fcn.00429acb
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [eax]
mov esi, dword [ebp + 0xc]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x465beb
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x465bde
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x465bde
push eax
call fcn.004242ab
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x465bd6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp + 0xc], ebx
jmp 0x465beb
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp + 0xc]
call fcn.0042423a
mov byte [ebp - 4], 4
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 0x465c0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
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 0x465c31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
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 dword [ebp - 4], 0xffffffff
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 0x465c71
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