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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e96c8
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x53d9f8]
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 edi, ecx
mov dword [ebp - 0x350], edi
mov dword [ebp - 0x33c], edi
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x354], edi
mov dword [ebp - 0x338], ebx
mov dword [ebp - 0x340], ecx
lea ecx, [edi + 0x38]
push eax
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov byte [edi + 0x34], bl
call fcn.00413820
lea ecx, [edi + 0x50]
mov dword [ebp - 4], ebx
push esi
call fcn.00413820
mov byte [ebp - 4], 1
cmp dword [esi + 0x10], ebx
jne 0x4b4b74
lea eax, [ebp - 0x31c]
push 1
push eax
call fcn.004d8da0
push str._addonskdcsdkkdcsdk.dll
push eax
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 2
push eax
call fcn.00404b80
lea esi, [edi + 0x50]
mov dword [ebp - 0x344], eax
add esp, 0x14
cmp esi, eax
je 0x4b4ad3
mov ecx, esi
call fcn.00402d80
mov ecx, dword [ebp - 0x344]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov edx, dword [ebp - 0x290]
cmp edx, 8
jb 0x4b4b0f
mov ecx, dword [ebp - 0x2a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b4b05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b4b62
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x308]
xor eax, eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 7
mov word [ebp - 0x2a4], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4b4b77
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b4b68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b4b68
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
jmp 0x4b4b77
lea esi, [edi + 0x50]
cmp dword [esi + 0x14], 8
jb 0x4b4b7f
mov esi, dword [esi]
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [edi], eax
test eax, eax
je 0x4b4c2d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.dc_Init
push eax
call esi
push str.dc_Uninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.dc_SendAppStartInfoc
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.dc_SendAppEndInfoc
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.dc_UpdateAccountID
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.dc_CreateDataHandle
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.dc_CloseDataHandle
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.dc_AddKeyValue
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.dc_SendCommonEventInfoc
push dword [edi]
mov dword [edi + 0x20], eax
call esi
push str.dc_SendCountEventInfoc
push dword [edi]
mov dword [edi + 0x24], eax
call esi
push str.dc_CheckABTestTagExist
push dword [edi]
mov dword [edi + 0x28], eax
call esi
push str.dc_SetInfocCallback
push dword [edi]
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov byte [edi + 0x34], 1
cmp dword [edi + 4], 0
je 0x4b5578
mov ecx, edi
call fcn.004b7700
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x340]
cmp dword [eax + 0x10], 0
jne 0x4b4d38
call fcn.004d8640
push 0x10
test al, al
je 0x4b4cf2
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.004033b0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x2d4]
push eax
call fcn.004d7bf0
mov edx, dword [ebp - 0x268]
add esp, 8
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4b4d1f
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b4ce6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b4ce6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
jmp 0x4b4d1f
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.004033b0
or ebx, 3
lea eax, [ebp - 0x2d4]
cmp dword [ebp - 0x2c0], 8
cmovae eax, dword [ebp - 0x2d4]
jmp 0x4b4d40
cmp dword [eax + 0x14], 8
jb 0x4b4d40
mov eax, dword [eax]
mov dword [ebp - 0x340], eax
xor eax, eax
mov dword [ebp - 4], 5
mov word [ebp - 0x2bc], ax
lea edi, [ebp - 0x58]
mov eax, dword [str.userid]
mov ecx, 0x12
mov dword [ebp - 0x274], eax
mov esi, str.Softwarekingsoftwpsclouduserinfo
mov eax, dword [0x51490c]
or ebx, 4
mov dword [ebp - 0x270], eax
mov eax, dword [0x514910]
mov dword [ebp - 0x26c], eax
mov ax, word [0x514914]
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x348]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x2ac], 0
push eax
rep movsd dword es:[edi], dword [esi]
push 0x80000001
mov dword [ebp - 0x2a8], 7
mov dword [ebp - 0x338], ebx
mov dword [ebp - 0x348], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b4e6e
push 0x20a
push eax
mov dword [ebp - 0x33c], eax
lea eax, [ebp - 0x264]
push eax
mov dword [ebp - 0x34c], 0x208
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b4e62
lea ecx, [ebp - 0x264]
lea edx, [ecx + 2]
jmp 0x4b4e40
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4e40
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2bc]
call fcn.004033b0
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x31c]
push eax
call fcn.004b71e0
mov edi, eax
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 6
push eax
call fcn.004b70a0
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 0x541ccc
mov byte [ebp - 4], 8
call fcn.004b4710
mov ecx, dword [ebp - 0x14]
add esp, 0x10
mov byte [ebp - 4], 7
test ecx, ecx
je 0x4b4ed0
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 [0x541ccc]
lea ecx, [ebp - 0x2a4]
call fcn.00413820
or ebx, 8
mov dword [ebp - 0x338], ebx
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 0x541cac
mov byte [ebp - 4], 0xa
call fcn.004b4710
mov ecx, dword [ebp - 0x268]
add esp, 8
mov byte [ebp - 4], 9
test ecx, ecx
je 0x4b4f3e
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 [0x541cac]
lea ecx, [ebp - 0x304]
call fcn.00413820
or ebx, 0x10
mov dword [ebp - 0x338], ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xb
push eax
call fcn.004da400
push str.wpsdcsdk
push eax
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0xc
push eax
call fcn.00404b80
add esp, 0x10
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x4b4fb8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b4fae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b502c
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [0x53d9b8], 0
mov ecx, 0x53d9a8
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x27c]
cmovne eax, ecx
mov dword [ebp - 0x14], 7
push eax
lea ecx, [ebp - 0x2ec]
call fcn.00413820
mov edx, dword [ebp - 0x268]
or ebx, 0x20
mov dword [ebp - 0x338], ebx
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x4b503c
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5032
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5032
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
cmp dword [0x53d9d8], 0xffffffff
mov byte [ebp - 4], 0xf
jne 0x4b5239
push 1
xor eax, eax
mov dword [ebp - 0x26c], 0
push 0x4f1b94
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.004033b0
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0x10
push eax
push str.debugmode
push dword [0x53d988]
push 0x80000001
call fcn.004b6f80
add esp, 0x10
test eax, eax
je 0x4b51cc
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x10c], 0x4fea00
mov dword [ebp - 0xfc], 0x4fea08
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 0x11
or ebx, 0x40
lea ecx, [ebp - 0x10c]
push eax
mov dword [ebp - 0x338], ebx
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 4], 0x12
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x110], eax
lea ecx, [ebp - 0xf4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xf4], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
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], 0x13
push eax
call fcn.004b4810
add esp, 0xc
lea ecx, [ebp - 0x10c]
push 0x53d9d8
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::operator___int__]
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x110], eax
lea ecx, [ebp - 0xf4]
call fcn.0044cce0
lea ecx, [ebp - 0xec]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x4b51d6
mov dword [0x53d9d8], 0
mov edx, dword [ebp - 0x268]
mov byte [ebp - 4], 0xf
cmp edx, 8
jb 0x4b521c
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5212
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b5212
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
cmp dword [0x53d9d8], 0
lea eax, [ebp - 0x2bc]
setne byte [ebp - 0x33c]
cmp dword [ebp - 0x2a8], 8
cmovae eax, dword [ebp - 0x2bc]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x34c], eax
jb 0x4b5269
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x4b5271
mov esi, dword [esi]
push dword [ebp - 0x33c]
cmp dword [ebp - 0x290], 8
lea edx, [ebp - 0x2a4]
push dword [ebp - 0x344]
cmovae edx, dword [ebp - 0x2a4]
lea ecx, [ebp - 0x304]
push dword [ebp - 0x34c]
cmp dword [ebp - 0x2f0], 8
lea eax, [ebp - 0x2ec]
push edi
cmovae ecx, dword [ebp - 0x304]
cmp dword [ebp - 0x2d8], 8
mov edi, dword [ebp - 0x350]
cmovae eax, dword [ebp - 0x2ec]
push esi
push edx
push ecx
push dword [ebp - 0x340]
push eax
mov eax, dword [edi + 4]
call eax
mov edx, dword [ebp - 0x2d8]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x4b5319
mov ecx, dword [ebp - 0x2ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b530f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5558
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x2f0]
xor eax, eax
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 7
mov word [ebp - 0x2ec], ax
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x4b537a
mov ecx, dword [ebp - 0x304]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5370
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5558
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x290]
xor eax, eax
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2f0], 7
mov word [ebp - 0x304], ax
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x4b53db
mov ecx, dword [ebp - 0x2a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b53d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5558
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x320]
xor eax, eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 7
mov word [ebp - 0x2a4], ax
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x4b543c
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5432
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5558
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x308]
xor eax, eax
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x4b549d
mov ecx, dword [ebp - 0x31c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b5493
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5558
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x2a8]
xor eax, eax
and ebx, 0xfffffffb
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 7
mov word [ebp - 0x31c], ax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x4b54fd
mov ecx, dword [ebp - 0x2bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b54f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b5558
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 7
mov word [ebp - 0x2bc], ax
mov dword [ebp - 4], 1
test bl, 1
je 0x4b5568
mov edx, dword [ebp - 0x2c0]
cmp edx, 8
jb 0x4b5568
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b555e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4b555e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov eax, dword [ebp - 0x344]
test eax, eax
je 0x4b5578
mov ecx, dword [edi + 0x1c]
push eax
call ecx
mov eax, edi
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.004bee49
mov esp, ebp
pop ebp
ret 0xc