Function at 0x100082c0
Capabilities:
Read .ini file
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1001bd83
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x5fc
push ebx
push esi
mov esi, str.ok668ok_E11E4F4B38DACC9566C010F0192779DAD5C926FFE24A0BAA2DE61E9E3C382E52E6FE7D6D17940668
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x1000830e
test cl, cl
je 0x1000830a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x1000830e
add eax, 2
add esi, 2
test cl, cl
jne 0x100082e6
xor eax, eax
jmp 0x10008313
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000831e
push 0
call fcn.1000a70c
lea ecx, [esp + 0x3c]
call fcn.10003b30
mov eax, dword [0x1002512c]
mov dword [esp + 0x60c], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x614]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x610], 2
call fcn.10012996
mov ecx, dword [esp + 0x618]
mov byte [esp + 0x60c], 3
push ecx
lea ecx, [esp + 0xc]
call fcn.10012996
lea edx, [esp + 0x4b0]
push str.Shiyan
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x618], 4
call fcn.10012b7c
push str.Opts.ini
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x618], 5
call fcn.10012b7c
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x610], 6
call fcn.10012a61
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60c], 5
call fcn.10012928
lea ecx, [esp + 0x20]
mov byte [esp + 0x60c], 4
call fcn.10012928
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x4c4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000843e
mov ecx, dword [esp + 0x10]
push str.Option1
push ecx
call fcn.1000a630
add esp, 8
test eax, eax
jne 0x1000841a
push str.00000000
lea ecx, [esp + 0xc]
call fcn.10012ab1
mov edx, dword [esp + 0x10]
push str.Option2
push edx
call fcn.1000a630
add esp, 8
test eax, eax
jne 0x1000843e
push 0x100250f4
lea ecx, [esp + 0xc]
call fcn.10012ab1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x100085db
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x28], ecx
push edx
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], ecx
push 0x11
mov dword [esp + 0x3c], ecx
push eax
mov byte [esp + 0x44], cl
mov ecx, dword [esp + 0x1c]
push 0x10026420
push ecx
push str.UserOptions
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x28]
lea ecx, [esp + 0xc]
push edx
call fcn.10012ab1
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.10012d66
lea ecx, [esp + 0xc]
call fcn.10012dc0
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], 0x10
jne 0x1000851f
lea ecx, [esp + 0x20]
call fcn.10001000
lea eax, [esp + 0x1a]
lea edx, [esp + 0xc]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.1001269d
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
call fcn.100011e0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x610], 7
call fcn.10012a61
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60c], 4
call fcn.10012928
mov al, byte [esp + 0x1a]
test al, al
je 0x10008593
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
jmp 0x100086c2
push 0x100250f4
push eax
call fcn.1000a630
add esp, 8
test eax, eax
jne 0x10008593
lea ecx, [esp + 8]
mov byte [esp + 0x60c], 3
call fcn.10012928
lea ecx, [esp + 0x10]
mov byte [esp + 0x60c], 2
call fcn.10012928
lea ecx, [esp + 0xc]
mov byte [esp + 0x60c], 1
call fcn.10012928
lea ecx, [esp + 0x14]
mov byte [esp + 0x60c], 0
call fcn.10012928
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60c], 0xffffffff
call fcn.10003dc0
mov eax, 0x10026420
jmp 0x10008728
mov edx, dword [esp + 0x10]
push str.Option1
push edx
call fcn.1000a630
add esp, 8
test eax, eax
jne 0x100085b7
push str.00000000
lea ecx, [esp + 0xc]
call fcn.10012ab1
mov eax, dword [esp + 0x10]
push str.Option2
push eax
call fcn.1000a630
add esp, 8
test eax, eax
jne 0x100085db
push 0x100250f4
lea ecx, [esp + 0xc]
call fcn.10012ab1
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
cmp eax, 8
jne 0x100086bb
push 0x100250f4
push ecx
call fcn.1000a630
add esp, 8
test eax, eax
jne 0x10008616
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call fcn.10012a61
push 0x10026420
lea ecx, [esp + 0xc]
jmp 0x10008680
lea ecx, [esp + 0x1c]
call fcn.10001000
lea edx, [esp + 0x1b]
lea eax, [esp + 8]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.1001269d
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x28]
call fcn.10001050
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x610], 8
call fcn.10012a61
lea ecx, [esp + 0x24]
mov byte [esp + 0x60c], 4
call fcn.10012928
lea ecx, [esp + 0xc]
call fcn.10012dae
mov al, byte [esp + 0x1b]
test al, al
jne 0x10008685
push 0x10026420
lea ecx, [esp + 0x10]
call fcn.10012ab1
mov edx, dword [esp + 0xc]
push 0x100250f4
push edx
call fcn.1000a630
add esp, 8
test eax, eax
mov eax, dword [esp + 0xc]
je 0x100086a5
cmp dword [eax - 8], 0x10
jne 0x100086bb
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push eax
push edx
push str.UserOptions
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 8]
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0xc]
call fcn.10012d17
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x60c], 3
call fcn.10012928
lea ecx, [esp + 0x10]
mov byte [esp + 0x60c], 2
call fcn.10012928
lea ecx, [esp + 0xc]
mov byte [esp + 0x60c], 1
call fcn.10012928
lea ecx, [esp + 0x14]
mov byte [esp + 0x60c], 0
call fcn.10012928
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60c], 0xffffffff
call fcn.10003dc0
mov eax, esi
mov ecx, dword [esp + 0x604]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x608
ret 0xc