Function at 0x405290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x54d0dd
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x5b0630]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b0630]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov ebx, ecx
push str.installedFileList.txt
lea eax, [ebx + 0x18]
push eax
lea ecx, [esp + 0xcc]
push ecx
mov dword [esp + 0x44], ebx
call fcn.0040fc00
add esp, 0xc
lea edx, [esp + 0x3c]
xor ebp, ebp
push edx
mov dword [esp + 0x10c], ebp
call fcn.00409cd0
mov byte [esp + 0x108], 1
mov ecx, dword [esp + 0xc8]
mov edi, 8
cmp dword [esp + 0xdc], edi
jae 0x405321
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x2bc], edi
jb 0x405331
mov eax, dword [ebx + 0x2a8]
jmp 0x405337
lea eax, [ebx + 0x2a8]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ecx
push eax
push str.surveytoken
push str.survey
call esi
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x405362
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x2d8], edi
jb 0x405372
mov eax, dword [ebx + 0x2c4]
jmp 0x405378
lea eax, [ebx + 0x2c4]
push ecx
push eax
push str.surveyurl
push str.survey
call esi
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x40539d
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0xb4], edi
jb 0x4053ad
mov eax, dword [ebx + 0xa0]
jmp 0x4053b3
lea eax, [ebx + 0xa0]
push ecx
push eax
push str.Gameid
push str.game
call esi
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x4053d8
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x108], edi
jb 0x4053e8
mov eax, dword [ebx + 0xf4]
jmp 0x4053ee
lea eax, [ebx + 0xf4]
push ecx
push eax
push str.Gversion
push str.game
call esi
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x405413
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0xd0], edi
jb 0x405423
mov eax, dword [ebx + 0xbc]
jmp 0x405429
lea eax, [ebx + 0xbc]
push ecx
push eax
push str.enName
push str.game
call esi
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x40544e
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x98], edi
jb 0x40545e
mov eax, dword [ebx + 0x84]
jmp 0x405464
lea eax, [ebx + 0x84]
push ecx
push eax
push str.chsName
push str.game
call esi
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x405489
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x140], edi
jb 0x405499
mov eax, dword [ebx + 0x12c]
jmp 0x40549f
lea eax, [ebx + 0x12c]
push ecx
push eax
push str.website
push str.game
call esi
mov esi, dword [ebx + 0x244]
mov dword [esp + 0x18], ebp
cmp esi, dword [ebx + 0x248]
jbe 0x4054c4
call fcn.00524172
mov edi, dword [ebx + 0x238]
mov ebp, esi
lea esp, [esp]
mov esi, dword [ebx + 0x248]
cmp dword [ebx + 0x244], esi
jbe 0x4054e3
call fcn.00524172
mov eax, dword [ebx + 0x238]
test edi, edi
je 0x4054f1
cmp edi, eax
je 0x4054f6
call fcn.00524172
cmp ebp, esi
je 0x4056d4
xor eax, eax
push eax
push 0x589988
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.0040c5e0
mov byte [esp + 0x108], 2
test byte [esp + 0x88], 1
je 0x405545
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.00450c25
add esp, 4
mov edx, dword [esp + 0x58]
mov dword [edx], 0
mov eax, dword [esp + 0x68]
mov dword [eax], 0
mov ecx, dword [esp + 0x78]
mov dword [ecx], 0
mov edx, dword [esp + 0x5c]
mov dword [edx], 0
mov eax, dword [esp + 0x6c]
mov dword [eax], 0
mov ecx, dword [esp + 0x7c]
mov dword [ecx], 0
and dword [esp + 0x88], 0xfffffffe
mov ecx, dword [esp + 0x20]
mov esi, 8
cmp dword [esp + 0x34], esi
jae 0x40559c
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], 0
test eax, eax
je 0x4055be
push ecx
lea esi, [esp + 0x4c]
call fcn.0040d430
mov esi, 8
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], esi
jb 0x4055d9
mov edx, dword [esp + 0x20]
push edx
call fcn.00450c25
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00408710
test edi, edi
jne 0x405663
call fcn.00524172
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4055fd
call fcn.00524172
push str..lnk
lea edx, [ebp + 0x38]
push edx
lea eax, [esp + 0xe8]
push eax
call fcn.0040fc00
add esp, 0xc
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x3c]
mov byte [esp + 0x108], 3
call fcn.00409e00
mov edx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], esi
jae 0x405642
lea edx, [esp + 0xc8]
mov ecx, dword [esp + 0xe4]
cmp dword [esp + 0xf8], esi
jae 0x405659
lea ecx, [esp + 0xe4]
cmp dword [eax + 0x18], esi
jb 0x405667
mov eax, dword [eax + 4]
jmp 0x40566a
mov eax, dword [edi]
jmp 0x4055f3
add eax, 4
push edx
push ecx
push eax
push str.shortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x34], esi
jb 0x40568b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00450c25
add esp, 4
inc dword [esp + 0x18]
mov byte [esp + 0x108], 1
cmp dword [esp + 0xf8], esi
jb 0x4056b0
mov edx, dword [esp + 0xe4]
push edx
call fcn.00450c25
add esp, 4
test edi, edi
jne 0x4056d0
call fcn.00524172
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4056c5
call fcn.00524172
add ebp, 0x8c
jmp 0x4054d0
mov eax, dword [edi]
jmp 0x4056bb
xor ebp, ebp
cmp dword [esp + 0x18], ebp
je 0x405804
push ebp
xor eax, eax
push 0x589988
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], ax
call fcn.0040c5e0
mov byte [esp + 0x108], 4
test byte [esp + 0x88], 1
je 0x405723
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.00450c25
add esp, 4
mov edx, dword [esp + 0x58]
mov dword [edx], ebp
mov eax, dword [esp + 0x68]
mov dword [eax], ebp
mov ecx, dword [esp + 0x78]
mov dword [ecx], ebp
mov edx, dword [esp + 0x5c]
mov dword [edx], ebp
mov eax, dword [esp + 0x6c]
mov dword [eax], ebp
mov ecx, dword [esp + 0x7c]
mov dword [ecx], ebp
and dword [esp + 0x88], 0xfffffffe
mov ecx, dword [esp + 0x20]
mov edi, 8
cmp dword [esp + 0x34], edi
jae 0x405762
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], ebp
cmp eax, ebp
je 0x40577b
push ecx
lea esi, [esp + 0x4c]
call fcn.0040d430
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], edi
jb 0x405796
mov edx, dword [esp + 0x20]
push edx
call fcn.00450c25
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00408710
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.00409e00
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x4057cc
lea ecx, [esp + 0xc8]
cmp dword [eax + 0x18], edi
jb 0x4057d6
mov eax, dword [eax + 4]
jmp 0x4057d9
add eax, 4
push ecx
push eax
push str.totalnum
push str.shortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0xf8], edi
jb 0x405804
mov edx, dword [esp + 0xe4]
push edx
call fcn.00450c25
add esp, 4
mov esi, dword [ebx + 0x2e8]
mov dword [esp + 0x18], ebp
cmp esi, dword [ebx + 0x2ec]
jbe 0x40581b
call fcn.00524172
mov edi, dword [esp + 0x38]
mov ebp, dword [edi + 0x2dc]
mov ebx, esi
jmp 0x405830
mov esi, dword [edi + 0x2ec]
cmp dword [edi + 0x2e8], esi
jbe 0x405843
call fcn.00524172
mov eax, dword [edi + 0x2dc]
test ebp, ebp
je 0x405851
cmp ebp, eax
je 0x405856
call fcn.00524172
xor eax, eax
push eax
lea ecx, [esp + 0x20]
push 0x589988
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.0040c5e0
cmp ebx, esi
je 0x4059f8
mov byte [esp + 0x108], 5
test byte [esp + 0x88], 1
je 0x4058a5
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.00450c25
add esp, 4
mov edx, dword [esp + 0x58]
mov dword [edx], 0
mov eax, dword [esp + 0x68]
mov dword [eax], 0
mov ecx, dword [esp + 0x78]
mov dword [ecx], 0
mov edx, dword [esp + 0x5c]
mov dword [edx], 0
mov eax, dword [esp + 0x6c]
mov dword [eax], 0
mov ecx, dword [esp + 0x7c]
mov dword [ecx], 0
and dword [esp + 0x88], 0xfffffffe
mov ecx, dword [esp + 0x20]
mov edi, 8
cmp dword [esp + 0x34], edi
jae 0x4058fc
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], 0
test eax, eax
je 0x405919
push ecx
lea esi, [esp + 0x4c]
call fcn.0040d430
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], edi
jb 0x405934
mov edx, dword [esp + 0x20]
push edx
call fcn.00450c25
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00408710
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.00409e00
cmp dword [esp + 0xdc], edi
mov edi, dword [esp + 0xc8]
mov esi, eax
jae 0x40596c
lea edi, [esp + 0xc8]
test ebp, ebp
jne 0x405992
call fcn.00524172
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x405981
call fcn.00524172
lea eax, [ebx + 4]
mov edx, 8
cmp dword [eax + 0x14], edx
jb 0x405997
mov ecx, dword [eax]
jmp 0x405999
mov eax, dword [ebp]
jmp 0x405977
mov ecx, eax
cmp dword [esi + 0x18], edx
jb 0x4059a3
mov eax, dword [esi + 4]
jmp 0x4059a6
lea eax, [esi + 4]
push edi
push ecx
push eax
push str.SkipDir
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0xf8], 8
jb 0x4059ce
mov edx, dword [esp + 0xe4]
push edx
call fcn.00450c25
add esp, 4
inc dword [esp + 0x18]
test ebp, ebp
jne 0x4059f3
call fcn.00524172
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4059e7
call fcn.00524172
mov edi, dword [esp + 0x38]
add ebx, 0x1c
jmp 0x405830
mov eax, dword [ebp]
jmp 0x4059dd
mov byte [esp + 0x108], 6
test byte [esp + 0x88], 1
je 0x405a19
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.00450c25
add esp, 4
mov edx, dword [esp + 0x58]
xor ebp, ebp
mov dword [edx], ebp
mov eax, dword [esp + 0x68]
mov dword [eax], ebp
mov ecx, dword [esp + 0x78]
mov dword [ecx], ebp
mov edx, dword [esp + 0x5c]
mov dword [edx], ebp
mov eax, dword [esp + 0x6c]
mov dword [eax], ebp
mov ecx, dword [esp + 0x7c]
mov dword [ecx], ebp
and dword [esp + 0x88], 0xfffffffe
mov ecx, dword [esp + 0x20]
mov ebx, 8
cmp dword [esp + 0x34], ebx
jae 0x405a5a
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], ebp
cmp eax, ebp
je 0x405a73
push ecx
lea esi, [esp + 0x4c]
call fcn.0040d430
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], ebx
jb 0x405a8e
mov edx, dword [esp + 0x20]
push edx
call fcn.00450c25
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00408710
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.00409e00
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], ebx
jae 0x405ac4
lea ecx, [esp + 0xc8]
cmp dword [eax + 0x18], ebx
jb 0x405ace
mov eax, dword [eax + 4]
jmp 0x405ad1
add eax, 4
push ecx
push eax
push str.totalnum
push str.SkipDir
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0xf8], ebx
jb 0x405afc
mov edx, dword [esp + 0xe4]
push edx
call fcn.00450c25
add esp, 4
mov esi, dword [edi + 0x300]
mov dword [esp + 0x18], ebp
cmp esi, dword [edi + 0x304]
jbe 0x405b13
call fcn.00524172
mov edi, dword [esp + 0x38]
mov ebp, dword [edi + 0x2f4]
mov ebx, esi
nop
mov esi, dword [edi + 0x304]
cmp dword [edi + 0x300], esi
jbe 0x405b33
call fcn.00524172
mov eax, dword [edi + 0x2f4]
xor edi, edi
cmp ebp, edi
je 0x405b43
cmp ebp, eax
je 0x405b48
call fcn.00524172
push edi
xor eax, eax
lea ecx, [esp + 0x20]
push 0x589988
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], ax
call fcn.0040c5e0
cmp ebx, esi
je 0x405cc8
mov byte [esp + 0x108], 7
test byte [esp + 0x88], 1
je 0x405b93
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.00450c25
add esp, 4
mov edx, dword [esp + 0x58]
mov dword [edx], edi
mov eax, dword [esp + 0x68]
mov dword [eax], edi
mov ecx, dword [esp + 0x78]
mov dword [ecx], edi
mov edx, dword [esp + 0x5c]
mov dword [edx], edi
mov eax, dword [esp + 0x6c]
mov dword [eax], edi
mov ecx, dword [esp + 0x7c]
mov dword [ecx], edi
and dword [esp + 0x88], 0xfffffffe
cmp dword [esp + 0x34], 8
mov ecx, dword [esp + 0x20]
jae 0x405bce
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], edi
cmp eax, edi
je 0x405be7
push ecx
lea esi, [esp + 0x4c]
call fcn.0040d430
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], 8
jb 0x405c03
mov edx, dword [esp + 0x20]
push edx
call fcn.00450c25
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00408710
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.00409e00
cmp dword [esp + 0xdc], 8
mov edi, dword [esp + 0xc8]
mov esi, eax
jae 0x405c3c
lea edi, [esp + 0xc8]
test ebp, ebp
jne 0x405c62
call fcn.00524172
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x405c51
call fcn.00524172
lea eax, [ebx + 4]
mov edx, 8
cmp dword [eax + 0x14], edx
jb 0x405c67
mov ecx, dword [eax]
jmp 0x405c69
mov eax, dword [ebp]
jmp 0x405c47
mov ecx, eax
cmp dword [esi + 0x18], edx
jb 0x405c73
mov eax, dword [esi + 4]
jmp 0x405c76
lea eax, [esi + 4]
push edi
push ecx
push eax
push str.SkipFile
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0xf8], 8
jb 0x405c9e
mov edx, dword [esp + 0xe4]
push edx
call fcn.00450c25
add esp, 4
inc dword [esp + 0x18]
test ebp, ebp
jne 0x405cc3
call fcn.00524172
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x405cb7
call fcn.00524172
mov edi, dword [esp + 0x38]
add ebx, 0x1c
jmp 0x405b20
mov eax, dword [ebp]
jmp 0x405cad
mov byte [esp + 0x108], 8
test byte [esp + 0x88], 1
je 0x405ce9
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.00450c25
add esp, 4
mov edx, dword [esp + 0x58]
mov dword [edx], edi
mov eax, dword [esp + 0x68]
mov dword [eax], edi
mov ecx, dword [esp + 0x78]
mov dword [ecx], edi
mov edx, dword [esp + 0x5c]
mov dword [edx], edi
mov eax, dword [esp + 0x6c]
mov dword [eax], edi
mov ecx, dword [esp + 0x7c]
mov dword [ecx], edi
and dword [esp + 0x88], 0xfffffffe
mov ecx, dword [esp + 0x20]
mov ebx, 8
cmp dword [esp + 0x34], ebx
jae 0x405d28
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], edi
cmp eax, edi
je 0x405d41
push ecx
lea esi, [esp + 0x4c]
call fcn.0040d430
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], ebx
jb 0x405d5c
mov edx, dword [esp + 0x20]
push edx
call fcn.00450c25
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00408710
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.00409e00
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], ebx
jae 0x405d92
lea ecx, [esp + 0xc8]
cmp dword [eax + 0x18], ebx
jb 0x405d9c
mov eax, dword [eax + 4]
jmp 0x405d9f
add eax, 4
push ecx
push eax
push str.totalnum
push str.SkipFile
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0xf8], ebx
jb 0x405dca
mov edx, dword [esp + 0xe4]
push edx
call fcn.00450c25
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x108], 0
call fcn.00409d70
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.0052315b
add esp, 4
cmp dword [esp + 0xdc], ebx
jb 0x405e12
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00450c25
add esp, 4
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00523c2c
add esp, 0xf8
ret