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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x671699
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x718924]
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 - 0x344], ebx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x354], 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.00451440
lea ecx, [ebx + 0x50]
mov dword [ebp - 4], 0
push esi
call fcn.00451440
cmp dword [esi + 0x10], 0
mov byte [ebp - 4], 1
jne 0x4c5406
lea eax, [ebp - 0x2d4]
push 1
push eax
call fcn.004b06b0
push str._addonskdcsdkkdcsdk.dll
push eax
lea eax, [ebp - 0x2ec]
mov byte [ebp - 4], 2
push eax
call fcn.004481e0
add esp, 0x14
lea ecx, [ebx + 0x50]
push eax
call fcn.00449600
lea ecx, [ebp - 0x2ec]
call fcn.00448fb0
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 1
call fcn.00448fb0
cmp dword [ebx + 0x64], 8
lea eax, [ebx + 0x50]
jb 0x4c5411
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 0x4c54bf
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 0x4c5be0
mov ecx, ebx
call fcn.004c7fa0
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x350], eax
jne 0x4c55ce
call fcn.004afcf0
push 0x10
test al, al
je 0x4c557c
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.0044e920
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2bc]
push eax
call fcn.004aee70
mov edx, dword [ebp - 0x268]
add esp, 8
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4c55a9
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c5570
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c5c00
push edx
push ecx
call fcn.004cb4db
add esp, 8
jmp 0x4c55a9
xor eax, eax
mov dword [ebp - 0x2ac], 0
push str.55c7e27bb603a2fb
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2a8], 7
mov word [ebp - 0x2bc], ax
call fcn.0044e920
mov eax, dword [ebp - 0x338]
lea ecx, [ebp - 0x2bc]
or eax, 3
cmp dword [ebp - 0x2a8], 8
cmovae ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x34c], ecx
jmp 0x4c55e2
cmp dword [edi + 0x14], 8
jb 0x4c55d6
mov edi, dword [edi]
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x34c], edi
or eax, 4
mov dword [ebp - 4], 5
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 [0x68970c]
mov dword [ebp - 0x270], eax
mov eax, dword [0x689710]
mov dword [ebp - 0x26c], eax
mov ax, word [0x689714]
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x33c]
push eax
push 0x20019
push 0
mov word [ebp - 0x2a4], cx
lea eax, [ebp - 0x58]
push eax
mov ecx, 0x12
mov dword [ebp - 0x294], 0
rep movsd dword es:[edi], dword [esi]
push 0x80000001
mov dword [ebp - 0x290], 7
mov dword [ebp - 0x33c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c570e
push 0x20a
push eax
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x264]
push eax
mov dword [ebp - 0x348], 0x208
call fcn.004e30c0
add esp, 0xc
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x344]
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 0x4c5702
lea ecx, [ebp - 0x264]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c56e0
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2a4]
call fcn.0044e920
push dword [ebp - 0x33c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x334]
push eax
call fcn.004c7cc0
mov edi, eax
lea eax, [ebp - 0x31c]
mov byte [ebp - 4], 6
push eax
call fcn.004c7b80
mov esi, 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 0x721f30
mov byte [ebp - 4], 8
call fcn.004c4a40
mov ecx, dword [ebp - 0x14]
add esp, 0x10
mov byte [ebp - 4], 7
test ecx, ecx
je 0x4c5770
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 [0x721f30]
lea ecx, [ebp - 0x2ec]
call fcn.00451440
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 0x721f10
mov byte [ebp - 4], 0xa
call fcn.004c4a40
mov ecx, dword [ebp - 0x268]
add esp, 8
mov byte [ebp - 4], 9
test ecx, ecx
je 0x4c57ea
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 [0x721f10]
lea ecx, [ebp - 0x2d4]
call fcn.00451440
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], 0xb
push eax
call fcn.004b2150
push str.wpsdcsdk
push eax
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0xc
push eax
call fcn.004481e0
add esp, 0x10
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x4c5874
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c586a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c5c05
push edx
push ecx
call fcn.004cb4db
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [0x7188e0], 0
mov ecx, 0x7188d0
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.00451440
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], 0xb
cmp edx, 8
jb 0x4c5902
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c58f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c5c05
push edx
push ecx
call fcn.004cb4db
add esp, 8
cmp dword [0x718900], 0xffffffff
mov byte [ebp - 4], 0xf
jne 0x4c5a46
push 1
xor eax, eax
mov dword [ebp - 0x26c], 0
push 0x674958
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.0044e920
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0x10
push eax
push str.debugmode
push dword [0x7188b0]
push 0x80000001
call fcn.004c7a60
add esp, 0x10
test eax, eax
je 0x4c59db
push 1
push 3
lea ecx, [ebp - 0x10c]
call fcn.004c5170
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], 0x11
push eax
call fcn.004a4420
mov eax, dword [0x718900]
lea ecx, [ebp - 0x10c]
add esp, 0xc
mov dword [ebp - 0x33c], eax
lea eax, [ebp - 0x33c]
push eax
call fcn.004c4ab0
mov eax, dword [ebp - 0x33c]
lea ecx, [ebp - 0x10c]
mov dword [0x718900], eax
call fcn.004a63c0
jmp 0x4c59e5
mov dword [0x718900], 0
mov edx, dword [ebp - 0x268]
mov byte [ebp - 4], 0xf
cmp edx, 8
jb 0x4c5a29
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c5a1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c5c0a
push edx
push ecx
call fcn.004cb4db
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
cmp dword [0x718900], 0
lea eax, [ebp - 0x2a4]
setne byte [ebp - 0x344]
cmp dword [ebp - 0x290], 8
cmovae eax, dword [ebp - 0x2a4]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x348], eax
jb 0x4c5a76
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x4c5a7e
mov esi, dword [esi]
push dword [ebp - 0x344]
cmp dword [ebp - 0x2d8], 8
lea edx, [ebp - 0x2ec]
push dword [ebp - 0x350]
cmovae edx, dword [ebp - 0x2ec]
lea ecx, [ebp - 0x2d4]
push dword [ebp - 0x348]
cmp dword [ebp - 0x2c0], 8
lea eax, [ebp - 0x304]
push edi
cmovae ecx, dword [ebp - 0x2d4]
cmp dword [ebp - 0x2f0], 8
push esi
cmovae eax, dword [ebp - 0x304]
push edx
push ecx
push dword [ebp - 0x34c]
push eax
mov eax, dword [ebx + 4]
call eax
lea ecx, [ebp - 0x304]
call fcn.00448fb0
lea ecx, [ebp - 0x2d4]
call fcn.00448fb0
lea ecx, [ebp - 0x2ec]
call fcn.00448fb0
lea ecx, [ebp - 0x31c]
call fcn.00448fb0
lea ecx, [ebp - 0x334]
call fcn.00448fb0
mov eax, dword [ebp - 0x338]
mov edx, dword [ebp - 0x290]
and eax, 0xfffffffb
mov dword [ebp - 0x338], eax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x4c5b6c
mov ecx, dword [ebp - 0x2a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c5b5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c5c0f
push edx
push ecx
call fcn.004cb4db
mov eax, dword [ebp - 0x338]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 7
mov word [ebp - 0x2a4], cx
mov dword [ebp - 4], 1
test al, 1
je 0x4c5bd0
mov edx, dword [ebp - 0x2a8]
cmp edx, 8
jb 0x4c5bd0
mov ecx, dword [ebp - 0x2bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c5bc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c5c0f
push edx
push ecx
call fcn.004cb4db
add esp, 8
mov eax, dword [ebp - 0x350]
test eax, eax
je 0x4c5be0
mov ecx, dword [ebx + 0x1c]
push eax
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.004cb998
mov esp, ebp
pop ebp
ret 0xc
call fcn.004e6589
call fcn.004e6589
call fcn.004e6589
call fcn.004e6589
int3