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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c8cc
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x100c6868]
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.10007010
mov ecx, eax
test ecx, ecx
je 0x1000d6d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x454], eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edx
push eax
lea eax, [ebp - 0x454]
push str.https:__account.ludashi.com_pay_commonPay.html_t_d
push eax
call fcn.1000c340
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1005df20
add esp, 0x1c
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100c9f00]
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 0x1000d4f2
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1005df20
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]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d4d0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x454]
call fcn.1000ee00
call fcn.10029730
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 0x1000d668
push 0x59
push 0x10097c40
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.100090c0
push 3
push 0x10097c3c
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.100090c0
push 0x122
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.10005580
mov edi, eax
push str.load_url:
push edi
mov byte [ebp - 4], 4
call fcn.10003800
test esi, esi
mov eax, 0x10096490
cmovne eax, esi
push eax
push edi
call fcn.10003800
add esp, 0x10
call fcn.10029730
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x4ec]
call fcn.10006a50
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x1000d60f
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d605
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d6da
push edx
push ecx
call fcn.10040cc5
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 0x1000d668
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d65e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d6df
push edx
push ecx
call fcn.10040cc5
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 0x1000d680
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.100091b0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000d6b0
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.10041044
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1000bf90
call fcn.100613b9
call fcn.100613b9
int3