Function at 0x434540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fbf8
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4ce4bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x4d6dc4]
mov edx, dword [eax + edx*4]
mov eax, dword [0x4d5610]
cmp eax, dword [edx + 4]
jg 0x434d5d
xor eax, eax
cmp byte [0x4d5908], al
mov dword [ebp - 0x84], eax
mov word [ebp - 0x80], ax
mov eax, 1
je 0x4345d9
mov cx, word [0x4d560e]
mov word [ebp - 0x84], ax
mov eax, dword [0x4d560c]
mov word [ebp - 0x80], cx
movzx ecx, cx
mov word [ebp - 0x82], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.0045bdc0
add esp, 0xc
lea esi, [ebx + 0x88]
mov dword [ebp - 4], 1
push esi
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.00435680
mov eax, dword [ebx]
mov ecx, ebx
mov byte [ebp - 4], 2
mov edx, dword [eax + 0x20]
movzx eax, byte [esi]
push eax
call edx
mov esi, eax
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [eax + 1]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
push edi
push 0
push str.SoftwarekingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434680
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x5c], 4
push eax
push 0
push 0
push str.useBmpSplashCache
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x64]
test eax, eax
cmove edi, dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x434705
xor eax, eax
mov dword [ebp - 0x78], eax
mov word [ebp - 0x74], ax
cmp byte [0x4d5908], al
je 0x4346b6
mov eax, 1
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x76]
push eax
push 0x4ac4ac
push str.useAutoBmpSplashCache
push 1
call fcn.0045bda0
add esp, 0x14
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
push esi
mov ecx, ebx
call fcn.00436430
cmp dword [ebp - 0x18], 0
je 0x4346e3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00433300
add esp, 4
mov dword [ebx + 0x40], eax
cmp byte [0x4d5908], 0
mov byte [ebp - 4], 5
je 0x434701
push dword [ebp - 0x74]
push dword [ebp - 0x76]
push dword [ebp - 0x78]
call fcn.0045be00
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebx + 0x40], 0
jne 0x434b49
push 0
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 1
push eax
lea eax, [ebx + 0x3c]
mov dword [ebp - 0xd8], 0
push eax
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
call sub.gdiplus.dll_GdiplusStartup
cmp dword [esi + 0x14], 8
jb 0x434751
mov esi, dword [esi]
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], vtable.Gdiplus::Image.0
push eax
push esi
mov dword [ebp - 0x94], 0
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x94]
mov dword [ebp - 0x68], 0
call sub.gdiplus.dll_GdipGetImageWidth
mov ecx, dword [ebp - 0x90]
test eax, eax
mov dword [ebp - 0x64], 0
cmovne ecx, eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x94]
mov dword [ebp - 0x90], ecx
call sub.gdiplus.dll_GdipGetImageHeight
mov ecx, dword [ebp - 0x90]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x90], ecx
mov ecx, ebx
call fcn.00436dd0
mov eax, dword [ebx + 0x1c]
mov esi, dword [ebp - 0x64]
sub eax, esi
mov ecx, dword [ebx + 0x18]
mov edi, dword [ebp - 0x68]
sub ecx, edi
push 0
push dword [ebx + 4]
shr eax, 1
push 0
push 0
push esi
push edi
push eax
shr ecx, 1
push ecx
push 0x10000000
push 0
push str.KHostSplashShow
push 0x80088
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [ebx + 0x14], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0x26200a
push 0
push esi
push edi
mov dword [ebp - 0xec], 0x4aca68
mov dword [ebp - 0x60], 0
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
push ecx
push eax
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov esi, eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xcc], eax
push dword [ebp - 0x64]
mov byte [ebp - 4], 8
push edi
push 0
push 0
push dword [ebp - 0x94]
push eax
call sub.gdiplus.dll_GdipDrawImageRectI
test eax, eax
cmovne esi, eax
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x88], esi
mov dword [ebp - 0xc8], esi
je 0x43496e
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x9c]
lea eax, [ebp - 0x58]
mov dword [ebp - 0xfc], 0x4aca68
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
mov dword [ebp - 0x9c], 0
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov edi, dword [ebp - 0x9c]
mov esi, eax
mov dword [ebp - 0xf8], edi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 9
push eax
push edi
mov dword [ebp - 0x5c], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
mov dword [ebp - 0x70], 0
cmovne esi, eax
lea eax, [ebp - 0x70]
push eax
push edi
call sub.gdiplus.dll_GdipGetImageHeight
push dword [ebp - 0x70]
test eax, eax
mov ecx, ebx
push dword [ebp - 0x5c]
cmovne esi, eax
lea eax, [ebp - 0xbc]
push eax
mov dword [ebp - 0xf4], esi
call fcn.004330a0
mov edx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb8]
sub edx, esi
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb4]
push edx
sub eax, ecx
push eax
push esi
push ecx
push edi
push dword [ebp - 0x6c]
call sub.gdiplus.dll_GdipDrawImageRectI
mov esi, dword [ebp - 0x88]
test eax, eax
push edi
cmovne esi, eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x88], esi
mov dword [ebp - 0xc8], esi
call sub.gdiplus.dll_GdipDisposeImage
movzx eax, byte [ebx + 0x88]
mov ecx, ebx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00436900
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 0xa
je 0x434a2c
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x5c], 0
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov edi, dword [ebp - 0x5c]
lea eax, [ebp - 0x70]
push eax
push edi
mov dword [ebp - 0x70], 0
call sub.gdiplus.dll_GdipGetImageWidth
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
push eax
push edi
call sub.gdiplus.dll_GdipGetImageHeight
cmp byte [ebx + 0x30], 0
fld1
je 0x4349e7
fld qword [ebx + 0x28]
fcompi st(1)
jbe 0x4349e7
fstp st(0)
fld qword [0x4ad870]
fld qword [0x4ad898]
fmul st(1)
call fcn.00499c20
fmul qword [0x4ad8a8]
mov esi, eax
call fcn.00499c20
push dword [ebp - 0x5c]
push dword [ebp - 0x70]
push eax
push esi
mov esi, dword [ebp - 0x6c]
push edi
push esi
call sub.gdiplus.dll_GdipDrawImageRectI
mov ecx, dword [ebp - 0x88]
test eax, eax
push edi
cmovne ecx, eax
mov dword [ebp - 0xc8], ecx
call sub.gdiplus.dll_GdipDisposeImage
jmp 0x434a2f
mov esi, dword [ebp - 0x6c]
push 0
lea edi, [ebx + 0x40]
push edi
push dword [ebp - 0x60]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
push dword [edi]
mov ecx, dword [ebp - 0xe4]
test eax, eax
mov edi, dword [ebp - 0x74]
cmovne ecx, eax
push edi
mov dword [ebp - 0xe4], ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x68]
push 2
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x7c], 0x1ff0000
push eax
push edi
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa4], 0
push eax
push 0
push 0
push dword [ebx + 0x14]
mov dword [ebp - 0xa0], 0
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [ebx + 0x70]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x434acd
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404580
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x434b0d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434b03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x434b03
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
push esi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call sub.gdiplus.dll_GdipDeleteGraphics
push dword [ebp - 0x60]
call sub.gdiplus.dll_GdipDisposeImage
push dword [ebp - 0x94]
mov dword [ebp - 0x98], vtable.Gdiplus::Image.0
call sub.gdiplus.dll_GdipDisposeImage
jmp 0x434c65
cmp dword [ebx + 0x84], 8
lea edx, [ebx + 0x70]
jb 0x434b58
mov edx, dword [ebx + 0x70]
xor eax, eax
mov dword [ebx + 0x80], 0
mov word [edx], ax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc4]
push eax
push 0x18
push dword [ebx + 0x40]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, ebx
call fcn.00436dd0
mov eax, dword [ebx + 0x18]
mov edi, dword [ebp - 0xc0]
sub eax, edi
mov ecx, dword [ebp - 0xbc]
push 0
push dword [ebx + 4]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebx + 0x1c]
push 0
push 0
sub eax, ecx
sar esi, 1
push ecx
cdq
push edi
sub eax, edx
sar eax, 1
push eax
push esi
push 0x10000000
push 0
push str.KHostSplashShow
push 0x80088
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [ebx + 0x14], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x40]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0xc0]
lea eax, [ebp - 0x60]
mov edx, dword [ebp - 0xbc]
push 2
push eax
push 0
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa4], ecx
push eax
push esi
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa0], edx
push eax
push 0
push 0
push dword [ebx + 0x14]
mov dword [ebp - 0x60], 0x1ff0000
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0xa
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x434cb3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434ca9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434cf7
push edx
push ecx
call fcn.004991fe
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x434d07
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434cfd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x434cfd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xb
cmp byte [0x4d5908], al
je 0x434d41
push dword [ebp - 0x80]
push dword [ebp - 0x82]
push dword [ebp - 0x84]
call fcn.0045be00
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049920c
mov esp, ebp
pop ebp
ret
push 0x4d5610
call fcn.004995cf
add esp, 4
cmp dword [0x4d5610], 0xffffffff
jne 0x434590
push 0x4ac4ac
push str.KHostSplashShow::createWindow
mov ecx, 0x4d560c
mov dword [ebp - 4], 0
call fcn.0045b1e0
push 0x4d5610
mov dword [ebp - 4], 0xffffffff
call fcn.00499585
add esp, 4
jmp 0x434590