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

Disassembly:
push 0xffffffffffffffff
push 0x54cc9d
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.0040fc20
add esp, 0xc
lea edx, [esp + 0x3c]
xor ebp, ebp
push edx
mov dword [esp + 0x10c], ebp
call fcn.00409d90
mov byte [esp + 0x108], 1
mov ecx, dword [esp + 0xc8]
mov edi, 8
cmp dword [esp + 0xdc], edi
jae 0x4053f1
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x2bc], edi
jb 0x405401
mov eax, dword [ebx + 0x2a8]
jmp 0x405407
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 0x405432
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x2d8], edi
jb 0x405442
mov eax, dword [ebx + 0x2c4]
jmp 0x405448
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 0x40546d
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0xb4], edi
jb 0x40547d
mov eax, dword [ebx + 0xa0]
jmp 0x405483
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 0x4054a8
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x108], edi
jb 0x4054b8
mov eax, dword [ebx + 0xf4]
jmp 0x4054be
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 0x4054e3
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0xd0], edi
jb 0x4054f3
mov eax, dword [ebx + 0xbc]
jmp 0x4054f9
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 0x40551e
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x98], edi
jb 0x40552e
mov eax, dword [ebx + 0x84]
jmp 0x405534
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 0x405559
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x140], edi
jb 0x405569
mov eax, dword [ebx + 0x12c]
jmp 0x40556f
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 0x405594
call fcn.00524192
mov edi, dword [ebx + 0x238]
mov ebp, esi
lea esp, [esp]
mov esi, dword [ebx + 0x248]
cmp dword [ebx + 0x244], esi
jbe 0x4055b3
call fcn.00524192
mov eax, dword [ebx + 0x238]
test edi, edi
je 0x4055c1
cmp edi, eax
je 0x4055c6
call fcn.00524192
cmp ebp, esi
je 0x4057a4
xor eax, eax
push eax
push 0x5899a4
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.0040c670
mov byte [esp + 0x108], 2
test byte [esp + 0x88], 1
je 0x405615
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.00450c1b
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 0x40566c
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], 0
test eax, eax
je 0x40568e
push ecx
lea esi, [esp + 0x4c]
call fcn.0040d460
mov esi, 8
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], esi
jb 0x4056a9
mov edx, dword [esp + 0x20]
push edx
call fcn.00450c1b
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004087e0
test edi, edi
jne 0x405733
call fcn.00524192
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x4056cd
call fcn.00524192
push str..lnk
lea edx, [ebp + 0x38]
push edx
lea eax, [esp + 0xe8]
push eax
call fcn.0040fc20
add esp, 0xc
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x3c]
mov byte [esp + 0x108], 3
call fcn.00409ec0
mov edx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], esi
jae 0x405712
lea edx, [esp + 0xc8]
mov ecx, dword [esp + 0xe4]
cmp dword [esp + 0xf8], esi
jae 0x405729
lea ecx, [esp + 0xe4]
cmp dword [eax + 0x18], esi
jb 0x405737
mov eax, dword [eax + 4]
jmp 0x40573a
mov eax, dword [edi]
jmp 0x4056c3
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 0x40575b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00450c1b
add esp, 4
inc dword [esp + 0x18]
mov byte [esp + 0x108], 1
cmp dword [esp + 0xf8], esi
jb 0x405780
mov edx, dword [esp + 0xe4]
push edx
call fcn.00450c1b
add esp, 4
test edi, edi
jne 0x4057a0
call fcn.00524192
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x405795
call fcn.00524192
add ebp, 0x8c
jmp 0x4055a0
mov eax, dword [edi]
jmp 0x40578b
xor ebp, ebp
cmp dword [esp + 0x18], ebp
je 0x4058d4
push ebp
xor eax, eax
push 0x5899a4
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], ax
call fcn.0040c670
mov byte [esp + 0x108], 4
test byte [esp + 0x88], 1
je 0x4057f3
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.00450c1b
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 0x405832
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], ebp
cmp eax, ebp
je 0x40584b
push ecx
lea esi, [esp + 0x4c]
call fcn.0040d460
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], edi
jb 0x405866
mov edx, dword [esp + 0x20]
push edx
call fcn.00450c1b
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004087e0
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.00409ec0
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x40589c
lea ecx, [esp + 0xc8]
cmp dword [eax + 0x18], edi
jb 0x4058a6
mov eax, dword [eax + 4]
jmp 0x4058a9
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 0x4058d4
mov edx, dword [esp + 0xe4]
push edx
call fcn.00450c1b
add esp, 4
mov esi, dword [ebx + 0x2e8]
mov dword [esp + 0x18], ebp
cmp esi, dword [ebx + 0x2ec]
jbe 0x4058eb
call fcn.00524192
mov edi, dword [esp + 0x38]
mov ebp, dword [edi + 0x2dc]
mov ebx, esi
jmp 0x405900
mov esi, dword [edi + 0x2ec]
cmp dword [edi + 0x2e8], esi
jbe 0x405913
call fcn.00524192
mov eax, dword [edi + 0x2dc]
test ebp, ebp
je 0x405921
cmp ebp, eax
je 0x405926
call fcn.00524192
xor eax, eax
push eax
lea ecx, [esp + 0x20]
push 0x5899a4
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.0040c670
cmp ebx, esi
je 0x405ac8
mov byte [esp + 0x108], 5
test byte [esp + 0x88], 1
je 0x405975
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.00450c1b
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 0x4059cc
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], 0
test eax, eax
je 0x4059e9
push ecx
lea esi, [esp + 0x4c]
call fcn.0040d460
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], edi
jb 0x405a04
mov edx, dword [esp + 0x20]
push edx
call fcn.00450c1b
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004087e0
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.00409ec0
cmp dword [esp + 0xdc], edi
mov edi, dword [esp + 0xc8]
mov esi, eax
jae 0x405a3c
lea edi, [esp + 0xc8]
test ebp, ebp
jne 0x405a62
call fcn.00524192
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x405a51
call fcn.00524192
lea eax, [ebx + 4]
mov edx, 8
cmp dword [eax + 0x14], edx
jb 0x405a67
mov ecx, dword [eax]
jmp 0x405a69
mov eax, dword [ebp]
jmp 0x405a47
mov ecx, eax
cmp dword [esi + 0x18], edx
jb 0x405a73
mov eax, dword [esi + 4]
jmp 0x405a76
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 0x405a9e
mov edx, dword [esp + 0xe4]
push edx
call fcn.00450c1b
add esp, 4
inc dword [esp + 0x18]
test ebp, ebp
jne 0x405ac3
call fcn.00524192
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x405ab7
call fcn.00524192
mov edi, dword [esp + 0x38]
add ebx, 0x1c
jmp 0x405900
mov eax, dword [ebp]
jmp 0x405aad
mov byte [esp + 0x108], 6
test byte [esp + 0x88], 1
je 0x405ae9
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.00450c1b
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 0x405b2a
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], ebp
cmp eax, ebp
je 0x405b43
push ecx
lea esi, [esp + 0x4c]
call fcn.0040d460
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], ebx
jb 0x405b5e
mov edx, dword [esp + 0x20]
push edx
call fcn.00450c1b
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004087e0
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.00409ec0
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], ebx
jae 0x405b94
lea ecx, [esp + 0xc8]
cmp dword [eax + 0x18], ebx
jb 0x405b9e
mov eax, dword [eax + 4]
jmp 0x405ba1
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 0x405bcc
mov edx, dword [esp + 0xe4]
push edx
call fcn.00450c1b
add esp, 4
mov esi, dword [edi + 0x300]
mov dword [esp + 0x18], ebp
cmp esi, dword [edi + 0x304]
jbe 0x405be3
call fcn.00524192
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 0x405c03
call fcn.00524192
mov eax, dword [edi + 0x2f4]
xor edi, edi
cmp ebp, edi
je 0x405c13
cmp ebp, eax
je 0x405c18
call fcn.00524192
push edi
xor eax, eax
lea ecx, [esp + 0x20]
push 0x5899a4
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], ax
call fcn.0040c670
cmp ebx, esi
je 0x405d98
mov byte [esp + 0x108], 7
test byte [esp + 0x88], 1
je 0x405c63
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.00450c1b
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 0x405c9e
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], edi
cmp eax, edi
je 0x405cb7
push ecx
lea esi, [esp + 0x4c]
call fcn.0040d460
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], 8
jb 0x405cd3
mov edx, dword [esp + 0x20]
push edx
call fcn.00450c1b
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004087e0
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.00409ec0
cmp dword [esp + 0xdc], 8
mov edi, dword [esp + 0xc8]
mov esi, eax
jae 0x405d0c
lea edi, [esp + 0xc8]
test ebp, ebp
jne 0x405d32
call fcn.00524192
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x405d21
call fcn.00524192
lea eax, [ebx + 4]
mov edx, 8
cmp dword [eax + 0x14], edx
jb 0x405d37
mov ecx, dword [eax]
jmp 0x405d39
mov eax, dword [ebp]
jmp 0x405d17
mov ecx, eax
cmp dword [esi + 0x18], edx
jb 0x405d43
mov eax, dword [esi + 4]
jmp 0x405d46
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 0x405d6e
mov edx, dword [esp + 0xe4]
push edx
call fcn.00450c1b
add esp, 4
inc dword [esp + 0x18]
test ebp, ebp
jne 0x405d93
call fcn.00524192
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x405d87
call fcn.00524192
mov edi, dword [esp + 0x38]
add ebx, 0x1c
jmp 0x405bf0
mov eax, dword [ebp]
jmp 0x405d7d
mov byte [esp + 0x108], 8
test byte [esp + 0x88], 1
je 0x405db9
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.00450c1b
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 0x405df8
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], edi
cmp eax, edi
je 0x405e11
push ecx
lea esi, [esp + 0x4c]
call fcn.0040d460
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], ebx
jb 0x405e2c
mov edx, dword [esp + 0x20]
push edx
call fcn.00450c1b
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004087e0
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.00409ec0
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], ebx
jae 0x405e62
lea ecx, [esp + 0xc8]
cmp dword [eax + 0x18], ebx
jb 0x405e6c
mov eax, dword [eax + 4]
jmp 0x405e6f
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 0x405e9a
mov edx, dword [esp + 0xe4]
push edx
call fcn.00450c1b
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x108], 0
call fcn.00409e30
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.0052317b
add esp, 4
cmp dword [esp + 0xdc], ebx
jb 0x405ee2
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00450c1b
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.00523c4c
add esp, 0xf8
ret