Function at 0x1800098e0
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x98
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov r12, rcx
xor r13d, r13d
mov qword [r11 + 0x18], r13
mov qword [r11 + 8], r13
mov rcx, qword [rcx + 0x50]
mov rax, qword [rcx]
lea rdx, [r11 + 0x18]
call qword [rax + SysAllocStringByteLen]
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rsp + 0xe0]
cmp rcx, rax
je 0x180009987
mov rbx, rcx
mov rcx, r13
mov qword [rsp + 0xd0], rcx
test rax, rax
je 0x180009969
mov rdi, qword [rax]
lea r8, [rsp + 0xd0]
lea rdx, str._D_3
mov rcx, rax
call qword [rdi]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xd0]
test rbx, rbx
je 0x180009987
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x18000a108
cmp word [str.http:__localhost_], 0x41
je 0x180009a4b
mov rcx, qword [r12 + 0x70]
cmp dword [rcx - 0x10], 0
jl 0x1800099ca
lea rdx, str.youku.com
call fcn.18000b8c0
test rax, rax
je 0x1800099ca
sub rax, qword [r12 + 0x70]
sar rax, 1
test eax, eax
jns 0x180009a4b
mov rcx, qword [r12 + 0x70]
cmp dword [rcx - 0x10], 0
jl 0x1800099f2
lea rdx, str.battlenet.com
call fcn.18000b8c0
test rax, rax
je 0x1800099f2
sub rax, qword [r12 + 0x70]
sar rax, 1
test eax, eax
jns 0x180009a4b
lea rax, [rsp + 0x50]
mov qword [rsp + 0xd8], rax
lea rcx, str.http:__localhost_
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x180009a21
mov ecx, 0x8007000e
call fcn.180001000
nop
lea rdx, str.ashown_testCal_200
lea rcx, [rsp + 0x78]
call fcn.180006880
nop
lea r9, [rsp + 0x50]
mov r8, rax
mov rdx, qword [rsp + 0xd0]
mov rcx, r12
call fcn.1800079f0
lea r9, [0x18002a800]
xor r8d, r8d
lea rdx, [0x1800206a8]
lea rcx, [0x180020080]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x18002aa08], eax
or rsi, 0xffffffffffffffff
cmp word [0x180028d70], 0x42
je 0x180009dfd
mov ecx, dword [0x18002aa0c]
test ecx, ecx
je 0x180009a93
cmp eax, ecx
ja 0x180009dfd
mov rcx, qword [r12 + 0x70]
cmp dword [rcx - 0x10], 0
jl 0x180009abf
lea rdx, str.youku.com
call fcn.18000b8c0
test rax, rax
je 0x180009abf
sub rax, qword [r12 + 0x70]
sar rax, 1
test eax, eax
jns 0x180009dfd
mov rcx, qword [r12 + 0x70]
cmp dword [rcx - 0x10], 0
jl 0x180009aeb
lea rdx, str.battlenet.com
call fcn.18000b8c0
test rax, rax
je 0x180009aeb
sub rax, qword [r12 + 0x70]
sar rax, 1
test eax, eax
jns 0x180009dfd
mov rbp, qword [0x180028f78]
lea rcx, [0x180028fa8]
mov rax, qword [0x180028fa8]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0xe8], rdi
test rbp, rbp
je 0x180009be5
nop dword [rax + rax]
mov eax, r13d
test rbp, rbp
setne al
test eax, eax
je 0x180009bda
mov rdx, qword [rbp + 0x10]
mov rbp, qword [rbp]
lea rcx, [rdx - 0x18]
lea rbx, [rdi - 0x18]
cmp rcx, rbx
je 0x180009b9c
cmp dword [rbx + 0x10], 0
jl 0x180009b83
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x180009b83
call fcn.1800020e0
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180009b75
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rdi, 0x18
mov qword [rsp + 0xe8], rdi
jmp 0x180009b9c
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0xe8]
call fcn.180003f60
mov rdi, qword [rsp + 0xe8]
test rdi, rdi
je 0x180009bc5
mov rcx, qword [r12 + 0x70]
cmp dword [rcx - 0x10], 0
jl 0x180009bc5
mov rdx, rdi
call fcn.18000b8c0
test rax, rax
je 0x180009bc5
sub rax, qword [r12 + 0x70]
sar rax, 1
test eax, eax
jns 0x180009bcf
test rbp, rbp
je 0x180009be5
jmp 0x180009b20
mov ecx, dword [0x18002aa14]
jmp 0x180009ddb
mov ecx, 0x80004005
call fcn.180001000
int3
xor edx, edx
mov ecx, dword [0x18002aa14]
mov eax, ecx
div dword [0x18002aa10]
test edx, edx
jne 0x180009ddb
lea rcx, [0x180028fa8]
mov rax, qword [0x180028fa8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x140]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x180009c3c
mov ecx, r13d
jmp 0x180009c4d
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x38]
call fcn.180003f60
mov rdx, qword [r12 + 0x68]
mov eax, r13d
test rdx, rdx
setne al
test eax, eax
jne 0x180009c77
mov ecx, 0x80004005
call fcn.180001000
int3
mov rdi, qword [rsp + 0x38]
mov rax, rdi
sub rdx, rdi
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x180009c99
add rax, 2
test cx, cx
jne 0x180009c82
mov eax, r13d
jmp 0x180009c9e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x180009d53
lea rcx, [rdi - 0x18]
mov rbx, qword [r12 + 0x68]
sub rbx, 0x18
cmp rcx, rbx
je 0x180009d08
cmp dword [rbx + 0x10], 0
jl 0x180009cf7
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x180009cf7
call fcn.1800020e0
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x180009cec
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rdi + 0x18]
mov qword [r12 + 0x68], rax
jmp 0x180009d08
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [r12 + 0x68]
call fcn.180003f60
mov r8d, dword [0x18002aa08]
inc r8d
mov dword [0x18002aa08], r8d
inc dword [0x18002aa14]
lea rdx, [0x1800206a0]
lea rcx, [rsp + 0x38]
call fcn.1800084b0
lea r9, [0x18002a800]
mov rdi, qword [rsp + 0x38]
mov r8, rdi
lea rdx, [0x1800206a8]
lea rcx, [0x180020080]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x70], rax
lea rcx, [0x180028d70]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x180009d7f
mov ecx, 0x8007000e
call fcn.180001000
nop
lea rdx, str.asfrgs_Cal_201
lea rcx, [rsp + 0x80]
call fcn.180006880
nop
lea r9, [rsp + 0x58]
mov r8, rax
mov rdx, qword [rsp + 0xd0]
mov rcx, r12
call fcn.1800079f0
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180009dd1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0xe8]
jmp 0x180009de3
mov rdi, qword [rsp + 0xe8]
jmp 0x180009de3
inc ecx
mov dword [0x18002aa14], ecx
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x180009dfd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp word [str.AAAA], 0x41
je 0x18000a0f8
cmp dword [r12 + 0x80], 1
jge 0x180009e46
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x180009e2a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x18000a129
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x18000a129
lea rcx, [0x180028fa8]
mov rax, qword [0x180028fa8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x30], r13
mov eax, dword [r12 + 0x80]
cmp eax, 1
jne 0x180009ea9
xor eax, eax
mov rcx, rsi
lea rdi, str.container
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.container
lea rcx, [rsp + 0xd8]
call fcn.180003f60
jmp 0x180009fa2
cmp eax, 2
jne 0x180009edd
xor eax, eax
mov rcx, rsi
lea rdi, str.main
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.main
lea rcx, [rsp + 0xd8]
call fcn.180003f60
jmp 0x180009fa2
cmp eax, 3
jne 0x180009f11
xor eax, eax
mov rcx, rsi
lea rdi, str.search
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.search
lea rcx, [rsp + 0xd8]
call fcn.180003f60
jmp 0x180009fa2
cmp eax, 4
jne 0x180009f42
xor eax, eax
mov rcx, rsi
lea rdi, str.m_result
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.m_result
lea rcx, [rsp + 0xd8]
call fcn.180003f60
jmp 0x180009fa2
cmp eax, 5
jne 0x180009f73
xor eax, eax
mov rcx, rsi
lea rdi, str.main
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.main
lea rcx, [rsp + 0xd8]
call fcn.180003f60
jmp 0x180009fa2
cmp eax, 6
jne 0x180009fa2
xor eax, eax
mov rcx, rsi
lea rdi, [0x180020638]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x180020638]
lea rcx, [rsp + 0xd8]
call fcn.180003f60
mov qword [rsp + 0x48], r13
xor r9d, r9d
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0xd8]
mov rcx, r12
call fcn.1800096c0
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x180009fde
mov rax, qword [rdi]
lea r8, [rsp + 0x40]
lea rdx, [0x180020178]
mov rcx, rdi
call qword [rax]
nop
test rdi, rdi
je 0x180009fec
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
jne 0x18000a06b
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18000a00b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x18000a01a
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
nop
mov rdx, qword [rsp + 0xd8]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x18000a03b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x18000a04f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x18000a129
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x18000a129
lea r8, [rsp + 0x30]
mov rcx, r12
call fcn.180007410
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18000a0a9
lea rax, [0x180020630]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [r12 + 0x80]
mov rdx, rcx
mov rcx, r12
call fcn.180008940
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18000a0b5
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18000a0c6
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rsp + 0xd8]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x18000a0f8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xd0]
jmp 0x18000a108
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x18000a11b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rsp + 0xe0]
test rax, rax
je 0x18000a129
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
add rsp, 0x98
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret