Function at 0x100243af
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007900a
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10098428]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x10098428]
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 0x10024400
mov eax, 0x80070057
jmp 0x100246a7
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.10015f5f
test eax, eax
jge 0x1002445f
call fcn.100430bb
test al, al
je 0x10024664
push str.Open_Config_file_failed.
push 0xd2
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projTxdlLogicTxdlConfig.cpp
call fcn.10042f4a
add esp, 0xc
jmp 0x10024664
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x28]
call fcn.10015f91
test eax, eax
jl 0x10024614
mov esi, dword [esp + 0x24]
mov eax, esi
or eax, dword [esp + 0x28]
je 0x10024614
cmp dword [esp + 0x28], ebx
ja 0x10024614
jb 0x1002449d
cmp esi, 0x19000
ja 0x10024614
inc esi
push 0x1009c5c8
push esi
call fcn.10058f03
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x1c], eax
je 0x10024664
push esi
push ebx
push eax
call fcn.100541d0
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 0x100244e5
call fcn.10014924
jmp 0x100244e7
xor eax, eax
cmp eax, ebx
jl 0x10024644
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x30]
push ecx
push eax
push dword [esp + 0x24]
mov dword [esp + 0x3c], eax
call fcn.10025bb4
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x10024528
call fcn.100430bb
test al, al
je 0x10024634
push str.base64_decode_error.
jmp 0x10024622
mov esi, dword [esp + 0x30]
add esi, esi
push 0x1009c5c8
push esi
call fcn.10058f03
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x14], eax
je 0x10024634
push esi
push ebx
push eax
call fcn.100541d0
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.1000424d
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x10024604
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0xf
call fcn.10002103
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
mov byte [esp + 0x70], 1
call fcn.10016311
push 0x10
call fcn.100539ba
add esp, 0xc
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x68], 2
je 0x100245c5
lea ecx, [esp + 0x3c]
mov edi, eax
call fcn.1002c535
mov edi, eax
jmp 0x100245c7
xor edi, edi
mov esi, dword [esp + 0x38]
mov byte [esp + 0x68], 1
mov ecx, dword [esi + 8]
cmp edi, ecx
je 0x100245e1
cmp ecx, ebx
je 0x100245e1
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.10001ad4
jmp 0x10024634
call fcn.100430bb
test al, al
je 0x10024634
push str.decrypt_error.
jmp 0x10024622
call fcn.100430bb
test al, al
je 0x10024664
push str.Config_file_error.
push 0xd2
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projTxdlLogicTxdlConfig.cpp
call fcn.10042f4a
add esp, 0xc
cmp dword [esp + 0x20], ebx
je 0x10024644
push dword [esp + 0x20]
call fcn.10056151
pop ecx
cmp dword [esp + 0x1c], ebx
je 0x10024654
push dword [esp + 0x1c]
call fcn.10056151
pop ecx
cmp dword [esp + 0x14], ebx
je 0x10024664
push dword [esp + 0x14]
call fcn.10056151
pop ecx
call fcn.100430bb
test al, al
je 0x10024685
push edi
push str.InitServerConfig_result_d
push 0xd2
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projTxdlLogicTxdlConfig.cpp
call fcn.10042f4a
add esp, 0x10
neg edi
sbb edi, edi
and edi, 0x7fffbffb
add edi, 0x80004005
cmp dword [esp + 0x18], ebx
je 0x100246a5
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.10053c51
mov esp, ebp
pop ebp
ret 8