Function at 0x44fc70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf180
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x504c94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44fcb9
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 - 0x14], 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 0x44fce8
push 0
lea edx, [ebp + 8]
push edx
call fcn.004234b6
push ecx
mov ebx, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x24], ebx
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44fd0b
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, 0x4d9c38
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x44fe06
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov edi, eax
test edi, edi
je 0x44fe20
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 0x44fe20
push esi
push eax
push edi
call fcn.004216fe
mov edi, eax
add esp, 0xc
test edi, edi
je 0x44fe20
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 0x44fd94
push esi
mov ecx, ebx
call fcn.0042151d
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x10], edx
cmp eax, 0xffffffff
jne 0x44fdae
push edi
call fcn.004ab8ea
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 - 0x10]
push ecx
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x44ff0d.1
movzx edx, byte [eax + 0x450488]
jmp dword [edx*4 + 0x450478]
call fcn.0049d763
test esi, esi
jl 0x44fdfc
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x44fdfc
mov edx, dword [ebp - 0x18]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x44fe20
push 0x80070057
call fcn.00421000
push 0x4d9c38
call fcn.004ab8ea
add esp, 4
push eax
push 0x4d9c38
mov ecx, ebx
call fcn.00423f13
push ecx
mov byte [ebp - 4], 4
mov ebx, esp
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x24], ebx
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44fe47
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 0x44ff3c
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov edi, eax
test edi, edi
je 0x44ff56
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 0x44ff56
push esi
push eax
push edi
call fcn.004216fe
mov edi, eax
add esp, 0xc
test edi, edi
je 0x44ff56
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 0x44fed0
push esi
mov ecx, ebx
call fcn.0042151d
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x18], edx
cmp eax, 0xffffffff
jne 0x44feea
push edi
call fcn.004ab8ea
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x44ff0d.1
movzx edx, byte [eax + 0x4504ec]
jmp dword [edx*4 + 0x4504dc]
call fcn.0049d79b
test esi, esi
jl 0x44fdfc
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x44fdfc
mov edx, dword [ebp - 0x10]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x44ff56
push str.Wow6432Node
call fcn.004ab8ea
add esp, 4
push eax
push str.Wow6432Node
mov ecx, ebx
call fcn.00423f13
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
mov byte [ebp - 4], 2
call fcn.0046abc0
add esp, 0xc
test eax, eax
jle 0x4501ee
mov ecx, dword [ebp + 8]
push ecx
push ecx
mov ebx, esp
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x20], ebx
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x44ff99
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 0x45008d
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov edi, eax
test edi, edi
je 0x4500a7
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 0x4500a7
push esi
push eax
push edi
call fcn.004216fe
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4500a7
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 0x450022
push esi
mov ecx, ebx
call fcn.0042151d
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x18], edx
cmp eax, 0xffffffff
jne 0x45003c
push edi
call fcn.004ab8ea
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x44ff0d.1
movzx edx, byte [eax + 0x450550]
jmp dword [edx*4 + 0x450540]
test esi, esi
jl 0x44fdfc
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x44fdfc
mov edx, dword [ebp - 0x10]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x4500a7
push str.RegDiff_PostScan_ExportTitle:_transforming_Wow6432Node_key:__s
call fcn.004ab8ea
add esp, 4
push eax
push str.RegDiff_PostScan_ExportTitle:_transforming_Wow6432Node_key:__s
mov ecx, ebx
call fcn.00423f13
push ecx
mov byte [ebp - 4], 7
mov ebx, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x20], ebx
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4500ce
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 0x4501c2
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov edi, eax
test edi, edi
je 0x4501dc
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 0x4501dc
push esi
push eax
push edi
call fcn.004216fe
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4501dc
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 0x450157
push esi
mov ecx, ebx
call fcn.0042151d
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x18], edx
cmp eax, 0xffffffff
jne 0x450171
push edi
call fcn.004ab8ea
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x44ff0d.1
movzx edx, byte [eax + 0x4505b4]
jmp dword [edx*4 + 0x4505a4]
test esi, esi
jl 0x44fdfc
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x44fdfc
mov edx, dword [ebp - 0x10]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x4501dc
push str.General
call fcn.004ab8ea
add esp, 4
push eax
push str.General
mov ecx, ebx
call fcn.00423f13
mov byte [ebp - 4], 7
push 1
mov byte [ebp - 4], 2
call fcn.0046b810
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.004783f0
add esp, 4
mov dword [ebp - 0x20], eax
mov edi, eax
test eax, eax
jne 0x450206
mov edi, dword [ebp + 8]
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x450220
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 9
test edi, edi
je 0x450309
test edi, 0xffff0000
jne 0x45030d
movzx edi, di
push edi
call fcn.004a5121
mov ebx, eax
test ebx, ebx
je 0x450323
mov ecx, edi
shr ecx, 4
inc ecx
movzx edx, cx
push 6
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x450323
push edi
push eax
push ebx
call fcn.004216fe
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x450323
movzx edi, word [ebx]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4502aa
push edi
lea ecx, [ebp - 0x10]
call fcn.0042151d
mov esi, dword [ebp - 0x10]
movzx eax, word [ebx]
add ebx, 2
mov dword [ebp - 0x18], ebx
cmp eax, 0xffffffff
jne 0x4502c2
push ebx
call fcn.004ab8ea
add esp, 4
inc eax
mov ecx, dword [ebp - 0x18]
add eax, eax
push eax
push ecx
lea ebx, [edi + edi]
push ebx
push esi
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x44ff0d.1
movzx edx, byte [eax + 0x450618]
jmp dword [edx*4 + 0x450608]
test edi, edi
jl 0x44fdfc
cmp edi, dword [esi - 8]
jg 0x44fdfc
xor eax, eax
mov dword [esi - 0xc], edi
mov word [ebx + esi], ax
jmp 0x450323
xor eax, eax
jmp 0x450316
push edi
call fcn.004ab8ea
add esp, 4
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.00423f13
mov esi, dword [ebp - 0x10]
push esi
lea ecx, [ebp - 0x14]
push str._r_n__s__r_n
mov bl, 0xa
push ecx
mov byte [ebp - 4], bl
call fcn.00421632
mov edi, dword [ebp - 0x14]
mov eax, edi
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450342
mov ecx, dword [0x50a0f4]
sub eax, edx
push 0
sar eax, 1
lea edx, [ebp - 0x1c]
push edx
add eax, eax
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [0x50a0f8]
test eax, eax
je 0x4503cc
mov edx, dword [ebp + 0x10]
push 0
push edx
push 0x50a0fc
push 0x20006
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4503cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.RegDiff_PostScan_ExportTitle:_failed_creating_ExportHive_SubKey__s__LE_d
call fcn.0042341f
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.General
mov byte [ebp - 4], 0xb
call fcn.0042341f
push 1
mov byte [ebp - 4], bl
call fcn.0046b810
add esp, 0x14
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4503dc
push eax
call fcn.004ac035
add esp, 4
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4503fc
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45041c
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 0x45043f
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 0x450465
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