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

Disassembly:
push 0xffffffffffffffff
push 0x54c2cd
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x5af640]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5af640]
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.00410210
add esp, 0xc
lea edx, [esp + 0x3c]
xor ebp, ebp
push edx
mov dword [esp + 0x10c], ebp
call fcn.0040a380
mov byte [esp + 0x108], 1
mov ecx, dword [esp + 0xc8]
mov edi, 8
cmp dword [esp + 0xdc], edi
jae 0x405861
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x310], edi
jb 0x405871
mov eax, dword [ebx + 0x2fc]
jmp 0x405877
lea eax, [ebx + 0x2fc]
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 0x4058a2
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x32c], edi
jb 0x4058b2
mov eax, dword [ebx + 0x318]
jmp 0x4058b8
lea eax, [ebx + 0x318]
push ecx
push eax
push str.surveyurl
push str.survey
call esi
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x4058dd
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0xb4], edi
jb 0x4058ed
mov eax, dword [ebx + 0xa0]
jmp 0x4058f3
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 0x405918
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x108], edi
jb 0x405928
mov eax, dword [ebx + 0xf4]
jmp 0x40592e
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 0x405953
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0xd0], edi
jb 0x405963
mov eax, dword [ebx + 0xbc]
jmp 0x405969
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 0x40598e
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x98], edi
jb 0x40599e
mov eax, dword [ebx + 0x84]
jmp 0x4059a4
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 0x4059c9
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x140], edi
jb 0x4059d9
mov eax, dword [ebx + 0x12c]
jmp 0x4059df
lea eax, [ebx + 0x12c]
push ecx
push eax
push str.website
push str.game
call esi
cmp dword [ebx + 0x1ac], ebp
je 0x405a30
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x405a0c
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x1b0], edi
jb 0x405a1c
mov eax, dword [ebx + 0x19c]
jmp 0x405a22
lea eax, [ebx + 0x19c]
push ecx
push eax
push str.GameKeyOnChannel
push str.game
call esi
cmp dword [ebx + 0x1e4], ebp
je 0x405a73
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x405a4f
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x1e8], edi
jb 0x405a5f
mov eax, dword [ebx + 0x1d4]
jmp 0x405a65
lea eax, [ebx + 0x1d4]
push ecx
push eax
push str.GameInstallerType
push str.game
call esi
cmp dword [ebx + 0x1c8], ebp
je 0x405ab6
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x405a92
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x1cc], edi
jb 0x405aa2
mov eax, dword [ebx + 0x1b8]
jmp 0x405aa8
lea eax, [ebx + 0x1b8]
push ecx
push eax
push str.ChannelSDKDir
push str.game
call esi
cmp dword [ebx + 0x1e4], ebp
je 0x405af9
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x405ad5
lea ecx, [esp + 0xc8]
cmp dword [ebx + 0x1e8], edi
jb 0x405ae5
mov eax, dword [ebx + 0x1d4]
jmp 0x405aeb
lea eax, [ebx + 0x1d4]
push ecx
push eax
push str.GameInstallerType
push str.game
call esi
mov esi, dword [ebx + 0x298]
mov dword [esp + 0x18], ebp
cmp esi, dword [ebx + 0x29c]
jbe 0x405b10
call fcn.005234a2
mov edi, dword [ebx + 0x28c]
mov ebp, esi
jmp 0x405b20
mov esi, dword [ebx + 0x29c]
cmp dword [ebx + 0x298], esi
jbe 0x405b33
call fcn.005234a2
mov eax, dword [ebx + 0x28c]
test edi, edi
je 0x405b41
cmp edi, eax
je 0x405b46
call fcn.005234a2
cmp ebp, esi
je 0x405d24
xor eax, eax
push eax
push 0x588b1c
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.0040cc30
mov byte [esp + 0x108], 2
test byte [esp + 0x88], 1
je 0x405b95
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.004508d0
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 0x405bec
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], 0
test eax, eax
je 0x405c0e
push ecx
lea esi, [esp + 0x4c]
call fcn.0040da20
mov esi, 8
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], esi
jb 0x405c29
mov edx, dword [esp + 0x20]
push edx
call fcn.004508d0
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00408db0
test edi, edi
jne 0x405cb3
call fcn.005234a2
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x405c4d
call fcn.005234a2
push str..lnk
lea edx, [ebp + 0x38]
push edx
lea eax, [esp + 0xe8]
push eax
call fcn.00410210
add esp, 0xc
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x3c]
mov byte [esp + 0x108], 3
call fcn.0040a4b0
mov edx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], esi
jae 0x405c92
lea edx, [esp + 0xc8]
mov ecx, dword [esp + 0xe4]
cmp dword [esp + 0xf8], esi
jae 0x405ca9
lea ecx, [esp + 0xe4]
cmp dword [eax + 0x18], esi
jb 0x405cb7
mov eax, dword [eax + 4]
jmp 0x405cba
mov eax, dword [edi]
jmp 0x405c43
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 0x405cdb
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004508d0
add esp, 4
inc dword [esp + 0x18]
mov byte [esp + 0x108], 1
cmp dword [esp + 0xf8], esi
jb 0x405d00
mov edx, dword [esp + 0xe4]
push edx
call fcn.004508d0
add esp, 4
test edi, edi
jne 0x405d20
call fcn.005234a2
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x405d15
call fcn.005234a2
add ebp, 0x8c
jmp 0x405b20
mov eax, dword [edi]
jmp 0x405d0b
xor ebp, ebp
cmp dword [esp + 0x18], ebp
je 0x405e54
push ebp
xor eax, eax
push 0x588b1c
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], ax
call fcn.0040cc30
mov byte [esp + 0x108], 4
test byte [esp + 0x88], 1
je 0x405d73
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.004508d0
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 0x405db2
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], ebp
cmp eax, ebp
je 0x405dcb
push ecx
lea esi, [esp + 0x4c]
call fcn.0040da20
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], edi
jb 0x405de6
mov edx, dword [esp + 0x20]
push edx
call fcn.004508d0
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00408db0
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.0040a4b0
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x405e1c
lea ecx, [esp + 0xc8]
cmp dword [eax + 0x18], edi
jb 0x405e26
mov eax, dword [eax + 4]
jmp 0x405e29
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 0x405e54
mov edx, dword [esp + 0xe4]
push edx
call fcn.004508d0
add esp, 4
mov esi, dword [ebx + 0x33c]
mov dword [esp + 0x18], ebp
cmp esi, dword [ebx + 0x340]
jbe 0x405e6b
call fcn.005234a2
mov edi, dword [esp + 0x38]
mov ebp, dword [edi + 0x330]
mov ebx, esi
jmp 0x405e80
mov esi, dword [edi + 0x340]
cmp dword [edi + 0x33c], esi
jbe 0x405e93
call fcn.005234a2
mov eax, dword [edi + 0x330]
test ebp, ebp
je 0x405ea1
cmp ebp, eax
je 0x405ea6
call fcn.005234a2
xor eax, eax
push eax
lea ecx, [esp + 0x20]
push 0x588b1c
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.0040cc30
cmp ebx, esi
je 0x406048
mov byte [esp + 0x108], 5
test byte [esp + 0x88], 1
je 0x405ef5
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.004508d0
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 0x405f4c
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], 0
test eax, eax
je 0x405f69
push ecx
lea esi, [esp + 0x4c]
call fcn.0040da20
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], edi
jb 0x405f84
mov edx, dword [esp + 0x20]
push edx
call fcn.004508d0
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00408db0
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.0040a4b0
cmp dword [esp + 0xdc], edi
mov edi, dword [esp + 0xc8]
mov esi, eax
jae 0x405fbc
lea edi, [esp + 0xc8]
test ebp, ebp
jne 0x405fe2
call fcn.005234a2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x405fd1
call fcn.005234a2
lea eax, [ebx + 4]
mov edx, 8
cmp dword [eax + 0x14], edx
jb 0x405fe7
mov ecx, dword [eax]
jmp 0x405fe9
mov eax, dword [ebp]
jmp 0x405fc7
mov ecx, eax
cmp dword [esi + 0x18], edx
jb 0x405ff3
mov eax, dword [esi + 4]
jmp 0x405ff6
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 0x40601e
mov edx, dword [esp + 0xe4]
push edx
call fcn.004508d0
add esp, 4
inc dword [esp + 0x18]
test ebp, ebp
jne 0x406043
call fcn.005234a2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x406037
call fcn.005234a2
mov edi, dword [esp + 0x38]
add ebx, 0x1c
jmp 0x405e80
mov eax, dword [ebp]
jmp 0x40602d
mov byte [esp + 0x108], 6
test byte [esp + 0x88], 1
je 0x406069
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.004508d0
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 0x4060aa
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], ebp
cmp eax, ebp
je 0x4060c3
push ecx
lea esi, [esp + 0x4c]
call fcn.0040da20
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], ebx
jb 0x4060de
mov edx, dword [esp + 0x20]
push edx
call fcn.004508d0
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00408db0
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.0040a4b0
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], ebx
jae 0x406114
lea ecx, [esp + 0xc8]
cmp dword [eax + 0x18], ebx
jb 0x40611e
mov eax, dword [eax + 4]
jmp 0x406121
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 0x40614c
mov edx, dword [esp + 0xe4]
push edx
call fcn.004508d0
add esp, 4
mov esi, dword [edi + 0x354]
mov dword [esp + 0x18], ebp
cmp esi, dword [edi + 0x358]
jbe 0x406163
call fcn.005234a2
mov edi, dword [esp + 0x38]
mov ebp, dword [edi + 0x348]
mov ebx, esi
nop
mov esi, dword [edi + 0x358]
cmp dword [edi + 0x354], esi
jbe 0x406183
call fcn.005234a2
mov eax, dword [edi + 0x348]
xor edi, edi
cmp ebp, edi
je 0x406193
cmp ebp, eax
je 0x406198
call fcn.005234a2
push edi
xor eax, eax
lea ecx, [esp + 0x20]
push 0x588b1c
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
mov word [esp + 0x28], ax
call fcn.0040cc30
cmp ebx, esi
je 0x406318
mov byte [esp + 0x108], 7
test byte [esp + 0x88], 1
je 0x4061e3
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.004508d0
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 0x40621e
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], edi
cmp eax, edi
je 0x406237
push ecx
lea esi, [esp + 0x4c]
call fcn.0040da20
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], 8
jb 0x406253
mov edx, dword [esp + 0x20]
push edx
call fcn.004508d0
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00408db0
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.0040a4b0
cmp dword [esp + 0xdc], 8
mov edi, dword [esp + 0xc8]
mov esi, eax
jae 0x40628c
lea edi, [esp + 0xc8]
test ebp, ebp
jne 0x4062b2
call fcn.005234a2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4062a1
call fcn.005234a2
lea eax, [ebx + 4]
mov edx, 8
cmp dword [eax + 0x14], edx
jb 0x4062b7
mov ecx, dword [eax]
jmp 0x4062b9
mov eax, dword [ebp]
jmp 0x406297
mov ecx, eax
cmp dword [esi + 0x18], edx
jb 0x4062c3
mov eax, dword [esi + 4]
jmp 0x4062c6
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 0x4062ee
mov edx, dword [esp + 0xe4]
push edx
call fcn.004508d0
add esp, 4
inc dword [esp + 0x18]
test ebp, ebp
jne 0x406313
call fcn.005234a2
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x406307
call fcn.005234a2
mov edi, dword [esp + 0x38]
add ebx, 0x1c
jmp 0x406170
mov eax, dword [ebp]
jmp 0x4062fd
mov byte [esp + 0x108], 8
test byte [esp + 0x88], 1
je 0x406339
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
push eax
call fcn.004508d0
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 0x406378
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], edi
cmp eax, edi
je 0x406391
push ecx
lea esi, [esp + 0x4c]
call fcn.0040da20
mov byte [esp + 0x108], 1
cmp dword [esp + 0x34], ebx
jb 0x4063ac
mov edx, dword [esp + 0x20]
push edx
call fcn.004508d0
add esp, 4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00408db0
lea ecx, [esp + 0xe0]
lea eax, [esp + 0x3c]
call fcn.0040a4b0
mov ecx, dword [esp + 0xc8]
cmp dword [esp + 0xdc], ebx
jae 0x4063e2
lea ecx, [esp + 0xc8]
cmp dword [eax + 0x18], ebx
jb 0x4063ec
mov eax, dword [eax + 4]
jmp 0x4063ef
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 0x40641a
mov edx, dword [esp + 0xe4]
push edx
call fcn.004508d0
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0x108], 0
call fcn.0040a420
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], vtable.std::ios_base.0
call fcn.00522490
add esp, 4
cmp dword [esp + 0xdc], ebx
jb 0x406462
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.004508d0
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.00522f5c
add esp, 0xf8
ret