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

Disassembly:
push 0xffffffffffffffff
push 0x4f1690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f8
mov edx, dword [esp + 0x208]
mov eax, dword [0x54a2b0]
push ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [edx + 0x48]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x1f8], eax
jne 0x482a32
mov dword [esp + 0xc], ebx
jmp 0x482a3e
mov eax, dword [edx + 0x4c]
sub eax, ecx
sar eax, 3
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x14], eax
jle 0x4833eb
push ebp
push esi
push edi
jmp 0x482a60
mov edx, dword [esp + 0x218]
lea esp, [esp]
push eax
mov ecx, edx
call fcn.0040ee00
mov ebp, eax
mov eax, dword [ebp + 0x3c]
mov ecx, eax
cmp ecx, eax
jae 0x482a73
cmp eax, ebx
je 0x4833d3
cmp eax, 4
mov ecx, eax
jb 0x482a87
mov ecx, 4
cmp dword [ebp + 0x40], 0x10
jb 0x482a92
mov esi, dword [ebp + 0x2c]
jmp 0x482a95
lea esi, [ebp + 0x2c]
mov edi, str.INFO
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x482aa5
sbb edx, edx
sbb edx, 0xffffffff
cmp edx, ebx
jne 0x4833d3
cmp eax, 4
jb 0x4833d3
xor edx, edx
cmp eax, 4
setne dl
cmp edx, ebx
jne 0x4833d3
push 0x12
mov esi, 0xf
push str.arcadeDiffAchieved
lea ecx, [esp + 0x12c]
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
call fcn.00401eb0
lea eax, [esp + 0x124]
push eax
mov ecx, ebp
mov dword [esp + 0x214], ebx
call fcn.0040eda0
mov ecx, eax
call fcn.0040ea20
mov edi, dword [esp + 0x1c]
mov dword [edi + 0x68], eax
cmp dword [esp + 0x13c], 0x10
mov dword [esp + 0x210], 0xffffffff
jb 0x482b3c
mov ecx, dword [esp + 0x128]
push ecx
call fcn.004c2c15
add esp, 4
push 0x11
push str.storyDiffAchieved
lea ecx, [esp + 0x84]
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], ebx
mov byte [esp + 0x130], bl
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00401eb0
lea edx, [esp + 0x7c]
push edx
mov ecx, ebp
mov dword [esp + 0x214], 1
call fcn.0040eda0
mov ecx, eax
call fcn.0040ea20
mov dword [edi + 0x6c], eax
cmp dword [esp + 0x94], 0x10
mov dword [esp + 0x210], 0xffffffff
jb 0x482bbf
mov eax, dword [esp + 0x80]
push eax
call fcn.004c2c15
add esp, 4
push 4
push 0x5079cc
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1cc], ebx
mov byte [esp + 0x1bc], bl
call fcn.00401eb0
lea ecx, [esp + 0x1b0]
push ecx
mov ecx, ebp
mov dword [esp + 0x214], 2
call fcn.0040eda0
mov ecx, eax
call fcn.0040eb40
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x4c]
call fcn.00404f80
cmp dword [esp + 0x1c8], 0x10
mov dword [esp + 0x210], 0xffffffff
jb 0x482c4e
mov edx, dword [esp + 0x1b4]
push edx
call fcn.004c2c15
add esp, 4
push esi
push str.NewArcadeMedium
lea ecx, [esp + 0xbc]
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1cc], ebx
mov byte [esp + 0x1bc], bl
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.00401eb0
lea eax, [esp + 0xb4]
push eax
mov ecx, ebp
mov dword [esp + 0x214], 3
call fcn.0040eda0
mov ecx, eax
call fcn.0040ea20
mov dword [edi + 0x2c], eax
cmp dword [esp + 0xcc], 0x10
mov dword [esp + 0x210], 0xffffffff
jb 0x482cd3
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.004c2c15
add esp, 4
push 0xe
push str.NewStoryMedium
lea ecx, [esp + 0x30]
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00401eb0
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
mov dword [esp + 0x214], 4
call fcn.0040eda0
mov ecx, eax
call fcn.0040ea20
mov dword [edi + 0x34], eax
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x210], 0xffffffff
jb 0x482d44
mov eax, dword [esp + 0x2c]
push eax
call fcn.004c2c15
add esp, 4
push 0x10
push str.NewEndlessMedium
lea ecx, [esp + 0xf4]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
call fcn.00401eb0
lea ecx, [esp + 0xec]
push ecx
mov ecx, ebp
mov dword [esp + 0x214], 5
call fcn.0040eda0
mov ecx, eax
call fcn.0040ea20
mov dword [edi + 0x3c], eax
cmp dword [esp + 0x104], 0x10
mov dword [esp + 0x210], 0xffffffff
jb 0x482dc1
mov edx, dword [esp + 0xf0]
push edx
call fcn.004c2c15
add esp, 4
push 0xd
push str.NewArcadeHard
lea ecx, [esp + 0x164]
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
call fcn.00401eb0
lea eax, [esp + 0x15c]
push eax
mov ecx, ebp
mov dword [esp + 0x214], 6
call fcn.0040eda0
mov ecx, eax
call fcn.0040ea20
mov dword [edi + 0x30], eax
cmp dword [esp + 0x174], 0x10
mov dword [esp + 0x210], 0xffffffff
jb 0x482e47
mov ecx, dword [esp + 0x160]
push ecx
call fcn.004c2c15
add esp, 4
push 0xc
push str.NewStoryHard
lea ecx, [esp + 0x4c]
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], ebx
mov byte [esp + 0x168], bl
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401eb0
lea edx, [esp + 0x44]
push edx
mov ecx, ebp
mov dword [esp + 0x214], 7
call fcn.0040eda0
mov ecx, eax
call fcn.0040ea20
mov dword [edi + 0x38], eax
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x210], 0xffffffff
jb 0x482eb8
mov eax, dword [esp + 0x48]
push eax
call fcn.004c2c15
add esp, 4
push 0xe
push str.NewEndlessHard
lea ecx, [esp + 0x68]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
call fcn.00401eb0
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebp
mov dword [esp + 0x214], 8
call fcn.0040eda0
mov ecx, eax
call fcn.0040ea20
mov dword [edi + 0x40], eax
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0x210], 0xffffffff
jb 0x482f23
mov edx, dword [esp + 0x64]
push edx
call fcn.004c2c15
add esp, 4
push 8
push str.SETTINGS
lea ecx, [esp + 0xa0]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
call fcn.00401eb0
lea eax, [esp + 0x98]
push eax
mov ecx, ebp
mov dword [esp + 0x214], 9
call fcn.0040edc0
mov dword [esp + 0x10], eax
cmp dword [esp + 0xb0], 0x10
mov dword [esp + 0x210], 0xffffffff
jb 0x482f9d
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004c2c15
add esp, 4
push 0xa
push str.FULLSCREEN
lea ecx, [esp + 0xd8]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
call fcn.00401eb0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xd0]
push edx
mov dword [esp + 0x214], 0xa
call fcn.0040eda0
mov ecx, eax
call fcn.0040ea20
test eax, eax
setne al
movzx ecx, al
cmp dword [esp + 0xe8], 0x10
mov dword [edi + 8], ecx
mov dword [esp + 0x210], 0xffffffff
jb 0x48302d
mov edx, dword [esp + 0xd4]
push edx
call fcn.004c2c15
add esp, 4
push 8
push str.MUSICVOL
lea ecx, [esp + 0x110]
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
call fcn.00401eb0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x108]
push eax
mov dword [esp + 0x214], 0xb
call fcn.0040eda0
mov ecx, eax
call fcn.0040ea20
mov dword [edi], eax
cmp dword [esp + 0x120], 0x10
mov dword [esp + 0x210], 0xffffffff
jb 0x4830b4
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.004c2c15
add esp, 4
push 8
push str.SOUNDVOL
lea ecx, [esp + 0x148]
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
call fcn.00401eb0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x140]
push edx
mov dword [esp + 0x214], 0xc
call fcn.0040eda0
mov ecx, eax
call fcn.0040ea20
mov dword [edi + 4], eax
mov eax, dword [esp + 0x158]
mov edi, 0x10
cmp eax, edi
mov dword [esp + 0x210], 0xffffffff
jb 0x483142
mov eax, dword [esp + 0x144]
push eax
call fcn.004c2c15
add esp, 4
push esi
push str.PORTRAITUNLOCKS
lea ecx, [esp + 0x19c]
mov dword [esp + 0x160], esi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
mov dword [esp + 0x1b4], esi
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], bl
call fcn.00401eb0
lea ecx, [esp + 0x194]
push ecx
mov ecx, ebp
mov dword [esp + 0x214], 0xd
call fcn.0040ede0
mov ebp, eax
cmp dword [esp + 0x1ac], edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x210], 0xffffffff
jb 0x4831c2
mov edx, dword [esp + 0x198]
push edx
call fcn.004c2c15
add esp, 4
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x1a8], ebx
mov byte [esp + 0x198], bl
mov ecx, dword [ebp + 0x48]
cmp ecx, ebx
jne 0x4831e4
mov dword [esp + 0x14], ebx
jmp 0x4831f0
mov eax, dword [ebp + 0x4c]
sub eax, ecx
sar eax, 3
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
jle 0x4833d3
jmp 0x483210
mov ebp, dword [esp + 0x24]
mov edi, 0x10
lea esp, [esp]
mov eax, dword [esp + 0x10]
push eax
mov ecx, ebp
call fcn.0040ee00
push 0xffffffffffffffff
mov ebp, eax
push ebx
lea ecx, [ebp + 0x28]
push ecx
lea ecx, [esp + 0x1f4]
mov dword [esp + 0x20c], esi
mov dword [esp + 0x208], ebx
mov byte [esp + 0x1f8], bl
call fcn.00401510
cmp dword [esp + 0x200], edi
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x210], 0xe
jae 0x483268
lea eax, [esp + 0x1ec]
push eax
call fcn.004c3732
add esp, 4
push 8
push str.unlocked
lea ecx, [esp + 0x1d4]
mov edi, eax
mov dword [esp + 0x1ec], esi
mov dword [esp + 0x1e8], ebx
mov byte [esp + 0x1d8], bl
call fcn.00401eb0
lea edx, [esp + 0x1cc]
push edx
mov ecx, ebp
mov byte [esp + 0x214], 0xf
call fcn.0040eda0
mov ecx, eax
call fcn.0040ea20
mov ecx, dword [esp + 0x1c]
test eax, eax
setne al
mov byte [ecx + edi*2 + 0xc], al
cmp dword [esp + 0x1e4], 0x10
mov byte [esp + 0x210], 0xe
jb 0x4832e8
mov edx, dword [esp + 0x1d0]
push edx
call fcn.004c2c15
add esp, 4
push 6
push str.viewed
lea ecx, [esp + 0x180]
mov dword [esp + 0x1ec], esi
mov dword [esp + 0x1e8], ebx
mov byte [esp + 0x1d8], bl
mov dword [esp + 0x198], esi
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
call fcn.00401eb0
lea eax, [esp + 0x178]
push eax
mov ecx, ebp
mov byte [esp + 0x214], 0x10
call fcn.0040eda0
mov ecx, eax
call fcn.0040ea20
mov edx, dword [esp + 0x1c]
test eax, eax
mov eax, dword [esp + 0x190]
setne cl
mov byte [edx + edi*2 + 0xd], cl
mov edi, 0x10
cmp eax, edi
jb 0x483370
mov eax, dword [esp + 0x17c]
push eax
call fcn.004c2c15
add esp, 4
cmp dword [esp + 0x200], edi
mov dword [esp + 0x190], esi
mov dword [esp + 0x18c], ebx
mov byte [esp + 0x17c], bl
mov dword [esp + 0x210], 0xffffffff
jb 0x4833a9
mov ecx, dword [esp + 0x1ec]
push ecx
call fcn.004c2c15
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x200], esi
mov dword [esp + 0x1fc], ebx
mov byte [esp + 0x1ec], bl
mov dword [esp + 0x10], eax
jl 0x483200
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x482a55
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1fc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1f8]
pop ebx
call fcn.004c2e45
add esp, 0x204
ret 4