Function at 0x543100
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7a6a
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x62819c]
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 dword [ebp - 0x354], ebx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0x340], ecx
mov dword [ebp - 0x338], ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], ecx
mov byte [ebx + 0x34], cl
lea ecx, [ebx + 0x38]
push eax
call fcn.0043e510
lea ecx, [ebx + 0x50]
mov dword [ebp - 4], 0
push esi
call fcn.0043e510
cmp dword [esi + 0x10], 0
mov byte [ebp - 4], 1
jne 0x5431e6
lea eax, [ebp - 0x2ec]
push 1
push eax
call fcn.00513660
push str._addonskdcsdkkdcsdk.dll
push eax
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 2
push eax
call fcn.0043de00
add esp, 0x14
lea ecx, [ebx + 0x50]
push eax
call fcn.00440200
lea ecx, [ebp - 0x2a4]
call fcn.0042a1f0
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 1
call fcn.0042a1f0
cmp dword [ebx + 0x64], 8
lea eax, [ebx + 0x50]
jb 0x5431f1
mov eax, dword [eax]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebx], eax
test eax, eax
je 0x54329f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.dc_Init
push eax
call esi
push str.dc_Uninit
push dword [ebx]
mov dword [ebx + 4], eax
call esi
push str.dc_SendAppStartInfoc
push dword [ebx]
mov dword [ebx + 8], eax
call esi
push str.dc_SendAppEndInfoc
push dword [ebx]
mov dword [ebx + 0xc], eax
call esi
push str.dc_UpdateAccountID
push dword [ebx]
mov dword [ebx + 0x10], eax
call esi
push str.dc_CreateDataHandle
push dword [ebx]
mov dword [ebx + 0x14], eax
call esi
push str.dc_CloseDataHandle
push dword [ebx]
mov dword [ebx + 0x18], eax
call esi
push str.dc_AddKeyValue
push dword [ebx]
mov dword [ebx + 0x1c], eax
call esi
push str.dc_SendCommonEventInfoc
push dword [ebx]
mov dword [ebx + 0x20], eax
call esi
push str.dc_SendCountEventInfoc
push dword [ebx]
mov dword [ebx + 0x24], eax
call esi
push str.dc_CheckABTestTagExist
push dword [ebx]
mov dword [ebx + 0x28], eax
call esi
push str.dc_SetInfocCallback
push dword [ebx]
mov dword [ebx + 0x2c], eax
call esi
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x34], 1
cmp dword [ebx + 4], 0
je 0x543aa0
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x543383
cmp dword [ebx + 0x20], 0
je 0x543383
call eax
cmp dword [ebx + 0x4c], 8
mov esi, eax
lea eax, [ebx + 0x38]
mov dword [ebp - 0x34c], esi
jb 0x5432d3
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x20]
push str._module
push esi
call eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.00545290
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 3
jb 0x5432fa
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x20]
push str._hdid
push esi
call eax
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 1
call fcn.0042a1f0
lea eax, [ebp - 0x2a4]
push eax
call fcn.005451f0
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 4
jb 0x543330
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x20]
push str._guid
push esi
call eax
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 1
call fcn.0042a1f0
lea eax, [ebp - 0x2a4]
push eax
call fcn.00545330
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 5
jb 0x543366
mov eax, dword [eax]
push eax
mov eax, dword [ebx + 0x20]
push str._uuid
push esi
call eax
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 1
call fcn.0042a1f0
jmp 0x54338d
mov dword [ebp - 0x34c], 0
cmp dword [edi + 0x10], 0
jne 0x543485
call fcn.00512d80
push 0x10
test al, al
je 0x543433
xor eax, eax
mov dword [ebp - 0x26c], 0
push str.Product_DcAppKey
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.0042daa0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x2d4]
push eax
call fcn.00511f00
mov edx, dword [ebp - 0x268]
add esp, 8
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x543460
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x543427
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x543ac0
push edx
push ecx
call fcn.00546044
add esp, 8
jmp 0x543460
xor eax, eax
mov dword [ebp - 0x2c4], 0
push str.55c7e27bb603a2fb
lea ecx, [ebp - 0x2d4]
mov dword [ebp - 0x2c0], 7
mov word [ebp - 0x2d4], ax
call fcn.0042daa0
mov eax, dword [ebp - 0x338]
lea ecx, [ebp - 0x2d4]
or eax, 3
cmp dword [ebp - 0x2c0], 8
cmovae ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x350], ecx
jmp 0x543499
cmp dword [edi + 0x14], 8
jb 0x54348d
mov edi, dword [edi]
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x350], edi
or eax, 4
mov dword [ebp - 4], 8
mov dword [ebp - 0x338], eax
lea edi, [ebp - 0x58]
mov dword [ebp - 0x340], eax
xor ecx, ecx
mov eax, dword [str.userid]
mov esi, str.Softwarekingsoftwpsclouduserinfo
mov dword [ebp - 0x274], eax
mov eax, dword [0x5c1014]
mov dword [ebp - 0x270], eax
mov eax, dword [0x5c1018]
mov dword [ebp - 0x26c], eax
mov ax, word [0x5c101c]
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x33c]
push eax
push 0x20019
push 0
mov word [ebp - 0x2bc], cx
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x12
mov dword [ebp - 0x2ac], 0
rep movsd dword es:[edi], dword [esi]
push 0x80000001
mov dword [ebp - 0x2a8], 7
mov dword [ebp - 0x33c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5435c2
push 0x20a
push eax
mov dword [ebp - 0x348], eax
lea eax, [ebp - 0x264]
push eax
mov dword [ebp - 0x344], 0x208
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x348]
push eax
push 0
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 0x33c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5435b6
lea ecx, [ebp - 0x264]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x543594
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2bc]
call fcn.0042daa0
push dword [ebp - 0x33c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x334]
push eax
call fcn.00545330
mov esi, eax
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x31c]
mov byte [ebp - 4], 9
push eax
call fcn.005451f0
mov edi, eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_d4d17516f19ea89c9deded5480b70b22___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______.0
mov dword [ebp - 0x14], eax
push eax
push 0x6338a4
mov byte [ebp - 4], 0xb
call fcn.00542bb0
mov ecx, dword [ebp - 0x14]
add esp, 0x10
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x54362a
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
push dword [0x6338a4]
lea ecx, [ebp - 0x2a4]
call fcn.0043e510
mov eax, dword [ebp - 0x338]
or eax, 8
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x340], eax
lea eax, [ebp - 0x28c]
mov dword [ebp - method.std::_Func_impl_no_alloc_class__lambda_cc16d470d3eb24ed2440897db1c0463b___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______.virtual_0], vtable.std::_Func_impl_no_alloc_class__lambda_cc16d470d3eb24ed2440897db1c0463b___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______.0
mov dword [ebp - 0x268], eax
push eax
push 0x633884
mov byte [ebp - 4], 0xd
call fcn.00542bb0
mov ecx, dword [ebp - 0x268]
add esp, 8
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x5436a4
mov edx, dword [ecx]
lea eax, [ebp - 0x28c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x268], 0
push dword [0x633884]
lea ecx, [ebp - 0x2ec]
call fcn.0043e510
mov eax, dword [ebp - 0x338]
or eax, 0x10
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x340], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
call fcn.00515290
push str.wpsdcsdk
push eax
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0xf
push eax
call fcn.0043de00
add esp, 0x10
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x54372e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x543724
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x543ac5
push edx
push ecx
call fcn.00546044
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [0x628174], 0
mov ecx, 0x628164
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x27c]
cmovne eax, ecx
mov dword [ebp - 0x14], 7
push eax
lea ecx, [ebp - 0x304]
call fcn.0043e510
mov eax, dword [ebp - 0x338]
mov edx, dword [ebp - 0x268]
or eax, 0x20
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x340], eax
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x5437bc
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5437b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x543ac5
push edx
push ecx
call fcn.00546044
add esp, 8
cmp dword [0x628194], 0xffffffff
mov byte [ebp - 4], 0x12
jne 0x543900
push 1
xor eax, eax
mov dword [ebp - 0x26c], 0
push 0x5ad78c
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.0042daa0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0x13
push eax
push str.debugmode
push dword [0x628144]
push 0x80000001
call fcn.005450e0
add esp, 0x10
test eax, eax
je 0x543895
push 1
push 3
lea ecx, [ebp - 0x10c]
call fcn.0051cb40
cmp dword [ebp - 0x268], 8
lea eax, [ebp - 0x27c]
push dword [ebp - 0x26c]
cmovae eax, dword [ebp - 0x27c]
push eax
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x14
push eax
call fcn.00507e40
mov eax, dword [0x628194]
lea ecx, [ebp - 0x10c]
add esp, 0xc
mov dword [ebp - 0x33c], eax
lea eax, [ebp - 0x33c]
push eax
call fcn.00542c20
mov eax, dword [ebp - 0x33c]
lea ecx, [ebp - 0x10c]
mov dword [0x628194], eax
call fcn.00509c10
jmp 0x54389f
mov dword [0x628194], 0
mov edx, dword [ebp - 0x268]
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x5438e3
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5438d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x543aca
push edx
push ecx
call fcn.00546044
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
cmp dword [0x628194], 0
lea eax, [ebp - 0x2bc]
setne byte [ebp - 0x348]
cmp dword [ebp - 0x2a8], 8
cmovae eax, dword [ebp - 0x2bc]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x354], eax
jb 0x543936
mov esi, dword [esi]
mov dword [ebp - 0x344], esi
cmp dword [edi + 0x14], 8
jb 0x54393e
mov edi, dword [edi]
push dword [ebp - 0x348]
mov esi, dword [ebp - 0x34c]
lea edx, [ebp - 0x2a4]
cmp dword [ebp - 0x290], 8
lea ecx, [ebp - 0x2ec]
push esi
push dword [ebp - 0x354]
cmovae edx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x304]
push dword [ebp - 0x344]
cmp dword [ebp - 0x2d8], 8
push edi
cmovae ecx, dword [ebp - 0x2ec]
cmp dword [ebp - 0x2f0], 8
push edx
cmovae eax, dword [ebp - 0x304]
push ecx
push dword [ebp - 0x350]
push eax
mov eax, dword [ebx + 4]
call eax
lea ecx, [ebp - 0x304]
call fcn.0042a1f0
lea ecx, [ebp - 0x2ec]
call fcn.0042a1f0
lea ecx, [ebp - 0x2a4]
call fcn.0042a1f0
lea ecx, [ebp - 0x31c]
call fcn.0042a1f0
lea ecx, [ebp - 0x334]
call fcn.0042a1f0
mov eax, dword [ebp - 0x338]
mov edx, dword [ebp - 0x2a8]
and eax, 0xfffffffb
mov dword [ebp - 0x338], eax
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x543a32
mov ecx, dword [ebp - 0x2bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x543a22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x543acf
push edx
push ecx
call fcn.00546044
mov eax, dword [ebp - 0x338]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 7
mov word [ebp - 0x2bc], cx
mov dword [ebp - 4], 1
test al, 1
je 0x543a96
mov edx, dword [ebp - 0x2c0]
cmp edx, 8
jb 0x543a96
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x543a8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x543acf
push edx
push ecx
call fcn.00546044
add esp, 8
test esi, esi
je 0x543aa0
mov ecx, dword [ebx + 0x1c]
push esi
call ecx
mov eax, ebx
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.00545ec7
mov esp, ebp
pop ebp
ret 0xc
call fcn.00555394
call fcn.00555394
call fcn.00555394
call fcn.00555394
int3