Function at 0x10023c21
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10076a6a
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10095428]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x10095428]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x10023c72
mov eax, 0x80070057
jmp 0x10023f19
xor edi, edi
mov dword [esp + 0x18], ebx
push 0xc0000000
push eax
mov dword [esp + 0x70], ebx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
call fcn.10015b61
test eax, eax
jge 0x10023cd1
call fcn.100419fb
test al, al
je 0x10023ed6
push str.Open_Config_file_failed.
push 0xd2
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projTxdlLogicTxdlConfig.cpp
call fcn.1004188a
add esp, 0xc
jmp 0x10023ed6
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x28]
call fcn.10015b93
test eax, eax
jl 0x10023e86
mov esi, dword [esp + 0x24]
mov eax, esi
or eax, dword [esp + 0x28]
je 0x10023e86
cmp dword [esp + 0x28], ebx
ja 0x10023e86
jb 0x10023d0f
cmp esi, 0x19000
ja 0x10023e86
inc esi
push 0x10099528
push esi
call fcn.10056adc
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x1c], eax
je 0x10023ed6
push esi
push ebx
push eax
call fcn.10051de0
add esp, 0xc
push ebx
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x10023d57
call fcn.1001462e
jmp 0x10023d59
xor eax, eax
cmp eax, ebx
jl 0x10023eb6
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x30]
push ecx
push eax
push dword [esp + 0x24]
mov dword [esp + 0x3c], eax
call fcn.100254ac
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x10023d9a
call fcn.100419fb
test al, al
je 0x10023ea6
push str.base64_decode_error.
jmp 0x10023e94
mov esi, dword [esp + 0x30]
add esi, esi
push 0x10099528
push esi
call fcn.10056adc
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x14], eax
je 0x10023ea6
push esi
push ebx
push eax
call fcn.10051de0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x18]
dec esi
dec esi
mov dword [esp + 0x2c], esi
call fcn.1000418a
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x10023e76
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0xf
call fcn.100020c9
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
mov byte [esp + 0x70], 1
call fcn.10015e8f
push 0x10
call fcn.100515d4
add esp, 0xc
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x68], 2
je 0x10023e37
lea ecx, [esp + 0x3c]
mov edi, eax
call fcn.1002b8f7
mov edi, eax
jmp 0x10023e39
xor edi, edi
mov esi, dword [esp + 0x38]
mov byte [esp + 0x68], 1
mov ecx, dword [esi + 8]
cmp edi, ecx
je 0x10023e53
cmp ecx, ebx
je 0x10023e53
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 8], edi
mov esi, edi
mov esi, dword [esi + 0xc]
xor eax, eax
cmp esi, ebx
setne al
push ebx
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], bl
mov edi, eax
call fcn.10001b45
jmp 0x10023ea6
call fcn.100419fb
test al, al
je 0x10023ea6
push str.decrypt_error.
jmp 0x10023e94
call fcn.100419fb
test al, al
je 0x10023ed6
push str.Config_file_error.
push 0xd2
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projTxdlLogicTxdlConfig.cpp
call fcn.1004188a
add esp, 0xc
cmp dword [esp + 0x20], ebx
je 0x10023eb6
push dword [esp + 0x20]
call fcn.10053d61
pop ecx
cmp dword [esp + 0x1c], ebx
je 0x10023ec6
push dword [esp + 0x1c]
call fcn.10053d61
pop ecx
cmp dword [esp + 0x14], ebx
je 0x10023ed6
push dword [esp + 0x14]
call fcn.10053d61
pop ecx
call fcn.100419fb
test al, al
je 0x10023ef7
push edi
push str.InitServerConfig_result_d
push 0xd2
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projTxdlLogicTxdlConfig.cpp
call fcn.1004188a
add esp, 0x10
neg edi
sbb edi, edi
and edi, 0x7fffbffb
add edi, 0x80004005
cmp dword [esp + 0x18], ebx
je 0x10023f17
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10051861
mov esp, ebp
pop ebp
ret 8