Function at 0x43dfd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
call fcn.004964ca
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43e019
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x43e048
push 0
lea edx, [ebp + 8]
push edx
call fcn.004234c5
push ecx
mov ebx, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x24], ebx
call fcn.004964ca
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43e06b
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, 0x4cc12c
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x43e166
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e3ee
mov edi, eax
test edi, edi
je 0x43e180
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43e180
push esi
push eax
push edi
call fcn.004216e0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43e180
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x43e0f4
push esi
mov ecx, ebx
call fcn.004214ff
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x14], edx
cmp eax, 0xffffffff
jne 0x43e10e
push edi
call fcn.004a4b1a
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a460f
add esp, 0x10
cmp eax, 0x50
ja case.0x43e26d.1
movzx edx, byte [eax + 0x43e640]
jmp dword [edx*4 + 0x43e630]
call fcn.00496a32
test esi, esi
jl 0x43e15c
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x43e15c
mov edx, dword [ebp - 0x18]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x43e180
push 0x80070057
call fcn.00421000
push 0x4cc12c
call fcn.004a4b1a
add esp, 4
push eax
push 0x4cc12c
mov ecx, ebx
call fcn.00423f4a
push ecx
mov byte [ebp - 4], 4
mov ebx, esp
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x24], ebx
call fcn.004964ca
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43e1a7
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, str.Wow6432Node
mov byte [ebp - 4], 5
test ecx, 0xffff0000
jne 0x43e29c
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e3ee
mov edi, eax
test edi, edi
je 0x43e2b6
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43e2b6
push esi
push eax
push edi
call fcn.004216e0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43e2b6
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x43e230
push esi
mov ecx, ebx
call fcn.004214ff
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x18], edx
cmp eax, 0xffffffff
jne 0x43e24a
push edi
call fcn.004a4b1a
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004a460f
add esp, 0x10
cmp eax, 0x50
ja case.0x43e26d.1
movzx edx, byte [eax + 0x43e6a4]
jmp dword [edx*4 + 0x43e694]
call fcn.00496a6a
test esi, esi
jl 0x43e15c
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x43e15c
mov edx, dword [ebp - 0x14]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x43e2b6
push str.Wow6432Node
call fcn.004a4b1a
add esp, 4
push eax
push str.Wow6432Node
mov ecx, ebx
call fcn.00423f4a
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
mov byte [ebp - 4], 2
call fcn.00466470
add esp, 0xc
test eax, eax
jle 0x43e54e
mov ecx, dword [ebp + 8]
push ecx
push ecx
mov ebx, esp
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x20], ebx
call fcn.004964ca
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43e2f9
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, str.RegDiff_PostScan_ExportTitle:_Transforming_Wow6432Node_key:__s
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x43e3ed
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e3ee
mov edi, eax
test edi, edi
je 0x43e407
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43e407
push esi
push eax
push edi
call fcn.004216e0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43e407
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x43e382
push esi
mov ecx, ebx
call fcn.004214ff
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x18], edx
cmp eax, 0xffffffff
jne 0x43e39c
push edi
call fcn.004a4b1a
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004a460f
add esp, 0x10
cmp eax, 0x50
ja case.0x43e26d.1
movzx edx, byte [eax + 0x43e708]
jmp dword [edx*4 + 0x43e6f8]
test esi, esi
jl 0x43e15c
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x43e15c
mov edx, dword [ebp - 0x14]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x43e407
push str.RegDiff_PostScan_ExportTitle:_Transforming_Wow6432Node_key:__s
call fcn.004a4b1a
add esp, 4
push eax
push str.RegDiff_PostScan_ExportTitle:_Transforming_Wow6432Node_key:__s
mov ecx, ebx
call fcn.00423f4a
push ecx
mov byte [ebp - 4], 7
mov ebx, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x20], ebx
call fcn.004964ca
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43e42e
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, str.General
mov byte [ebp - 4], 8
test ecx, 0xffff0000
jne 0x43e522
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e3ee
mov edi, eax
test edi, edi
je 0x43e53c
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43e53c
push esi
push eax
push edi
call fcn.004216e0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x43e53c
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x43e4b7
push esi
mov ecx, ebx
call fcn.004214ff
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x18], edx
cmp eax, 0xffffffff
jne 0x43e4d1
push edi
call fcn.004a4b1a
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004a460f
add esp, 0x10
cmp eax, 0x50
ja case.0x43e26d.1
movzx edx, byte [eax + 0x43e76c]
jmp dword [edx*4 + 0x43e75c]
test esi, esi
jl 0x43e15c
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x43e15c
mov edx, dword [ebp - 0x14]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x43e53c
push str.General
call fcn.004a4b1a
add esp, 4
push eax
push str.General
mov ecx, ebx
call fcn.00423f4a
mov byte [ebp - 4], 7
push 1
mov byte [ebp - 4], 2
call fcn.004670c0
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.004721c0
mov edi, eax
add esp, 4
test edi, edi
jne 0x43e563
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push str._r_n__s__r_n
push ecx
call fcn.00421614
mov esi, dword [ebp - 0x10]
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e580
mov ecx, dword [0x4f3a48]
sub eax, edx
push 0
sar eax, 1
lea edx, [ebp - 0x1c]
push edx
add eax, eax
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test edi, edi
je 0x43e5b3
push edi
call fcn.004a5105
add esp, 4
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43e5d3
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 + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e5f6
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 + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e61c
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