Function at 0x4a0c80
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9444
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x510
mov eax, dword [0x645300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.00546d20
add esp, 0xc
call fcn.004729c0
mov esi, eax
lea edi, [esi + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
test eax, eax
je 0x4a0d1a
push str.XunYouGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4a0d1a
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x104
lea eax, [ebp - 0x428]
push eax
push 4
call esi
jmp 0x4a0d21
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00546d20
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xorps xmm0, xmm0
mov dword [ebp - 0x430], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x42c], 0
movups xmmword [ebp - 0x440], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a0d90
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.004060e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x458]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x448], 0
push str.XyCrash.dll
movups xmmword [ebp - 0x458], xmm0
mov dword [ebp - 0x444], 0
call fcn.004060e0
mov esi, SysReAllocString
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x430]
mov eax, esi
sub eax, ecx
cmp eax, 9
jb 0x4a1424
cmp dword [ebp - 0x42c], 7
lea eax, [ebp - 0x440]
push 9
cmova eax, dword [ebp - 0x440]
push str.tmpdump_
push ecx
push eax
push ecx
push dword [ebp - 0x4bc]
lea ecx, [ebp - 0x4b8]
call fcn.00489790
mov byte [ebp - 4], 2
mov eax, esi
mov ecx, dword [ebp - 0x430]
sub eax, ecx
cmp eax, 0x1e
jb 0x4a1424
cmp dword [ebp - 0x42c], 7
lea eax, [ebp - 0x440]
push 0x1e
cmova eax, dword [ebp - 0x440]
push str.configcrashcrashrpt_lang.ini
push ecx
push eax
push ecx
push dword [ebp - 0x4bc]
lea ecx, [ebp - 0x4a0]
call fcn.00489790
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x430]
sub esi, ecx
cmp esi, 0xf
jb 0x4a1424
cmp dword [ebp - 0x42c], 7
lea eax, [ebp - 0x440]
push 0xf
cmova eax, dword [ebp - 0x440]
push str.dumpcrash2.txt
push ecx
push eax
push ecx
push dword [ebp - 0x4bc]
lea ecx, [ebp - 0x488]
call fcn.00489790
mov byte [ebp - 4], 4
lea eax, [ebp - 0x458]
cmp dword [ebp - 0x444], 7
cmova eax, dword [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x6527b0], eax
test eax, eax
je 0x4a1256
cmp dword [ebp - 0x474], 7
lea eax, [ebp - 0x488]
push 0
cmova eax, dword [ebp - 0x488]
push eax
call fcn.005854bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 8
cmp eax, 0xffffffff
mov ecx, 0x101
mov edi, 2
cmove edi, ecx
push str.InstallCrash
push dword [0x6527b0]
call esi
push str.InstallCrashV2
push dword [0x6527b0]
mov dword [ebp - 0x4bc], eax
call esi
mov esi, eax
test esi, esi
je 0x4a1147
xorps xmm0, xmm0
mov dword [ebp - 0x50c], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x508], 0
movups xmmword [ebp - 0x51c], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a0f70
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x51c]
call fcn.004060e0
push str.dialConfig.ini
lea ecx, [ebp - 0x51c]
mov byte [ebp - 4], 5
call fcn.00425e00
xorps xmm0, xmm0
mov dword [ebp - 0x460], 0
movups xmmword [ebp - 0x470], xmm0
mov dword [ebp - 0x45c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x470], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x460], xmm0
mov byte [ebp - 4], 7
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x51c]
call fcn.00405d20
cmp dword [ebp - 0x45c], 7
lea eax, [ebp - 0x470]
cmova eax, dword [ebp - 0x470]
push eax
push 1
push str.dump_silent
push str.dialconfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
mov dword [ebp - 0x4f4], 0
push 0x48
xorps xmm0, xmm0
mov dword [ebp - 0x4f0], 0
push str.http:__crashfix.xunyou.com_crashfix_index.php_crashReport_uploadExternal
lea ecx, [ebp - 0x504]
setne byte [ebp - 0x4bc]
movups xmmword [ebp - 0x504], xmm0
call fcn.004060e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x428]
xorps xmm0, xmm0
mov dword [ebp - 0x4dc], 0
movups xmmword [ebp - 0x4ec], xmm0
mov dword [ebp - 0x4d8], 0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a1090
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4ec]
call fcn.004060e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4d4]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x4c4], 0
push str.XunYou
movups xmmword [ebp - 0x4d4], xmm0
mov dword [ebp - 0x4c0], 0
call fcn.004060e0
push dword [ebp - 0x4bc]
lea eax, [ebp - 0x4a0]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x504]
push eax
push 0
push edi
lea eax, [ebp - 0x4ec]
push eax
lea eax, [ebp - 0x4d4]
push eax
call esi
add esp, 0x20
lea ecx, [ebp - 0x4d4]
call fcn.00405d20
lea ecx, [ebp - 0x4ec]
call fcn.00405d20
lea ecx, [ebp - 0x504]
call fcn.00405d20
lea ecx, [ebp - 0x470]
jmp 0x4a1251
mov esi, dword [ebp - 0x4bc]
test esi, esi
je 0x4a1256
push 0x48
xorps xmm0, xmm0
mov dword [ebp - 0x4c4], 0
push str.http:__crashfix.xunyou.com_crashfix_index.php_crashReport_uploadExternal
lea ecx, [ebp - 0x4d4]
mov dword [ebp - 0x4c0], 0
movups xmmword [ebp - 0x4d4], xmm0
call fcn.004060e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x428]
xorps xmm0, xmm0
mov dword [ebp - 0x4dc], 0
movups xmmword [ebp - 0x4ec], xmm0
mov dword [ebp - 0x4d8], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a11b0
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4ec]
call fcn.004060e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x504]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x4f4], 0
push str.XunYou
movups xmmword [ebp - 0x504], xmm0
mov dword [ebp - 0x4f0], 0
call fcn.004060e0
lea eax, [ebp - 0x4a0]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x4d4]
push eax
push 0
push edi
lea eax, [ebp - 0x4ec]
push eax
lea eax, [ebp - 0x504]
push eax
call esi
add esp, 0x1c
lea ecx, [ebp - 0x504]
call fcn.00405d20
lea ecx, [ebp - 0x4ec]
call fcn.00405d20
lea ecx, [ebp - 0x4d4]
call fcn.00405d20
mov ecx, dword [ebp - 0x474]
cmp ecx, 7
jbe 0x4a1296
mov edx, dword [ebp - 0x488]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a128c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1429
push ecx
push edx
call fcn.00543bbf
add esp, 8
mov ecx, dword [ebp - 0x48c]
xor eax, eax
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 7
mov word [ebp - 0x488], ax
cmp ecx, 7
jbe 0x4a12f3
mov edx, dword [ebp - 0x4a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a12e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1429
push ecx
push edx
call fcn.00543bbf
add esp, 8
mov ecx, dword [ebp - 0x4a4]
xor eax, eax
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x48c], 7
mov word [ebp - 0x4a0], ax
cmp ecx, 7
jbe 0x4a1350
mov edx, dword [ebp - 0x4b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a1346
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1429
push ecx
push edx
call fcn.00543bbf
add esp, 8
mov ecx, dword [ebp - 0x444]
xor eax, eax
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 7
mov word [ebp - 0x4b8], ax
cmp ecx, 7
jbe 0x4a13ad
mov edx, dword [ebp - 0x458]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a13a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1429
push ecx
push edx
call fcn.00543bbf
add esp, 8
mov ecx, dword [ebp - 0x42c]
xor eax, eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
cmp ecx, 7
jbe 0x4a1406
mov edx, dword [ebp - 0x440]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4a13fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1429
push ecx
push edx
call fcn.00543bbf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00543bb1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00406a10
call fcn.00560663
int3