Function at 0x10009d3e
Capabilities:
Read file on windows

Disassembly:
push 0x40
mov eax, 0x100bc82d
call fcn.1008b701
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x4c], 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 - 0x44], xmm0
mov edi, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x38], edx
jb 0x10009d7a
mov eax, dword [eax]
sub esp, 0x14
lea ecx, [ebp - 0x18]
push 0xc0000000
push eax
call fcn.10008fa5
test eax, eax
jns 0x10009dab
push str.Open_Config_file_failed.
push 0xd2
push str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlLogicTxdlConfig.cpp
call fcn.1006a644
add esp, 0xc
jmp 0x10009fac
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x18]
call fcn.10008ff0
test eax, eax
js 0x10009f71
mov ecx, dword [ebp - 0x44]
mov eax, ecx
or eax, dword [ebp - 0x40]
je 0x10009f71
cmp dword [ebp - 0x40], esi
ja 0x10009f71
jb 0x10009de4
cmp ecx, 0x19000
ja 0x10009f71
lea eax, [ecx + 1]
push 0x1010e924
push eax
mov dword [ebp - 0x38], eax
call fcn.1008adaa
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10009fac
push dword [ebp - 0x38]
push 0
push esi
call fcn.1008df10
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0
push eax
push dword [ebp - 0x44]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10009e2d
call fcn.10011361
jmp 0x10009e2f
xor eax, eax
test eax, eax
js 0x10009f96
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
mov dword [ebp - 0x3c], edx
call fcn.1001c60a
mov dword [ebp - 0x38], eax
pop ecx
test eax, eax
jne 0x10009e6c
push str.base64_decode_error.
push 0xd2
push str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlLogicTxdlConfig.cpp
call fcn.1006a644
add esp, 0xc
jmp 0x10009f96
mov eax, dword [ebp - 0x3c]
add eax, eax
push 0x1010e924
push eax
call fcn.1008adaa
mov edi, eax
mov dword [ebp - 0x40], edi
pop ecx
pop ecx
test edi, edi
je 0x10009f88
mov eax, dword [ebp - 0x3c]
lea ebx, [eax + eax]
push ebx
push 0
push edi
call fcn.1008df10
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x48]
add esp, 0xc
sub ebx, 2
mov dword [ebp - 0x48], ebx
push eax
push edi
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.1001a6f8
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10009f6a
and dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.1001b25c
push 0xc
call fcn.1008ad77
pop ecx
mov ecx, eax
mov dword [ebp - 0x48], 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 - 0x34]
push eax
call fcn.1001968c
mov edi, dword [ebp - 0x4c]
mov ebx, eax
mov byte [ebp - 4], 1
mov ecx, dword [edi + 4]
cmp ebx, ecx
je 0x10009f1b
test ecx, ecx
je 0x10009f1b
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 0x10009f55
mov eax, dword [edi]
push 0
push str.bautofinish
push edi
call dword [eax + 0x18]
test eax, eax
je 0x10009f55
push eax
push str.CFG_NAME_bautofinish_bAuto_d
push 0xd2
push str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlLogicTxdlConfig.cpp
call fcn.1006a644
add esp, 0x10
push 0
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.10001f43
mov edi, dword [ebp - 0x40]
jmp 0x10009f88
push str.decrypt_error.
jmp 0x10009f76
push str.Config_file_error.
push 0xd2
push str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlLogicTxdlConfig.cpp
call fcn.1006a644
add esp, 0xc
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10009f96
push eax
call fcn.1008ad72
pop ecx
test esi, esi
je 0x10009fa1
push esi
call fcn.1008ad72
pop ecx
test edi, edi
je 0x10009fac
push edi
call fcn.1008ad72
pop ecx
push ebx
push str.InitServerConfig_result_d
push 0xd2
push str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlLogicTxdlConfig.cpp
call fcn.1006a644
xor eax, eax
add esp, 0x10
test ebx, ebx
mov esi, 0x80004005
cmovne esi, eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10009fde
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.1008b6ab
ret 8