Function at 0x10025383
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100786ba
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 0x100253d4
mov eax, 0x80070057
jmp 0x1002567b
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.10015dc3
test eax, eax
jge 0x10025433
call fcn.100434e4
test al, al
je 0x10025638
push str.Open_Config_file_failed.
push 0xd2
push str..LogicTxdlConfig.cpp
call fcn.10043373
add esp, 0xc
jmp 0x10025638
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x28]
call fcn.10015df5
test eax, eax
jl 0x100255e8
mov esi, dword [esp + 0x24]
mov eax, esi
or eax, dword [esp + 0x28]
je 0x100255e8
cmp dword [esp + 0x28], ebx
ja 0x100255e8
jb 0x10025471
cmp esi, 0x19000
ja 0x100255e8
inc esi
push 0x1009c768
push esi
call fcn.10058572
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x1c], eax
je 0x10025638
push esi
push ebx
push eax
call fcn.10053710
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 0x100254b9
call fcn.10014bd7
jmp 0x100254bb
xor eax, eax
cmp eax, ebx
jl 0x10025618
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x30]
push ecx
push eax
push dword [esp + 0x24]
mov dword [esp + 0x3c], eax
call fcn.10026c0f
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x100254fc
call fcn.100434e4
test al, al
je 0x10025608
push str.base64_decode_error.
jmp 0x100255f6
mov esi, dword [esp + 0x30]
add esi, esi
push 0x1009c768
push esi
call fcn.10058572
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x14], eax
je 0x10025608
push esi
push ebx
push eax
call fcn.10053710
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.10004242
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x100255d8
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0xf
call fcn.100020a6
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
mov byte [esp + 0x70], 1
call fcn.100162af
push 0x10
call fcn.10052f00
add esp, 0xc
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x68], 2
je 0x10025599
lea ecx, [esp + 0x3c]
mov edi, eax
call fcn.1002d485
mov edi, eax
jmp 0x1002559b
xor edi, edi
mov esi, dword [esp + 0x38]
mov byte [esp + 0x68], 1
mov ecx, dword [esi + 8]
cmp edi, ecx
je 0x100255b5
cmp ecx, ebx
je 0x100255b5
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.10001ad8
jmp 0x10025608
call fcn.100434e4
test al, al
je 0x10025608
push str.decrypt_error.
jmp 0x100255f6
call fcn.100434e4
test al, al
je 0x10025638
push str.Config_file_error.
push 0xd2
push str..LogicTxdlConfig.cpp
call fcn.10043373
add esp, 0xc
cmp dword [esp + 0x20], ebx
je 0x10025618
push dword [esp + 0x20]
call fcn.10055691
pop ecx
cmp dword [esp + 0x1c], ebx
je 0x10025628
push dword [esp + 0x1c]
call fcn.10055691
pop ecx
cmp dword [esp + 0x14], ebx
je 0x10025638
push dword [esp + 0x14]
call fcn.10055691
pop ecx
call fcn.100434e4
test al, al
je 0x10025659
push edi
push str.InitServerConfig_result_d
push 0xd2
push str..LogicTxdlConfig.cpp
call fcn.10043373
add esp, 0x10
neg edi
sbb edi, edi
and edi, 0x7fffbffb
add edi, 0x80004005
cmp dword [esp + 0x18], ebx
je 0x10025679
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.10053191
mov esp, ebp
pop ebp
ret 8