Function at 0x414f90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d979a
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x532d60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, edx
mov dword [ebp - 0x70], eax
mov ebx, ecx
mov dword [ebp - 0x54], ebx
and dword [ebp - 0x1c], 0xfffffe00
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x5c], eax
mov eax, dword [0x538390]
mov dword [ebp - 0x58], 0
test al, 1
jne 0x415022
or eax, 1
push 0x4e75e0
mov dword [0x538390], eax
mov dword [0x538314], 0x51fae8
call fcn.004b8949
add esp, 4
mov ecx, dword [0x534374]
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.success
call dword [eax + 0xc]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0044d470
mov ecx, eax
call fcn.0044ca80
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0044c9c0
mov edx, dword [0x537408]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x14
idiv ecx
cmp edx, 1
jne 0x4150b6
push 0x28
call fcn.004b7950
add esp, 4
mov edi, eax
xor esi, esi
lea ecx, [ecx]
call fcn.004b8a2c
add eax, dword [0x537408]
inc esi
mov dword [edi + esi*4 - 4], eax
cmp esi, 0xa
jl 0x415090
mov eax, dword [edi + 0x24]
push edi
mov dword [0x537408], eax
call fcn.004b8a0b
add esp, 4
mov byte [ebp - 4], 3
mov al, byte [ebx + 8]
test al, al
je 0x4150dc
cmp al, 7
je 0x4150dc
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004bac2c
add esp, 0xc
cmp byte [ebx + 8], 0
je 0x4153a5
mov dword [ebp - 0x5c], str.callbackId
mov dword [ebp - 0x58], 0
mov edi, dword [ebx]
lea eax, [ebp - 0x5c]
push eax
mov ecx, edi
call fcn.0044e110
mov ecx, dword [edi]
cmp eax, ecx
je 0x415141
mov esi, dword [eax + 0x10]
mov edx, str.callbackId
nop
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x415130
test bl, bl
je 0x41512c
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x415130
add edx, 2
add esi, 2
test bl, bl
jne 0x415110
xor edx, edx
jmp 0x415135
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x50], eax
test dl, dl
je 0x415144
mov dword [ebp - 0x50], ecx
lea eax, [ebp - 0x50]
mov eax, dword [eax]
mov byte [ebp - 4], 3
cmp eax, ecx
je 0x4153a5
add eax, 0x18
cmp eax, 0x537e88
je 0x4153a5
push 0x10
call fcn.004b8190
add esp, 4
mov esi, eax
test esi, esi
je 0x415187
mov byte [esi + 8], 0
and dword [esi + 8], 0xfffffeff
mov dword [esi + 0xc], 0
jmp 0x415189
xor esi, esi
mov byte [ebp - 4], 3
push dword [ebp - 0x54]
mov ecx, esi
call fcn.0044ca80
lea eax, [ebp - 0x28]
push eax
push 0
push esi
push 0x40ced0
push 0
push 0
mov dword [ebp - 0x28], 0
call fcn.004b9624
add esp, 0x18
test eax, eax
jne 0x415399
test esi, esi
je 0x4151d2
mov ecx, esi
call fcn.0044c9c0
push esi
call fcn.004b817c
add esp, 4
mov dword [ebp - 0x4c], 0
call fcn.004b94f0
mov edx, dword [eax]
lea ecx, [ebp - 0x74]
call fcn.00433f60
push eax
mov edx, str.readFile_beginthreadex_
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
call fcn.00427b90
add esp, 4
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x415220
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.re_dFi1e
lea ecx, [ebp - 0x50]
call fcn.00403ac0
mov byte [ebp - 4], 0x11
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x6c], esi
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x12
call fcn.00433ec0
add esp, 4
mov ebx, eax
push str.GlobalLog
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x13
call fcn.00403ac0
push 2
push ebx
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x537920
mov byte [ebp - 4], 0x14
call fcn.004018b0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4152a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4152c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x11
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4152e3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415303
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x8c]
call fcn.00433ad0
mov esi, eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x5c]
mov eax, dword [0x538390]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], 0
test al, 1
jne 0x415358
or eax, 1
push 0x4e75e0
mov dword [0x538390], eax
mov dword [0x538314], 0x51fae8
call fcn.004b8949
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x415363
mov esi, dword [esi]
mov ecx, dword [0x534374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [ebp - 0x64], eax
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x16
call fcn.0044d470
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.0044ca80
mov byte [ebp - 4], 0x15
jmp 0x415534
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41565a
push str.readFile_callbackId_not_exist
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
call fcn.00403ac0
push str.readFi1e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.00403ac0
mov byte [ebp - 4], 6
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x58], esi
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.00433ec0
add esp, 4
mov edi, eax
push str.GlobalLog
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.00403ac0
push 2
push edi
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x537920
mov byte [ebp - 4], 9
call fcn.004018b0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x415446
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415466
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415483
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4154a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x8c]
call fcn.00433ad0
mov esi, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x5c]
mov eax, dword [0x538390]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], 0
test al, 1
jne 0x4154f8
or eax, 1
push 0x4e75e0
mov dword [0x538390], eax
mov dword [0x538314], 0x51fae8
call fcn.004b8949
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x415503
mov esi, dword [esi]
mov ecx, dword [0x534374]
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [ebp - 0x64], eax
push ecx
push str.error
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.0044d470
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.0044ca80
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x64]
call fcn.0044c9c0
cmp dword [ebp - 0x78], 0x10
jb 0x415550
push dword [ebp - 0x8c]
call fcn.004b817c
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415664
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x415664
or edi, 0xffffffff
mov dword [ebp - 4], 1
mov dword [ebp - 0x48], 0x51c0cc
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x1e
mov eax, dword [0x5326d0]
mov ecx, 0x5326d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x4c], esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1f
call fcn.0044f670
mov edx, eax
mov byte [ebp - 4], 0x20
cmp dword [edx + 0x14], 0x10
jb 0x4156bd
mov edx, dword [edx]
sub esp, 0x18
mov ebx, esp
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [edx], 0
jne 0x4156dc
xor ecx, ecx
jmp 0x4156ee
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x68], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4156e4
sub ecx, dword [ebp - 0x68]
push ecx
push edx
mov ecx, ebx
call fcn.004012e0
lea ecx, [ebp - 0x58]
call fcn.00433a00
add esp, 0x18
mov byte [ebp - 4], 0x21
mov edx, dword [eax]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x415756
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x415747
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x415747
call fcn.00404b50
mov dword [ebp - 0x68], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41573f
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x68]
lea esi, [eax + 0x10]
mov dword [ebp - 0x4c], esi
jmp 0x415756
push dword [edx - 0xc]
lea ecx, [ebp - 0x4c]
push edx
call fcn.00404a90
mov esi, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415776
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x78], 0x10
jb 0x41578e
push dword [ebp - 0x8c]
call fcn.004b817c
add esp, 4
mov ebx, dword [ebp - 0x70]
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4157ac
call fcn.0040caf0
mov dword [ebx + 8], eax
mov eax, dword [0x537408]
imul eax, eax
cdq
mov ecx, 0x11
idiv ecx
cmp edx, 0xe
jne 0x41580f
mov eax, dword [0x51a9d8]
movq xmm0, qword [str.ZjS6VQXU3OLF]
mov dword [ebp - 0x5c], eax
mov al, byte [0x51a9dc]
mov byte [ebp - 0x58], al
lea eax, [ebp - 0x64]
movq qword [ebp - 0x64], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4157e7
sub eax, edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b7950
push eax
call fcn.004b8a0b
add esp, 8
add esi, 0xfffffff0
mov byte [ebp - 4], 0x1e
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41582a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x48], 0x51c0cc
jb 0x415842
push dword [ebp - 0x44]
call fcn.004b817c
add esp, 4
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0x51fca0
mov dword [ebp - 4], 0xffffffff
call fcn.0044c9c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b8181
mov esp, ebp
pop ebp
ret