Function at 0x100099c0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086cfc
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x100be518]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x454], ebx
mov dword [ebp - 4], 0
call fcn.10004ab0
mov ecx, eax
test ecx, ecx
je 0x10009ce5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x454], eax
push 0x2e
push str.https:__account.ludashi.com_pay_commonPay.html
lea ecx, [ebp - 0x454]
mov dword [ebp - 4], 1
call fcn.1000aad0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1005f7e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100c199c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.debug_url.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10009b07
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1005f7e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x454]
push str.AccountPlugin
push str.DebugUrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009ae5
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x454]
call fcn.1000aad0
call fcn.10024580
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov esi, dword [ebp - 0x454]
movzx eax, al
sub eax, 1
jne 0x10009c7d
push 0x59
push 0x100912f0
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.10005540
push 3
push 0x1009134c
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 2
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.10005540
push 0x121
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.10006e80
mov edi, eax
push 0x10091350
push edi
mov byte [ebp - 4], 4
call fcn.100060a0
test esi, esi
mov eax, 0x10092bf8
cmovne eax, esi
push eax
push edi
call fcn.100060a0
add esp, 0x10
call fcn.10024580
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x4ec]
call fcn.100080d0
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10009c24
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009c1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009cef
push edx
push ecx
call fcn.1002f4a1
add esp, 8
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x10009c7d
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009c73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009cf4
push edx
push ecx
call fcn.1002f4a1
add esp, 8
mov ecx, esi
mov dword [ebx + 0x10], 0
xor eax, eax
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009c95
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.10005630
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10009cc5
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002f820
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100087a0
call fcn.10062769
call fcn.10062769
int3