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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5578e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8d0
xor eax, eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push esi
push edi
mov ebx, ecx
test al, al
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ebx
lea edx, [ebp - 0x38]
je 0x439591
mov edi, str..txt
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x5c7dc8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x4d0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x5c7e28]
push ecx
push edx
push str._s__.txt_.txt_s__._.
push eax
call fcn.00527718
add esp, 0x10
jmp 0x4395ce
mov edi, str..ef2
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x4d0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x5c7dc4]
push ecx
push str._s__.ef2__.ief_.ef2_.ief
push edx
call fcn.00527718
add esp, 0xc
lea eax, [ebp - 0x4d0]
push ebx
push eax
push 0x1004
lea ecx, [ebp - 0x38]
push 0
push ecx
push 1
lea ecx, [ebp - 0x338]
call fcn.0053b0a5
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x439710
mov ecx, dword [0x5c74b0]
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x140]
push edx
push eax
push 0
push 0
push str.ExpImpIniPath
push ecx
mov dword [ebp - 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43965a
mov edi, dword [0x5c7380]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x140]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x140]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x439678
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x2b0], ecx
lea ecx, [ebp - 0x338]
call fcn.0053b207
cmp eax, 1
je 0x439691
mov byte [ebp - 4], 2
jmp 0x439b33
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x338]
push edx
call fcn.0053b2e2
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x140]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x2c]
call fcn.005421be
lea ecx, [ebp - 0x140]
push 0x5c
push ecx
call fcn.00526d20
add esp, 8
test eax, eax
je 0x439710
mov byte [eax], 0
lea edi, [ebp - 0x140]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edx, [ebp - 0x140]
push ecx
push edx
push 1
push eax
mov eax, dword [0x5c74b0]
push str.ExpImpIniPath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor esi, esi
mov dword [ebp - 0x28], 0x5694f4
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 3
je 0x43973e
mov eax, edx
jmp 0x43975a
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x338]
call fcn.0053b2e2
mov dword [ebp - 0x14], 1
mov eax, dword [eax]
mov byte [ebp - 4], 4
push esi
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.0054222c
lea ecx, [ebp - 0x8dc]
call fcn.004c8460
mov al, byte [ebp - 0x14]
mov dword [ebp - 4], 6
test al, 1
je 0x439788
lea ecx, [ebp - 0x2c]
call fcn.005421be
mov al, byte [ebp + 8]
test al, al
je 0x4397a0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x8dc]
push edx
call fcn.004c8c60
jmp 0x4397af
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x8dc]
push eax
call fcn.004c87d0
test al, al
jne 0x439827
mov al, byte [ebp + 8]
push 0x10030
test al, al
je 0x4397cf
mov ecx, dword [0x5c80fc]
mov edx, dword [0x5c80f8]
push ecx
push edx
jmp 0x4397dc
mov eax, dword [0x5c80fc]
mov ecx, dword [0x5c80f4]
push eax
push ecx
mov ecx, ebx
call fcn.005401b5
lea ecx, [ebp - 0x8dc]
mov byte [ebp - 4], 3
call fcn.004c85c0
mov dword [ebp - 0x28], 0x569500
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 7
cmp edx, esi
je 0x43981e
mov ecx, dword [ebp - 0x20]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x439815
add eax, 0x10
jmp 0x439809
push edx
call fcn.00542796
add esp, 4
mov byte [ebp - 4], 8
jmp 0x439b33
cmp dword [ebp - 0x20], esi
jne 0x439889
mov edx, dword [0x5c80fc]
mov eax, dword [0x5c80f0]
push 0x10040
push edx
push eax
mov ecx, ebx
call fcn.005401b5
lea ecx, [ebp - 0x8dc]
mov byte [ebp - 4], 3
call fcn.004c85c0
mov dword [ebp - 0x28], 0x569500
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 9
cmp edx, esi
je 0x439880
mov ecx, dword [ebp - 0x20]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x439877
add eax, 0x10
jmp 0x43986b
push edx
call fcn.00542796
add esp, 4
mov byte [ebp - 4], 0xa
jmp 0x439b33
lea ecx, [ebx + 0x640]
push esi
push ecx
lea ecx, [ebp - 0x450]
call fcn.00418730
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x3f0], edx
call fcn.0053e1a5
cmp eax, 1
jne 0x439ad6
mov eax, dword [0x5c2a74]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1c0]
mov byte [ebp - 4], 0xd
mov dword [ebp + 8], esi
mov eax, dword [eax + 8]
mov dword [ebx + 0x1ec], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jge 0x439a1f
mov eax, dword [ebp - 0x24]
mov edx, ecx
shl edx, 4
mov esi, dword [edx + eax]
test esi, esi
je 0x439a17
lea ecx, [ebp + 0xc]
push 0
push ecx
lea ecx, [esi + 0x20]
call fcn.004ea0e0
mov edx, dword [esi + 0x38]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x1c0]
push 0
push edx
push eax
call fcn.00447550
mov edi, eax
test edi, edi
jl 0x43998d
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, ebx
call fcn.004423b0
test eax, eax
je 0x439a07
cmp eax, 3
jne 0x43995d
mov ecx, esi
call fcn.004ff780
push esi
call fcn.00542796
add esp, 4
mov ecx, ebx
push edi
call fcn.00442540
inc dword [ebp + 8]
jmp 0x4398de
cmp eax, 2
jne 0x43998d
mov edx, dword [ebx + 0x1c0]
shl edi, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + edi]
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x43998d
push eax
lea edx, [esi + 0x1e8]
push 0x5a3e24
push edx
call fcn.0053afda
add esp, 0xc
mov eax, dword [esi + 0x54]
lea ecx, [ebp - 0x14]
push eax
call fcn.00542347
lea ecx, [ebp - 0x14]
push 1
push ecx
mov ecx, dword [ebx + 0x1c0]
push esi
call fcn.00447b20
cmp eax, 2
je 0x439a07
mov ecx, dword [ebx + 0x1c0]
push esi
call fcn.004477f0
test eax, eax
jl 0x439a07
push esi
lea ecx, [ebx + 0x1cc]
call fcn.0049ded0
push 1
push 0
mov ecx, esi
call fcn.00504a30
mov ecx, dword [0x5c7574]
test ecx, ecx
je 0x4399ef
mov edx, dword [esi + 0x420]
push edx
push 1
call fcn.004a4930
push 1
push 0
push esi
lea ecx, [ebx + 0x458]
call fcn.00463fe0
inc dword [ebp + 8]
jmp 0x4398de
mov ecx, esi
call fcn.004ff780
push esi
call fcn.00542796
add esp, 4
inc dword [ebp + 8]
jmp 0x4398de
mov eax, dword [ebx + 0x1fc]
test eax, eax
je 0x439a31
push eax
mov ecx, ebx
call fcn.0043b860
push 0
push 0
push 0
push 0xfffffffffffffffe
push ebx
push 0x42aa40
call fcn.005428e4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.005421be
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xb
call fcn.005421be
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x28]
call fcn.004298a0
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0x12
call fcn.0053c240
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0x11
call fcn.00549f48
lea ecx, [ebp - 0x3ec]
mov byte [ebp - 4], 0x10
call fcn.00549f48
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 6
call fcn.0053dde6
lea ecx, [ebp - 0x8dc]
mov byte [ebp - 4], 3
call fcn.004c85c0
mov dword [ebp - 0x28], 0x569500
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0x13
test edx, edx
je 0x439b2f
mov ecx, dword [ebp - 0x20]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x439b26
add eax, 0x10
jmp 0x439aca
xor edi, edi
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], edi
cmp edi, eax
jge 0x439a5c
mov ecx, dword [ebp - 0x24]
mov eax, edi
shl eax, 4
mov esi, dword [eax + ecx]
test esi, esi
je 0x439b23
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.004ff780
push esi
call fcn.00542796
add esp, 4
mov dword [ebp - 4], 0xb
inc edi
jmp 0x439ad8
inc edi
jmp 0x439ad8
push edx
call fcn.00542796
add esp, 4
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28c]
call fcn.005421be
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0
call fcn.0053dde6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8