Function at 0x140003c00
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1400590c0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x48], rcx
xor eax, eax
mov dword [rsp + 0x30], eax
mov ecx, dword [0x14005b160]
mov rax, qword gs:[0x58]
mov edx, 4
mov rbx, qword [rax + rcx*8]
add rbx, rdx
mov eax, dword [rbx]
cmp dword [0x14005a6c8], eax
jg 0x1400041b5
lea rdi, [0x14005a6d0]
mov eax, dword [rbx]
cmp dword [0x14005a6f8], eax
jg 0x140004214
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x14005a6c0]
mov ebx, dword [rax - 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x140004153
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140003800
nop
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0x70]
call fcn.14003fd50
nop
mov rdi, qword [rsp + 0x40]
lea r13, [rdi - 0x18]
mov qword [rsp + 0x48], r13
mov rcx, qword [r13]
test rcx, rcx
je 0x140003ce9
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140003cfa
call fcn.1400033f0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140004253
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 2
lea rcx, str.AliWorkbench.ini
mov r15, 0xffffffffffffffff
mov rsi, r15
nop dword [rax + rax]
inc rsi
cmp word [rcx + rsi*2], 0
jne 0x140003d30
movsxd r12, dword [rdi - 0x10]
lea r14d, [rsi + r12]
test r14d, r14d
js 0x1400041aa
mov ecx, 1
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, r14d
or eax, ecx
jge 0x140003d6f
mov edx, r14d
lea rcx, [rsp + 0x38]
call fcn.1400045e0
mov rbx, qword [rsp + 0x38]
add r12, r12
je 0x140003d99
test rbx, rbx
jne 0x140003d8b
call fcn.140023c08
mov dword [rax], 0x16
call fcn.140023ae4
jmp 0x140003d99
mov r8, r12
mov rdx, rdi
mov rcx, rbx
call fcn.14003f6b0
movsxd r8, esi
add r8, r8
lea rcx, [r12 + rbx]
je 0x140003dc8
test rcx, rcx
jne 0x140003dbc
call fcn.140023c08
mov dword [rax], 0x16
call fcn.140023ae4
jmp 0x140003dc8
lea rdx, str.AliWorkbench.ini
call fcn.14003f6b0
cmp r14d, dword [rbx - 0xc]
jg 0x1400041aa
mov dword [rbx - 0x10], r14d
movsxd rax, r14d
xor r12d, r12d
mov word [rbx + rax*2], r12w
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x70]
lea r8, [0x1400437dc]
lea rdx, str.Version
lea rcx, str.Common
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [rsp + 0x30], r12d
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140003e2d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [0x14005a6d0]
mov qword [rsp + 0x60], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [0x14005a6c0]
cmp dword [rax - 0x10], 0
jne 0x14000412c
lea rdx, [rsp + 0x70]
mov rcx, r15
nop dword [rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x140003e60
test rcx, rcx
jne 0x140003ed9
lea rbx, [rax - 0x18]
cmp r13, rbx
je 0x14000412c
cmp dword [rbx + 0x10], ecx
jl 0x140003ebf
mov rax, qword [rbx]
cmp qword [r13], rax
jne 0x140003ebf
mov rcx, r13
call fcn.140002eb0
mov rdi, rax
mov ecx, r15d
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140003eaf
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [rdi + 0x18]
mov qword [0x14005a6c0], rax
jmp 0x14000412c
mov r8d, dword [rdi - 0x10]
mov rdx, qword [rsp + 0x40]
lea rcx, [0x14005a6c0]
call fcn.1400048b0
jmp 0x14000412c
mov rcx, qword [r13]
test rcx, rcx
je 0x140003ef0
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140003f01
call fcn.1400033f0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x14000425e
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x30], 4
lea rcx, [rsp + 0x70]
mov rsi, r15
nop dword [rax]
inc rsi
cmp word [rcx + rsi*2], 0
jne 0x140003f30
movsxd r14, dword [rdi - 0x10]
lea edi, [rsi + r14]
test edi, edi
js 0x14000419f
mov ecx, 1
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, edi
or eax, ecx
jge 0x140003f6c
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1400045e0
mov rbx, qword [rsp + 0x50]
add r14, r14
je 0x140003f98
test rbx, rbx
jne 0x140003f88
call fcn.140023c08
mov dword [rax], 0x16
call fcn.140023ae4
jmp 0x140003f98
mov r8, r14
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14003f6b0
movsxd r8, esi
add r8, r8
lea rcx, [r14 + rbx]
je 0x140003fc5
test rcx, rcx
jne 0x140003fbb
call fcn.140023c08
mov dword [rax], 0x16
call fcn.140023ae4
jmp 0x140003fc5
lea rdx, [rsp + 0x70]
call fcn.14003f6b0
cmp edi, dword [rbx - 0xc]
jg 0x14000419f
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], r12w
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x140003ff0
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140004001
call fcn.1400033f0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140004269
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0xc
lea rcx, [0x1400437d8]
mov rsi, r15
nop dword [rax + rax]
inc rsi
cmp word [rcx + rsi*2], 0
jne 0x140004030
movsxd r13, dword [rbx - 0x10]
lea r14d, [rsi + r13]
test r14d, r14d
js 0x140004274
mov ecx, 1
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, r14d
or eax, ecx
jge 0x14000406f
mov edx, r14d
lea rcx, [rsp + 0x38]
call fcn.1400045e0
mov rdi, qword [rsp + 0x38]
add r13, r13
je 0x140004099
test rdi, rdi
jne 0x14000408b
call fcn.140023c08
mov dword [rax], 0x16
call fcn.140023ae4
jmp 0x140004099
mov r8, r13
mov rdx, rbx
mov rcx, rdi
call fcn.14003f6b0
movsxd r8, esi
add r8, r8
lea rcx, [rdi + r13]
je 0x1400040c8
test rcx, rcx
jne 0x1400040bc
call fcn.140023c08
mov dword [rax], 0x16
call fcn.140023ae4
jmp 0x1400040c8
lea rdx, [0x1400437d8]
call fcn.14003f6b0
cmp r14d, dword [rdi - 0xc]
jg 0x140004274
mov dword [rdi - 0x10], r14d
movsxd rax, r14d
xor ecx, ecx
mov word [rdi + rax*2], cx
lea rdx, [rsp + 0x38]
lea rcx, [0x14005a6c0]
call fcn.140002590
nop
lea rdx, [rdi - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000410c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, r15d
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x140004127
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + 8]
mov r13, qword [rsp + 0x48]
lea rcx, [0x14005a6d0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lock xadd dword [r13 + 0x10], r15d
sub r15d, 1
jg 0x140004153
mov rcx, qword [r13]
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + 8]
mov rcx, qword [0x14005a6c0]
add rcx, 0xffffffffffffffe8
call fcn.140002eb0
add rax, 0x18
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rax
mov rax, rcx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14001d590
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80070057
call fcn.140002a90
nop
mov ecx, 0x80070057
call fcn.140002a90
nop
lea rcx, [0x14005a6c8]
call fcn.14001db7c
cmp dword [0x14005a6c8], 0xffffffff
jne 0x140003c6b
call fcn.1400033f0
mov rcx, rax
test rax, rax
jne 0x1400041e6
mov ecx, 0x80004005
call fcn.140002a90
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [0x14005a6c0], rax
lea rcx, [0x140041e20]
call fcn.14001d81c
lea rcx, [0x14005a6c8]
call fcn.14001db10
jmp 0x140003c6b
lea rcx, [0x14005a6f8]
call fcn.14001db7c
cmp dword [0x14005a6f8], 0xffffffff
jne 0x140003c80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x140041dc0]
call fcn.14001d81c
lea rcx, [0x14005a6f8]
call fcn.14001db10
jmp 0x140003c80
mov ecx, 0x80004005
call fcn.140002a90
nop
mov ecx, 0x80004005
call fcn.140002a90
nop
mov ecx, 0x80004005
call fcn.140002a90
nop
mov ecx, 0x80070057
call fcn.140002a90
int3