Function at 0x41dbf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d45ca
mov eax, dword fs:[0]
push eax
sub esp, 0x7fc
mov eax, dword [0x52ad60]
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 dword [ebp - 0x54], ecx
mov ebx, dword [0x52f408]
mov dword [ebp - 0x68], eax
lea eax, [ebx + 1]
imul eax, ebx
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 7
jne 0x41dcaf
xor edx, edx
mov dword [ebp - 0x4c], edx
lea ecx, [ebp - 0x804]
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x18], ecx
lea edi, [eax + 1]
lea ecx, [edx + 1]
mov eax, ebx
cdq
idiv ecx
mov eax, ebx
mov ecx, ebx
sub ecx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x18]
mov esi, edx
cdq
imul esi, ecx
idiv edi
add esi, eax
sub esi, dword [ebp - 0x50]
push esi
push 0x512aa4
call fcn.004b508f
mov edx, dword [ebp - 0x4c]
add ebx, 4
mov eax, edi
add esp, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x52f408]
mov dword [ebp - 0x50], eax
cmp eax, 0x14
jl 0x41dc58
inc edx
mov dword [ebp - 0x4c], edx
cmp edx, 0x12
jge 0x41dcaf
mov ecx, dword [ebp - 0x18]
jmp 0x41dc50
and dword [ebp - 0x20], 0xfffffe00
mov dword [ebp - 0x1c], 0
lea eax, [ebx + 1]
imul eax, ebx
cdq
mov ecx, 7
idiv ecx
mov dword [ebp - 4], 1
cmp edx, 1
jne 0x41dd12
mov eax, ebx
imul eax, ebx
cdq
mov ecx, 0xf
idiv ecx
cmp edx, 0xb
jne 0x41dcf7
xor esi, esi
mov edi, ebx
lea ecx, [ecx]
inc esi
dec edi
cmp esi, 0x76
jb 0x41dcf0
mov ecx, 1
cmp ebx, ecx
jle 0x41dd0c
mov eax, ebx
cdq
idiv ecx
inc ecx
add ecx, edx
cmp ecx, ebx
jl 0x41dd00
mov dword [0x52f408], ecx
mov eax, dword [ebp - 0x5c]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x5c], eax
mov eax, dword [0x52fe1c]
mov dword [ebp - 0x58], 0
test al, 1
jne 0x41dd51
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
mov ecx, dword [0x52c374]
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 - 0x28]
mov byte [ebp - 4], 2
call fcn.00449e90
mov ecx, eax
call fcn.004494b0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.004493f0
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x54]
mov al, byte [ebx + 8]
test al, al
je 0x41ddb8
cmp al, 7
je 0x41ddb8
push 0x42b
push str...CrossRiderGeneralJsonjson_value.cpp
push str.type___nullValue__type___objectValue
call fcn.004b650c
add esp, 0xc
cmp byte [ebx + 8], 0
je 0x41e0e7
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.0044ab30
mov ecx, dword [edi]
cmp eax, ecx
je 0x41de21
mov esi, dword [eax + 0x10]
mov edx, str.callbackId
jmp 0x41ddf0
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x41de10
test bl, bl
je 0x41de0c
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x41de10
add edx, 2
add esi, 2
test bl, bl
jne 0x41ddf0
xor edx, edx
jmp 0x41de15
sbb edx, edx
or edx, 1
test edx, edx
sets dl
mov dword [ebp - 0x50], eax
test dl, dl
je 0x41de24
mov dword [ebp - 0x50], ecx
lea eax, [ebp - 0x50]
mov eax, dword [eax]
mov byte [ebp - 4], 3
cmp eax, ecx
je 0x41e0e7
add eax, 0x18
cmp eax, 0x52fad0
je 0x41e0e7
push 0x10
call fcn.004b3a20
add esp, 4
mov esi, eax
test esi, esi
je 0x41de67
mov byte [esi + 8], 0
and dword [esi + 8], 0xfffffeff
mov dword [esi + 0xc], 0
jmp 0x41de69
xor esi, esi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x54]
push ecx
mov ecx, esi
call fcn.004494b0
lea eax, [ebp - 0x18]
push eax
push 0
push esi
push 0x40ea10
push 0
push 0
mov dword [ebp - 0x18], 0
call fcn.004b4e4d
add esp, 0x18
test eax, eax
jne 0x41e07a
test esi, esi
je 0x41deb3
mov ecx, esi
call fcn.004493f0
push esi
call fcn.004b3a0c
add esp, 4
mov dword [ebp - 0x4c], 0
call fcn.004b4dda
mov edx, dword [eax]
lea ecx, [ebp - 0x74]
call fcn.004315e0
push eax
mov edx, str.execFile_beginthreadex_
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
call fcn.004269f0
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 0x41df01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.execFile
lea ecx, [ebp - 0x50]
call fcn.00403720
mov byte [ebp - 4], 0x11
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
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.00431540
add esp, 4
mov ebx, eax
push str.GlobalLog
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x13
call fcn.00403720
push 2
push ebx
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x52f7a4
mov byte [ebp - 4], 0x14
call fcn.004018e0
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 0x41df87
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 0x41dfa7
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 0x41dfc4
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 0x41dfe4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x8c]
call fcn.00431370
mov esi, eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x5c]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], 0
test al, 1
jne 0x41e039
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x41e044
mov esi, dword [esi]
mov ecx, dword [0x52c374]
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 - 0x28]
mov byte [ebp - 4], 0x16
call fcn.00449e90
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.004494b0
mov byte [ebp - 4], 0x15
jmp 0x41e276
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x52f408]
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 9
idiv ecx
cmp edx, 4
jne 0x41e39c
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x141]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b31e0
add esp, 4
push eax
call fcn.004b429b
add esp, 4
jmp 0x41e39c
push str.execFile_callbackId_not_exist
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
call fcn.00403720
push str.execFile
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00403720
mov byte [ebp - 4], 6
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
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.00431540
add esp, 4
mov edi, eax
push str.GlobalLog
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
call fcn.00403720
push 2
push edi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x52f7a4
mov byte [ebp - 4], 9
call fcn.004018e0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41e188
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 0x41e1a8
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 0x41e1c5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
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 0x41e1e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x8c]
call fcn.00431370
mov esi, eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x5c]
mov eax, dword [0x52fe1c]
and ecx, 0xffffff04
or ecx, 0x104
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], 0
test al, 1
jne 0x41e23a
or eax, 1
push 0x4e01b0
mov dword [0x52fe1c], eax
mov dword [0x52fda0], 0x5184f8
call fcn.004b41d9
add esp, 4
cmp dword [esi + 0x14], 0x10
mov edx, dword [esi + 0x10]
jb 0x41e245
mov esi, dword [esi]
mov ecx, dword [0x52c374]
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 - 0x28]
mov byte [ebp - 4], 0xb
call fcn.00449e90
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
call fcn.004494b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x64]
call fcn.004493f0
cmp dword [ebp - 0x78], 0x10
jb 0x41e292
push dword [ebp - 0x8c]
call fcn.004b3a0c
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 0x41e3a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41e3a6
or edi, 0xffffffff
mov dword [ebp - 4], 1
mov dword [ebp - 0x48], 0x514aec
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 [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1f
call fcn.0044c090
mov edx, eax
mov byte [ebp - 4], 0x20
cmp dword [edx + 0x14], 0x10
jb 0x41e3ff
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 0x41e41e
xor ecx, ecx
jmp 0x41e430
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x68], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41e426
sub ecx, dword [ebp - 0x68]
push ecx
push edx
mov ecx, ebx
call fcn.004012f0
lea ecx, [ebp - 0x58]
call fcn.004312a0
add esp, 0x18
mov byte [ebp - 4], 0x21
mov edx, dword [eax]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x41e498
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x41e489
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x41e489
call fcn.004047b0
mov dword [ebp - 0x68], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41e481
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 - 0x18], esi
jmp 0x41e498
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.004046f0
mov esi, dword [ebp - 0x18]
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 0x41e4b8
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 0x41e4d0
push dword [ebp - 0x8c]
call fcn.004b3a0c
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 0x41e4ee
call fcn.0040c760
add esi, 0xfffffff0
mov dword [ebx + 8], eax
mov byte [ebp - 4], 0x1e
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41e50c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x48], 0x514aec
jb 0x41e524
push dword [ebp - 0x44]
call fcn.004b3a0c
add esp, 4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0x5186b0
mov dword [ebp - 4], 0xffffffff
call fcn.004493f0
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.004b3a11
mov esp, ebp
pop ebp
ret