Function at 0x10009dae
Capabilities:
Read file on windows

Disassembly:
push 0x44
mov eax, 0x100bd97d
call fcn.1008c851
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x50], eax
mov ebx, edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
xorps xmm0, xmm0
cmp dword [eax + 0x14], 8
mov esi, edx
movlpd qword [ebp - 0x48], xmm0
mov edi, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x20], edx
jb 0x10009ded
mov eax, dword [eax]
sub esp, 0x14
lea ecx, [ebp - 0x18]
push 0xc0000000
push eax
call fcn.10009015
test eax, eax
jns 0x10009e1e
push str.Open_Config_file_failed.
push 0xd2
push str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlLogicTxdlConfig.cpp
call fcn.1006b794
add esp, 0xc
jmp 0x1000a05e
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x18]
call fcn.10009060
test eax, eax
js 0x1000a023
mov ecx, dword [ebp - 0x48]
mov eax, ecx
or eax, dword [ebp - 0x44]
je 0x1000a023
cmp dword [ebp - 0x44], esi
ja 0x1000a023
jb 0x10009e57
cmp ecx, 0x19000
ja 0x1000a023
lea eax, [ecx + 1]
push 0x10111924
push eax
mov dword [ebp - 0x3c], eax
call fcn.1008befa
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1000a05e
push dword [ebp - 0x3c]
push 0
push esi
call fcn.1008f060
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0
push eax
push dword [ebp - 0x48]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10009ea0
call fcn.10011411
jmp 0x10009ea2
xor eax, eax
test eax, eax
js 0x1000a048
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov dword [ebp - 0x40], edx
call fcn.1001caf6
mov dword [ebp - 0x3c], eax
pop ecx
test eax, eax
jne 0x10009edf
push str.base64_decode_error.
push 0xd2
push str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlLogicTxdlConfig.cpp
call fcn.1006b794
add esp, 0xc
jmp 0x1000a048
mov eax, dword [ebp - 0x40]
add eax, eax
push 0x10111924
push eax
call fcn.1008befa
mov edi, eax
mov dword [ebp - 0x44], edi
pop ecx
pop ecx
test edi, edi
je 0x1000a03a
mov eax, dword [ebp - 0x40]
lea ebx, [eax + eax]
push ebx
push 0
push edi
call fcn.1008f060
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x4c]
add esp, 0xc
sub ebx, 2
mov dword [ebp - 0x4c], ebx
push eax
push edi
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.1001a798
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1000a01c
and dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.1001b747
lea eax, [ebp - 0x20]
mov edx, str.defDebugServerConfig
push 1
push eax
call fcn.1001af12
pop ecx
pop ecx
test eax, eax
js 0x10009f92
cmp dword [ebp - 0x20], 0
je 0x10009f92
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push str.strUnicode__s
push 0xd2
push str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlLogicTxdlConfig.cpp
call fcn.1006b794
add esp, 0x10
push 0xc
call fcn.1008bec7
pop ecx
mov ecx, eax
mov dword [ebp - 0x4c], ecx
mov edi, ecx
mov byte [ebp - 4], 2
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
call fcn.1001972c
mov edi, dword [ebp - 0x50]
mov ebx, eax
mov byte [ebp - 4], 1
mov ecx, dword [edi + 4]
cmp ebx, ecx
je 0x10009fcd
test ecx, ecx
je 0x10009fcd
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 4], ebx
mov eax, dword [ebx + 8]
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
je 0x1000a007
mov eax, dword [edi]
push 0
push str.bautofinish
push edi
call dword [eax + 0x18]
test eax, eax
je 0x1000a007
push eax
push str.CFG_NAME_bautofinish_bAuto_d
push 0xd2
push str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlLogicTxdlConfig.cpp
call fcn.1006b794
add esp, 0x10
push 0
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.10001f53
mov edi, dword [ebp - 0x44]
jmp 0x1000a03a
push str.decrypt_error.
jmp 0x1000a028
push str.Config_file_error.
push 0xd2
push str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlLogicTxdlConfig.cpp
call fcn.1006b794
add esp, 0xc
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x1000a048
push eax
call fcn.1008bec2
pop ecx
test esi, esi
je 0x1000a053
push esi
call fcn.1008bec2
pop ecx
test edi, edi
je 0x1000a05e
push edi
call fcn.1008bec2
pop ecx
push ebx
push str.InitServerConfig_result_d
push 0xd2
push str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlLogicTxdlConfig.cpp
call fcn.1006b794
xor eax, eax
add esp, 0x10
test ebx, ebx
mov esi, 0x80004005
cmovne esi, eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000a090
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.1008c7fb
ret 8