Function at 0x433340
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b53d
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x5da084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x90], edx
mov edi, ecx
mov dword [ebp - 0x78], edi
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x94], eax
xor eax, eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], eax
test edx, edx
jne 0x433432
mov ecx, dword [0x5dfbe0]
test ecx, ecx
je 0x433815
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x433815
lea eax, [ebp - 0x144]
push ecx
mov ecx, eax
call fcn.00430ce0
mov dword [ebp - 0xac], str.registry.helper
mov dword [ebp - 0xa8], 1
mov dword [ebp - 0xa4], str.C:jenkins_slaveDailyhotfix7.1.2_metaDesktopWinmain_rebarjura_srcoswinRegistryHelper.cpp
mov dword [ebp - 0xa0], 0x50
mov dword [ebp - 0x9c], str.jura::os::RegistryHelper::SetRegistryKeyValue
mov byte [ebp - 0x98], 1
mov edx, str.Invalid_root_registry_key_given.
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.00416960
lea ecx, [ebp - 0x144]
call fcn.00430bd0
xor al, al
jmp 0x43381b
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push 0x5bf0f8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x28], xmm0
call fcn.0040b8b0
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x28]
push ecx
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00433850
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov dword [ebp - 0x84], edi
cmp ecx, 8
jb 0x4334b3
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4334a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433836
push ecx
push edx
call fcn.0056ebaf
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test edi, edi
je 0x43353f
mov eax, dword [ebp - 0x8c]
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4334db
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4334f5
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0040b8b0
mov edx, dword [ebp - 0x84]
mov eax, 1
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 4], 2
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00433a80
add esp, 4
mov dword [ebp - 0x88], eax
mov edi, eax
jmp 0x433547
xor edi, edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x74]
test al, 1
je 0x4335a9
mov ecx, dword [ebp - 0x2c]
and eax, 0xfffffffe
mov dword [ebp - 0x74], eax
cmp ecx, 8
jb 0x433595
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43358b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43383b
push ecx
push edx
call fcn.0056ebaf
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test edi, edi
je 0x433614
cmp dword [esi + 0x14], 8
jb 0x4335b5
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4335d0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.0040b8b0
mov ecx, dword [ebp - 0x78]
mov edx, edi
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x74]
or eax, 2
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00433a80
add esp, 4
mov dword [ebp - 0x78], eax
mov esi, eax
jmp 0x433619
xor esi, esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x74]
test al, 2
je 0x433675
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x433661
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433657
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433840
push ecx
push edx
call fcn.0056ebaf
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
test esi, esi
je 0x4336d3
mov edi, dword [ebp - 0x94]
cmp dword [edi + 0x14], 8
jb 0x43369f
mov ecx, dword [edi]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433690
mov edi, dword [edi]
jmp 0x4336af
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4336a4
sub ecx, edx
mov edx, dword [ebp - 0x7c]
sar ecx, 1
cmp dword [edx + 0x14], 8
jb 0x4336be
mov edx, dword [edx]
lea eax, [ecx + ecx]
push eax
push edi
push 1
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
jmp 0x4336d5
xor edi, edi
mov eax, dword [ebp - 0x84]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4336e8
push eax
call esi
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x4336f2
push eax
call esi
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x4336ff
push eax
call esi
test edi, edi
je 0x433819
mov ecx, dword [0x5dfbe0]
test ecx, ecx
je 0x433815
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x433815
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x70]
call fcn.00430e10
mov esi, eax
push ecx
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 4], 4
call fcn.00430ce0
mov dword [ebp - 0x15c], str.registry.helper
mov dword [ebp - 0x158], 1
mov dword [ebp - 0x154], str.C:jenkins_slaveDailyhotfix7.1.2_metaDesktopWinmain_rebarjura_srcoswinRegistryHelper.cpp
mov dword [ebp - 0x150], 0x62
mov dword [ebp - 0x14c], str.jura::os::RegistryHelper::SetRegistryKeyValue
mov byte [ebp - 0x148], 1
push dword [ebp - 0x90]
mov edx, str.Failed_to_set_registry_entry:
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1f4]
call fcn.00416960
mov ecx, eax
call fcn.004288c0
mov edx, str.__key:
mov ecx, eax
call fcn.00416960
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x4337b9
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00417a10
add esp, 4
mov edx, str.._Error_code_is
mov ecx, eax
push edi
call fcn.00416960
mov ecx, eax
call fcn.00428a30
lea ecx, [ebp - 0x1f4]
call fcn.00430bd0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x433815
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43380b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433845
push ecx
push edx
call fcn.0056ebaf
add esp, 8
xor al, al
jmp 0x43381b
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056eb71
mov esp, ebp
pop ebp
ret
call fcn.00578112
call fcn.00578112
call fcn.00578112
call fcn.00578112
int3