Function at 0x4765d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x13a8]
mov eax, 0x13a8
call fcn.006222c0
push 0xffffffffffffffff
push 0x64c70e
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x13a4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0xa4]
call fcn.0052ca10
mov byte [ebp - 4], 1
lea ecx, [esi + 0x5d0]
call fcn.0043b7f0
test eax, eax
setne al
mov byte [ebp - 0x30], al
lea ecx, [ebp - 0xa4]
call fcn.005f6e33
cmp eax, 1
jne 0x476794
lea ecx, [ebp - 0x18]
call fcn.004024f0
mov byte [ebp - 4], 2
mov bl, byte [ebp + 0x13b0]
lea edx, [ebp + 0x1384]
test bl, bl
je 0x4766b2
mov ecx, str..txt
jmp 0x476680
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x476680
mov ecx, dword [0x75eee8]
push ecx
mov edx, dword [0x75ef48]
push edx
push str._s__.txt_.txt_s__._.
lea eax, [ebp - 0x18]
push eax
call fcn.00402f60
add esp, 0x10
jmp 0x4766e0
mov ecx, str..ef2
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x4766b7
mov ecx, dword [0x75ef4c]
push ecx
push str._s__.ef2_.ef2
lea edx, [ebp - 0x18]
push edx
call fcn.00402f60
add esp, 0xc
push esi
mov eax, dword [ebp - 0x18]
push eax
push 6
push 0
lea ecx, [ebp + 0x1384]
push ecx
push 0
lea ecx, [ebp]
call fcn.00424a40
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], 0x410
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp + 0xf74]
push eax
push 0
push 0
push str.ExpImpIniPath
mov ecx, dword [0x75dbe4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x47674d
mov eax, dword [0x75dc94]
test eax, eax
jne 0x476738
mov eax, 0x75dc98
push 0x104
push eax
lea edx, [ebp + 0xf74]
push edx
call fcn.0062450d
add esp, 0xc
lea eax, [ebp + 0xf74]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x476756
sub eax, edx
sar eax, 1
je 0x476770
lea eax, [ebp + 0xf74]
mov dword [ebp + 0x30], eax
lea ecx, [ebp]
call fcn.00424300
cmp eax, 1
je 0x4767a8
mov byte [ebp - 4], 2
mov dword [ebp], vtable.MyCFileDialogA.0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.00456750
jmp 0x476a13
push 0x104
lea ecx, [ebp]
call fcn.00424380
push eax
lea ecx, [ebp + 0xf74]
push ecx
call fcn.0062450d
push 0x5c
lea edx, [ebp + 0xf74]
push edx
call fcn.006206a1
add esp, 0x14
test eax, eax
je 0x476816
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0xf74]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4767e5
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp + 0xf74]
push eax
push 1
push 0
push str.ExpImpIniPath
mov ecx, dword [0x75dbe4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x14]
call fcn.004024f0
mov byte [ebp - 4], 4
push 1
lea ecx, [ebp]
call fcn.00424380
push eax
lea ecx, [ebp + 0xb68]
call fcn.0054b490
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
sub eax, 0
je 0x476934
sub eax, 1
je 0x4768b5
sub eax, 1
jne 0x4769ac
mov edx, dword [esi + 0x234]
mov ebx, dword [edx + 8]
xor edi, edi
mov dword [ebp - 0x24], edi
cmp edi, ebx
jge 0x4769ac
push edi
mov ecx, dword [esi + 0x234]
call fcn.004cf7d0
cmp byte [ebp + 0x13b0], 0
je 0x4768a4
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [eax]
add edx, 0x20
push edx
mov ecx, esi
call fcn.004566d0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp + 0xb68]
call fcn.0054b2d0
inc edi
jmp 0x476861
mov ecx, dword [eax]
push ecx
lea ecx, [ebp + 0xb68]
call fcn.0054ba10
inc edi
jmp 0x476861
lea edi, [esi + 0x5d0]
mov ecx, edi
call fcn.00454630
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4769ac
lea edx, [ebp - 0x1c]
push edx
mov ecx, edi
call fcn.00454650
push eax
mov ecx, edi
call fcn.00601037
push eax
mov ecx, dword [esi + 0x234]
call fcn.0045eed0
test eax, eax
jl 0x4768c5
push eax
mov ecx, dword [esi + 0x234]
call fcn.004cf7d0
test bl, bl
je 0x476924
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [eax]
add edx, 0x20
push edx
mov ecx, esi
call fcn.004566d0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp + 0xb68]
call fcn.0054b2d0
jmp 0x4768c5
mov ecx, dword [eax]
push ecx
lea ecx, [ebp + 0xb68]
call fcn.0054ba10
jmp 0x4768c5
mov eax, dword [0x75e260]
test eax, eax
je 0x4769ac
cmp dword [eax + 0x1c], 0
je 0x4769ac
jle 0x4769cc
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
mov edi, dword [eax + 4]
test edi, edi
je 0x4769ac
mov eax, edi
mov edi, dword [edi]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [esi + 0x234]
call fcn.0045eed0
test eax, eax
jl 0x476951
push eax
mov ecx, dword [esi + 0x234]
call fcn.004cf7d0
mov eax, dword [eax]
test bl, bl
je 0x47699e
lea edx, [ebp - 0x14]
push edx
add eax, 0x20
push eax
mov ecx, esi
call fcn.004566d0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp + 0xb68]
call fcn.0054b2d0
jmp 0x476951
push eax
lea ecx, [ebp + 0xb68]
call fcn.0054ba10
jmp 0x476951
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xb68]
call fcn.0054b220
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00402560
jmp 0x47677d
call fcn.005f4f65
push 1
push str.Unknown_error_during_CDownloaderDlg::ExportListToFile___n
mov ecx, dword [ebp - 0x20]
add ecx, 0x15c0
call fcn.004c1d70
mov dword [ebp - 4], 0xffffffff
mov eax, 0x4769f3
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x13a4]
xor ecx, ebp
call fcn.00620b8d
add ebp, 0x13a8
mov esp, ebp
pop ebp
ret 4