Function at 0x4ca342
Capabilities:
Check if file exists
Enumerate gui resources
Enumerate processes
Read file via mapping

Disassembly:
push 0xaec
mov eax, 0x5d852b
call fcn.00506dfb
mov ebx, ecx
mov dword [ebp - 0xac0], ebx
call fcn.0041279d
push eax
lea ecx, [ebp - 0xac4]
call fcn.00411d94
and dword [ebp - 4], 0
mov ecx, 0x6833d0
call fcn.00493154
mov esi, eax
lea edi, [ebp - 0xa9c]
mov ecx, 0x218
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x20]
push str.userinfo.nickname
mov ecx, esi
mov dword [ebp - 0xad4], esi
call fcn.00530748
test eax, eax
je 0x4ca3ae
mov edx, dword [eax]
lea ecx, [ebp - 0x894]
push ecx
mov ecx, eax
call dword [edx + 0x3c]
push str.userinfo.mail
mov ecx, esi
call fcn.00530748
test eax, eax
je 0x4ca3cc
mov edx, dword [eax]
lea ecx, [ebp - 0xa94]
push ecx
mov ecx, eax
call dword [edx + 0x3c]
push str.userinfo.lv
mov ecx, esi
call fcn.00530748
mov edi, eax
test edi, edi
je 0x4ca408
push dword [ebp - 0x454]
lea eax, [ebp - 0xac4]
push 0x60ccfc
push eax
call fcn.00412690
mov eax, dword [edi]
add esp, 0xc
mov ebx, dword [ebp - 0xac4]
mov ecx, edi
push ebx
call dword [eax + 0x3c]
jmp 0x4ca40e
mov ebx, dword [ebp - 0xac4]
push str.userinfo.onlineday
mov ecx, esi
call fcn.00530748
mov esi, eax
test esi, esi
je 0x4ca454
cvttsd2si ecx, qword [ebp - 0x44c]
lea eax, [ebp - 0xac4]
push ecx
cvttsd2si ecx, qword [ebp - 0x494]
push ecx
push 0x61ac24
push eax
call fcn.00412690
mov eax, dword [esi]
add esp, 0x10
mov ebx, dword [ebp - 0xac4]
mov ecx, esi
push ebx
call dword [eax + 0x3c]
call fcn.0041279d
push eax
lea ecx, [ebp - 0xad8]
call fcn.00411d94
movsd xmm0, qword [ebp - 0x44c]
lea eax, [ebp - 0xad8]
sub esp, 0x10
mov byte [ebp - 4], 1
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x494]
movsd qword [esp], xmm0
push dword [ebp - 0x454]
push str.Lv_d
push eax
call fcn.00412690
mov ecx, dword [ebp - 0x454]
xor esi, esi
mov edi, dword [ebp - 0xad8]
mov eax, ecx
cdq
add esp, 0x1c
and edx, 0xf
mov dword [ebp - 0xaa0], esi
add eax, edx
sar eax, 4
mov dword [ebp - 0xaa8], eax
test eax, eax
jle 0x4ca576
mov ebx, dword [ebp - 0xad4]
call fcn.0041279d
push eax
lea ecx, [ebp - 0xaa4]
call fcn.00411d94
push esi
lea eax, [ebp - 0xaa4]
mov byte [ebp - 4], 2
push str.userinfo.sun_d
push eax
call fcn.00412690
mov esi, dword [ebp - 0xaa4]
add esp, 0xc
mov ecx, ebx
push esi
call fcn.00530748
mov dword [ebp - 0xab0], eax
test eax, eax
je 0x4ca546
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x180]
mov eax, dword [ebp - 0xab0]
mov ecx, eax
push str.IDB_USERINFO_SUN
mov edx, dword [eax]
call dword [edx + 0x84]
mov ecx, dword [ebp - 0xab0]
push edi
mov eax, dword [ecx]
call dword [eax + 0x150]
inc dword [ebp - 0xaa0]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00412ac4
mov esi, dword [ebp - 0xaa0]
cmp esi, dword [ebp - 0xaa8]
jl 0x4ca4d4
mov ecx, dword [ebp - 0x454]
mov ebx, dword [ebp - 0xac4]
mov eax, ecx
and eax, 0x8000000f
jns 0x4ca584
dec eax
or eax, 0xfffffff0
inc eax
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0xab8], eax
test eax, eax
jle 0x4ca646
mov ebx, dword [ebp - 0xad4]
jmp 0x4ca5a9
mov esi, dword [ebp - 0xaa0]
call fcn.0041279d
push eax
lea ecx, [ebp - 0xaa4]
call fcn.00411d94
push esi
lea eax, [ebp - 0xaa4]
mov byte [ebp - 4], 3
push str.userinfo.sun_d
push eax
call fcn.00412690
mov esi, dword [ebp - 0xaa4]
add esp, 0xc
mov ecx, ebx
push esi
call fcn.00530748
mov dword [ebp - 0xab0], eax
test eax, eax
je 0x4ca61b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x180]
mov eax, dword [ebp - 0xab0]
mov ecx, eax
push str.IDB_USERINFO_MOON
mov edx, dword [eax]
call dword [edx + 0x84]
mov ecx, dword [ebp - 0xab0]
push edi
mov eax, dword [ecx]
call dword [eax + 0x150]
inc dword [ebp - 0xaa0]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00412ac4
sub dword [ebp - 0xab8], 1
jne 0x4ca5a3
mov ecx, dword [ebp - 0x454]
mov ebx, dword [ebp - 0xac4]
and ecx, 0x80000003
jns 0x4ca653
dec ecx
or ecx, 0xfffffffc
inc ecx
mov dword [ebp - 0xab8], ecx
test ecx, ecx
jle 0x4ca704
mov ebx, dword [ebp - 0xad4]
call fcn.0041279d
push eax
lea ecx, [ebp - 0xaa4]
call fcn.00411d94
mov eax, dword [ebp - 0xaa0]
push eax
lea eax, [ebp - 0xaa4]
mov byte [ebp - 4], 4
push str.userinfo.sun_d
push eax
call fcn.00412690
mov esi, dword [ebp - 0xaa4]
add esp, 0xc
mov ecx, ebx
push esi
call fcn.00530748
mov dword [ebp - 0xab0], eax
test eax, eax
je 0x4ca6df
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x180]
mov eax, dword [ebp - 0xab0]
mov ecx, eax
push str.IDB_USERINFO_STAR
mov edx, dword [eax]
call dword [edx + 0x84]
mov ecx, dword [ebp - 0xab0]
push edi
mov eax, dword [ecx]
call dword [eax + 0x150]
inc dword [ebp - 0xaa0]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00412ac4
sub dword [ebp - 0xab8], 1
jne 0x4ca667
mov ebx, dword [ebp - 0xac4]
mov edi, dword [ebp - 0xad4]
mov ecx, edi
push str.userinfo.progress
call fcn.00530748
mov ecx, eax
test ecx, ecx
je 0x4ca76d
movsd xmm1, qword [0x624460]
movsd xmm0, qword [ebp - 0x484]
movsd xmm2, qword [ebp - 0x48c]
mulsd xmm2, xmm1
mulsd xmm0, xmm1
addsd xmm2, xmm0
movss xmm0, dword [ebp - 0x474]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
divsd xmm2, qword [0x624470]
mulsd xmm2, qword [0x624488]
addsd xmm2, xmm1
cvttsd2si eax, xmm2
push eax
call fcn.00540797
push str.userinfo.tweakcubestate
mov ecx, edi
call fcn.00530748
mov esi, eax
mov dword [ebp - 0xaa4], esi
test esi, esi
je 0x4ca884
call fcn.0041279d
push eax
lea ecx, [ebp - 0xab4]
call fcn.00411d94
movsd xmm0, qword [ebp - 0x48c]
mov ecx, esi
comisd xmm0, xmmword [0x624468]
mov eax, dword [esi]
mov byte [ebp - 4], 5
jb 0x4ca7d4
push 0xff009b49
call dword [eax + 0x54]
lea eax, [ebp - 0xab4]
push 0x61ad70
push eax
call fcn.00412690
pop ecx
pop ecx
jmp 0x4ca866
push 0xfff87300
call dword [eax + 0x54]
movsd xmm0, qword [0x624468]
lea eax, [ebp - 0xaac]
push ecx
push ecx
mov ecx, dword [ebp - 0xac0]
movsd qword [esp], xmm0
push eax
call fcn.0047e18c
mov esi, eax
movsd xmm0, qword [ebp - 0x48c]
lea eax, [ebp - 0xaa8]
push ecx
push ecx
mov ecx, dword [ebp - 0xac0]
movsd qword [esp], xmm0
push eax
mov byte [ebp - 4], 6
call fcn.0047e18c
push dword [esi]
mov byte [ebp - 4], 7
push dword [eax]
lea eax, [ebp - 0xab4]
push 0x61ad7c
push eax
call fcn.00412690
mov ecx, dword [ebp - 0xaa8]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0xaac]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov esi, dword [ebp - 0xaa4]
mov eax, dword [esi]
mov esi, dword [ebp - 0xab4]
mov ecx, dword [ebp - 0xaa4]
push esi
call dword [eax + 0x3c]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00412ac4
push str.userinfo.downloadsaayaa
mov ecx, edi
call fcn.00530748
push str.userinfo.runsaayaa
mov ecx, edi
mov dword [ebp - 0xaa8], eax
call fcn.00530748
push str.userinfo.wrongaccount
mov ecx, edi
mov dword [ebp - 0xaa0], eax
call fcn.00530748
push 0x61ad90
mov ecx, edi
mov dword [ebp - 0xab8], eax
call fcn.00530748
mov esi, eax
mov ecx, edi
push str.userinfo.saayaatext
mov dword [ebp - 0xaac], esi
call fcn.00530748
mov ecx, dword [ebp - 0xaa8]
test ecx, ecx
je 0x4cad8c
cmp dword [ebp - 0xaa0], 0
je 0x4cad8c
cmp dword [ebp - 0xab8], 0
je 0x4cad8c
test esi, esi
je 0x4cad8c
test eax, eax
je 0x4cad8c
mov eax, dword [ecx]
push 0
call dword [eax + 0x180]
mov ecx, dword [ebp - 0xaa0]
push 0
mov eax, dword [ecx]
call dword [eax + 0x180]
mov ecx, dword [ebp - 0xab8]
push 0
mov eax, dword [ecx]
call dword [eax + 0x180]
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x180]
movsd xmm0, qword [ebp - 0x484]
mov ecx, esi
comisd xmm0, xmmword [0x624468]
mov eax, dword [esi]
jb 0x4ca983
push 0xff009b49
call dword [eax + 0x54]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x180]
mov eax, dword [esi]
mov ecx, esi
push 0x61ad70
call dword [eax + 0x3c]
jmp 0x4cad8c
push 0xff00affe
call dword [eax + 0x54]
lea eax, [ebp - 0xab0]
push eax
call fcn.0048cf73
pop ecx
mov eax, dword [ebp - 0xab0]
mov byte [ebp - 4], 8
cmp dword [eax - 0xc], 0
je 0x4cad6a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cad6a
xor esi, esi
lea eax, [ebp - 0x238]
push 0x228
push esi
push eax
mov dword [ebp - 0xabc], esi
call fcn.0056b050
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0xaa4], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4caa76
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xab4]
call fcn.00413f09
push 0x61ade4
lea ecx, [ebp - 0xab4]
mov byte [ebp - 4], 9
call fcn.0042e69b
test eax, eax
je 0x4caa5a
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
mov ecx, dword [ebp - 0xab4]
mov esi, eax
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.00412ac4
test esi, esi
mov esi, dword [ebp - 0xaa4]
jne 0x4caa03
jmp 0x4caa76
mov ecx, dword [ebp - 0xab4]
mov dword [ebp - 0xabc], 1
mov byte [ebp - 4], 8
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xabc], 0
je 0x4cad62
push dword [ebp - 0xab0]
lea eax, [ebp - 0xaa8]
push eax
call fcn.0048ba90
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
call fcn.0041279d
push eax
lea ecx, [ebp - 0xaa0]
call fcn.00411d94
mov ecx, dword [ebp - 0xac0]
push ecx
push 0x477fbb
mov byte [ebp - 4], 0xb
mov eax, dword [ecx + 0x2c0]
mov dword [ecx + 0x2c4], eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0xac0]
xor esi, esi
mov dword [ebp - 0xaa4], esi
mov eax, dword [ecx + 0x2c4]
sub eax, dword [ecx + 0x2c0]
sar eax, 2
test eax, eax
je 0x4cac23
call fcn.0041279d
push eax
lea ecx, [ebp - 0xabc]
call fcn.00411d94
mov eax, dword [ebp - 0xac0]
mov byte [ebp - 4], 0xc
mov eax, dword [eax + 0x2c0]
push dword [eax + esi*4]
lea eax, [ebp - 0xabc]
push str.ruanmei.saayaa._x.username
push eax
call fcn.00412690
mov esi, dword [ebp - 0xabc]
add esp, 0xc
push esi
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0xab4], eax
test eax, eax
je 0x4cabd3
xor ecx, ecx
push ecx
push ecx
push ecx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xac8], eax
test eax, eax
je 0x4cabc7
push eax
lea ecx, [ebp - 0xaa0]
call fcn.0041421f
push dword [ebp - 0xac8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea eax, [ebp - 0xa94]
push eax
lea ecx, [ebp - 0xacc]
call fcn.00413f09
push dword [ebp - 0xaa0]
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0042e69b
mov ecx, dword [ebp - 0xacc]
neg eax
sbb al, al
add ecx, 0xfffffff0
inc al
mov dword [ebp - 0xac8], eax
call fcn.00412ac4
cmp byte [ebp - 0xac8], 0
jne 0x4cac0b
push dword [ebp - 0xab4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0xb
call fcn.00412ac4
mov ecx, dword [ebp - 0xac0]
mov esi, dword [ebp - 0xaa4]
inc esi
mov dword [ebp - 0xaa4], esi
mov eax, dword [ecx + 0x2c4]
sub eax, dword [ecx + 0x2c0]
sar eax, 2
cmp esi, eax
jb 0x4caafa
jmp 0x4cac23
push dword [ebp - 0xab4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0xb
call fcn.00412ac4
push str.3.2.0.2
lea ecx, [ebp - 0xaa8]
call fcn.0042e69b
test eax, eax
jle 0x4cac73
lea eax, [ebp - 0xa94]
push eax
lea ecx, [ebp - 0xaa0]
call fcn.0042e69b
test eax, eax
je 0x4cac73
mov esi, dword [ebp - 0xab8]
mov ecx, esi
push 0x61ae48
mov eax, dword [esi]
call dword [eax + 0x150]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x180]
jmp 0x4cad44
call fcn.0041279d
push eax
lea ecx, [ebp - 0xabc]
call fcn.00411d94
movsd xmm0, qword [0x624468]
lea eax, [ebp - 0xac8]
push ecx
push ecx
mov ecx, dword [ebp - 0xac0]
movsd qword [esp], xmm0
push eax
mov byte [ebp - 4], 0xe
call fcn.0047e18c
mov esi, eax
movsd xmm0, qword [ebp - 0x484]
lea eax, [ebp - 0xacc]
push ecx
push ecx
mov ecx, dword [ebp - 0xac0]
movsd qword [esp], xmm0
push eax
mov byte [ebp - 4], 0xf
call fcn.0047e18c
push dword [esi]
mov byte [ebp - 4], 0x10
push dword [eax]
lea eax, [ebp - 0xabc]
push 0x61ad7c
push eax
call fcn.00412690
mov ecx, dword [ebp - 0xacc]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0xac8]
mov byte [ebp - 4], 0xe
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov esi, dword [ebp - 0xaac]
mov ecx, esi
push 0xfff87300
mov eax, dword [esi]
call dword [eax + 0x54]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x180]
mov eax, dword [esi]
mov esi, dword [ebp - 0xabc]
mov ecx, dword [ebp - 0xaac]
push esi
call dword [eax + 0x3c]
lea ecx, [esi - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0xaa0]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0xaa8]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
jmp 0x4cad7a
mov ecx, dword [ebp - 0xaa0]
jmp 0x4cad70
mov ecx, dword [ebp - 0xaa8]
mov eax, dword [ecx]
push 1
call dword [eax + 0x180]
mov ecx, dword [ebp - 0xab0]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00412ac4
push str.userinfo.ithomestate
mov ecx, edi
call fcn.00530748
mov esi, eax
mov ecx, edi
push str.userinfo.ithometext
mov dword [ebp - 0xaa4], esi
call fcn.00530748
mov dword [ebp - 0xaac], eax
test esi, esi
je 0x4caf68
test eax, eax
je 0x4caf68
call fcn.0041279d
push eax
lea ecx, [ebp - 0xaa8]
call fcn.00411d94
mov ecx, dword [0x682bb4]
lea eax, [ebp - 0xac8]
push eax
mov byte [ebp - 4], 0x11
call fcn.0048521f
mov esi, eax
mov ecx, dword [0x682bb4]
lea eax, [ebp - 0xacc]
push eax
mov byte [ebp - 4], 0x12
call fcn.00485268
push dword [esi]
mov byte [ebp - 4], 0x13
push dword [eax]
lea eax, [ebp - 0xaa8]
push 0x61aee8
push eax
call fcn.00412690
mov ecx, dword [ebp - 0xacc]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0xac8]
mov byte [ebp - 4], 0x11
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0xaac]
mov edi, dword [ebp - 0xaa8]
push edi
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov esi, dword [ebp - 0xaa4]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax + 0x180]
mov ecx, dword [0x682bb4]
lea eax, [ebp - 0xacc]
push eax
call fcn.00485268
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.0042ebcb
push eax
call fcn.0058a233
pop ecx
mov ecx, dword [ebp - 0xacc]
add ecx, 0xfffffff0
mov dword [ebp - 0xaac], eax
mov byte [ebp - 4], 0x11
call fcn.00412ac4
mov eax, dword [ebp - 0xaac]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x474]
addss xmm0, dword [0x624458]
cvttss2si ecx, xmm0
mov dword [ebp - 0xacc], ecx
cmp ecx, eax
jl 0x4caeee
mov eax, dword [esi]
mov ecx, esi
push 0xff009b49
call dword [eax + 0x54]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x180]
mov eax, dword [esi]
mov ecx, esi
push 0x61ad70
call dword [eax + 0x3c]
jmp 0x4caf56
call fcn.0041279d
push eax
lea ecx, [ebp - 0xabc]
call fcn.00411d94
mov eax, dword [ebp - 0xaac]
push eax
push dword [ebp - 0xacc]
lea eax, [ebp - 0xabc]
mov byte [ebp - 4], 0x15
push str.__d__d
push eax
call fcn.00412690
mov eax, dword [esi]
add esp, 0x10
mov ecx, esi
push 0xfff87300
call dword [eax + 0x54]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x180]
mov eax, dword [esi]
mov esi, dword [ebp - 0xabc]
mov ecx, dword [ebp - 0xaa4]
push esi
call dword [eax + 0x3c]
lea ecx, [esi - 0x10]
call fcn.00412ac4
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 1
call fcn.00412ac4
mov edi, dword [ebp - 0xad4]
and dword [ebp - 0xae0], 0
lea ecx, [ebp - 0xae0]
and dword [ebp - 0xadc], 0
call fcn.004eeb16
mov dword [ebp - 0xae0], eax
mov ecx, dword [0x68313c]
mov byte [ebp - 4], 0x16
test ecx, ecx
je 0x4cafb8
lea eax, [ebp - 0xad0]
push eax
call fcn.00489759
push eax
lea ecx, [ebp - 0xae0]
call fcn.00457640
lea ecx, [ebp - 0xad0]
call fcn.0045595f
push str.userinfo.medal
mov ecx, edi
call fcn.00530748
test eax, eax
je 0x4cafd5
lea esi, [eax - 8]
xor eax, eax
mov dword [ebp - 0xaac], esi
jmp 0x4cafdf
xor eax, eax
mov esi, eax
mov dword [ebp - 0xaac], eax
test esi, esi
je 0x4cb3ba
mov edx, eax
mov dword [ebp - 0xae8], eax
mov dword [ebp - 0xaec], edx
mov dword [ebp - 0xae4], eax
mov dword [ebp - 0xaf8], eax
mov dword [ebp - 0xaf4], eax
mov dword [ebp - 0xaf0], eax
mov ecx, dword [ebp - 0xae0]
mov byte [ebp - 4], 0x18
mov eax, dword [ecx]
mov dword [ebp - 0xaa8], eax
cmp eax, ecx
je 0x4cb064
mov ecx, dword [eax + 0x10]
add eax, 0x14
push eax
cmp byte [ebp + ecx - 0x441], 0
lea ecx, [ebp - 0xaec]
jne 0x4cb040
lea ecx, [ebp - 0xaf8]
call fcn.004ff4ab
lea ecx, [ebp - 0xaa8]
call fcn.0045932b
mov eax, dword [ebp - 0xaa8]
cmp eax, dword [ebp - 0xae0]
jne 0x4cb023
mov edx, dword [ebp - 0xaec]
lea eax, [ebp - 0xacc]
mov dword [ebp - 0xacc], 0x4fff52
push eax
push dword [ebp - 0xae8]
push edx
call fcn.0044adf6
lea eax, [ebp - 0xacc]
mov dword [ebp - 0xacc], 0x4fff52
push eax
push dword [ebp - 0xaf4]
push dword [ebp - 0xaf8]
call fcn.0044adf6
add esp, 0x18
lea eax, [ebp - 0xacc]
lea ecx, [ebp - 0xaec]
push dword [ebp - 0xaf4]
push dword [ebp - 0xaf8]
push dword [ebp - 0xae8]
push eax
call fcn.0044cd01
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov esi, dword [ebp - 0xaec]
cmp esi, dword [ebp - 0xae8]
je 0x4cb3a0
mov ebx, dword [ebp - 0xaac]
add esi, 0x18
mov dword [ebp - 0xaa4], esi
cmp byte [esi - 0x14], 0
mov eax, dword [esi - 0x18]
mov dword [ebp - 0xab4], eax
je 0x4cb382
lea ecx, [ebp - 0x158]
call fcn.005584d3
mov eax, dword [ebp - 0xac0]
mov ecx, eax
push str.medal.button
add eax, 0x18
mov byte [ebp - 4], 0x19
neg ecx
push 0
sbb ecx, ecx
and ecx, eax
push edi
push ecx
push 0
push ecx
mov eax, esp
lea ecx, [ebp - 0x158]
mov dword [eax], str.IDX_LOGINDLG
call fcn.00558fe0
mov edi, eax
lea eax, [esi - 0xc]
push 0x61af5c
push eax
lea eax, [ebp - 0xac8]
mov dword [ebp - 0xab8], edi
push eax
call fcn.0042dfbd
lea ecx, [esi - 8]
mov byte [ebp - 4], 0x1a
push ecx
push eax
lea eax, [ebp - 0xacc]
push eax
call fcn.0043910d
add esp, 0x18
mov edx, dword [edi]
mov ecx, edi
push dword [eax]
mov byte [ebp - 4], 0x1b
call dword [edx + 0x150]
mov ecx, dword [ebp - 0xacc]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0xac8]
mov byte [ebp - 4], 0x19
lea ecx, [ecx - 0x10]
call fcn.00412ac4
cmp dword [ebp - 0xab4], 1
jne 0x4cb1be
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x158]
call fcn.0041279d
push eax
lea ecx, [ebp - 0xaa8]
call fcn.00411d94
push dword [ebp - 0xab4]
lea eax, [ebp - 0xaa8]
mov byte [ebp - 4], 0x1c
push 0x60ccfc
push eax
call fcn.00412690
mov eax, dword [edi]
add esp, 0xc
mov edi, dword [ebp - 0xaa8]
mov ecx, dword [ebp - 0xab8]
push edi
call dword [eax + 0x170]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4cb2f4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cb2f4
call fcn.0041279d
push eax
lea ecx, [ebp - 0xaa0]
call fcn.00411d94
push dword [ebp - 0xab4]
lea eax, [ebp - 0xaa0]
mov byte [ebp - 4], 0x1d
push str.USER_MEDAL__d
push eax
call fcn.00412690
mov esi, dword [ebp - 0xaa0]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x4cb26c
push dword [esi - 0xc]
lea ecx, [ebp - 0xaa0]
call fcn.00412624
mov esi, dword [ebp - 0xaa0]
mov ecx, dword [0x686d48]
push esi
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0052b887
test eax, eax
jne 0x4cb2e8
mov ecx, dword [ebp - 0xaa4]
push eax
push eax
push eax
call fcn.0042ebcb
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [0x686d48]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0052c68e
cmp dword [esi - 4], 1
mov dword [ebp - 0xaac], eax
jle 0x4cb2ce
push dword [esi - 0xc]
lea ecx, [ebp - 0xaa0]
call fcn.00412624
mov esi, dword [ebp - 0xaa0]
mov eax, dword [ebp - 0xaac]
push 1
push eax
push ecx
mov eax, esp
mov dword [eax], esi
mov ecx, dword [0x686d48]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0052ae81
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0x1c
call fcn.00412ac4
call fcn.0041279d
push eax
lea ecx, [ebp - 0xab0]
call fcn.00411d94
mov eax, dword [ebp - 0xab4]
push eax
mov byte [ebp - 4], 0x1e
cmp byte [ebp + eax - 0x441], 0
lea eax, [ebp - 0xab0]
je 0x4cb327
push str.resUSER_MEDAL__d_source0_0_24_24
jmp 0x4cb32c
push str.resUSER_MEDAL__d_source24_0_48_24
push eax
call fcn.00412690
mov ecx, dword [ebp - 0xab8]
add esp, 0xc
mov esi, dword [ebp - 0xab0]
mov eax, dword [ecx]
push esi
call dword [eax + 0x84]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0xab8]
call dword [eax + 0x10]
lea ecx, [esi - 0x10]
call fcn.00412ac4
lea ecx, [edi - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x18
call fcn.00524f67
mov edi, dword [ebp - 0xad4]
mov esi, dword [ebp - 0xaa4]
add esi, 0x1c
mov dword [ebp - 0xaa4], esi
lea eax, [esi - 0x18]
cmp eax, dword [ebp - 0xae8]
jne 0x4cb0f2
mov ebx, dword [ebp - 0xac4]
lea ecx, [ebp - 0xaf8]
call fcn.004f3cc7
lea ecx, [ebp - 0xaec]
mov byte [ebp - 4], 0x16
call fcn.004f3cc7
cmp dword [ebp - 0x460], 0
jg 0x4cb3df
push str.userinfo.modifuserinfo.nickedit
mov ecx, edi
call fcn.00530748
test eax, eax
je 0x4cb3df
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x18c]
lea ecx, [ebp - 0xae0]
call fcn.0045595f
mov ecx, dword [ebp - 0xad8]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebx - 0x10]
call fcn.00412ac4
call fcn.00506da5
ret