Function at 0x46ac60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db363
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
mov eax, dword [0x514eb8]
xor eax, dword [ebp + 4]
push ebx
push esi
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov esi, ecx
mov eax, str.RegistryKey
push edi
mov byte [esi + 0x3a0], 1
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46acb0
sub eax, edi
push eax
push str.RegistryKey
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea edi, [esi + 0x40]
push edi
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x54]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.004672b0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004024d0
cmp dword [ebp - 0x3c], 0x10
jb 0x46acfe
mov edx, dword [ebp - 0x50]
push edx
call fcn.004c2b1b
add esp, 4
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
mov dword [ebp - 4], 0xffffffff
jb 0x46ad24
mov eax, dword [ebp - 0x30]
push eax
call fcn.004c2b1b
add esp, 4
cmp dword [esi + 0x54], ebx
je 0x46b947
cmp byte [esi + 0x549], bl
jne 0x46aed4
push 0x100
lea ecx, [ebp - 0x18c]
push ecx
mov dword [esi + 0x534], ebx
mov dword [esi + 0x538], ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x18c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46ad60
sub eax, edx
cmp byte [ebp + eax - 0x18d], 0x5c
je 0x46ad92
lea edi, [ebp - 0x18c]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x46ad80
mov dx, word [0x4e564c]
mov word [edi], dx
lea edi, [ebp - 0x18c]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x46ada0
mov eax, dword [str.popcinfo.dat]
mov ecx, dword [0x4ea094]
mov edx, dword [0x4ea098]
mov dword [edi], eax
mov al, byte [0x4ea09c]
mov dword [edi + 4], ecx
lea ecx, [ebp - 0x18c]
mov dword [edi + 8], edx
push 0x4e3288
push ecx
mov byte [edi + 0xc], al
call fcn.004c2ab9
add esp, 8
cmp eax, ebx
mov dword [ebp - 0x38], eax
je 0x46aed4
mov edi, eax
push edi
push 2
lea edx, [ebp - 0x16]
push 1
push edx
call fcn.004c35d1
add esp, 0x10
test eax, eax
je 0x46aecb
mov ax, word [ebp - 0x16]
cmp ax, 0x100
jae 0x46ae70
movzx eax, ax
push edi
push 1
push eax
mov byte [ebp + eax - 0x28c], bl
lea eax, [ebp - 0x28c]
push eax
call fcn.004c35d1
mov eax, dword [esi + 0x20]
add esp, 0x10
cmp eax, 0x10
jb 0x46ae37
mov edi, dword [esi + 0xc]
jmp 0x46ae3a
lea edi, [esi + 0xc]
lea eax, [ebp - 0x28c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x46ae64
cmp cl, bl
je 0x46ae60
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x46ae64
add eax, 2
add edi, 2
cmp cl, bl
jne 0x46ae40
xor eax, eax
jmp 0x46ae69
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
mov edi, dword [ebp - 0x38]
je 0x46ae95
push 1
push 4
push edi
call fcn.004c511d
push edi
push 2
lea eax, [ebp - 0x16]
push 1
push eax
call fcn.004c35d1
add esp, 0x1c
test eax, eax
jne 0x46ae03
jmp 0x46aecb
push edi
push 2
lea ecx, [ebp - 0x14]
push 1
push ecx
call fcn.004c35d1
movsx edx, word [ebp - 0x14]
push edi
push 2
lea eax, [ebp - 0x14]
push 1
push eax
mov dword [esi + 0x534], edx
call fcn.004c35d1
movsx ecx, word [ebp - 0x14]
mov edi, dword [ebp - 0x38]
add esp, 0x20
mov dword [esi + 0x538], ecx
push edi
call fcn.004c2a0c
add esp, 4
mov eax, str.ReferId
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46aef0
sub eax, edx
push eax
push str.ReferId
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea edi, [esi + 0x348]
push edi
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0046ab50
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x46af39
mov eax, dword [ebp - 0x30]
push eax
call fcn.004c2b1b
add esp, 4
mov eax, str.ReferId
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x46af50
sub eax, ecx
push eax
push str.ReferId
lea ecx, [ebp - 0x34]
call fcn.004025c3
push edi
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x54]
push edx
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.004672b0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004024d0
cmp dword [ebp - 0x3c], 0x10
jb 0x46af9f
mov eax, dword [ebp - 0x50]
push eax
call fcn.004c2b1b
add esp, 4
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
mov dword [ebp - 4], 0xffffffff
jb 0x46afc5
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
lea edx, [esi + 8]
push edx
lea eax, [ebp - 0x8c]
push str.http:__www.popcap.com_register.php_theGame
push eax
call fcn.00411879
push str.referid
push eax
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 4], 5
call fcn.0040a10e
push edi
push eax
lea edx, [ebp - 0x54]
push edx
mov byte [ebp - 4], 6
call fcn.00410392
add esp, 0x24
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0x3a4]
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.004024d0
cmp dword [ebp - 0x3c], 0x10
jb 0x46b029
mov eax, dword [ebp - 0x50]
push eax
call fcn.004c2b1b
add esp, 4
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
jb 0x46b048
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 0xffffffff
jb 0x46b071
mov edx, dword [ebp - 0x88]
push edx
call fcn.004c2b1b
add esp, 4
mov eax, str.RegisterLink
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b086
sub eax, edx
push eax
push str.RegisterLink
lea ecx, [ebp - 0x34]
call fcn.004025c3
push edi
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 8
call fcn.0046ab50
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x46b0c9
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
mov eax, str.MusicVolume
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b0e0
sub eax, edx
push eax
push str.MusicVolume
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 9
call fcn.0046abe0
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x1c]
mov edi, 0x10
cmp eax, edi
mov dword [ebp - 4], 0xffffffff
jb 0x46b12f
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x46b140
fild dword [ebp - 0x18]
fmul qword [0x4e3728]
fstp qword [esi + 0x78]
mov eax, str.SfxVolume
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b155
sub eax, edx
push eax
push str.SfxVolume
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 0xa
call fcn.0046abe0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x46b19d
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x46b1b1
fild dword [ebp - 0x18]
fmul qword [0x4e3728]
fstp qword [esi + 0x80]
mov eax, str.Muted
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b1c6
sub eax, edx
push eax
push str.Muted
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 0xb
call fcn.0046abe0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x46b20e
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x46b21c
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x490], edx
mov eax, str.ScreenMode
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b231
sub eax, edx
push eax
push str.ScreenMode
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xc
call fcn.0046abe0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x46b279
mov edx, dword [ebp - 0x30]
push edx
call fcn.004c2b1b
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x46b28a
cmp dword [ebp - 0x18], ebx
sete al
mov byte [esi + 0x30e], al
mov eax, str.PreferredX
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b2a0
sub eax, edx
push eax
push str.PreferredX
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea ecx, [esi + 0x60]
push ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov dword [ebp - 4], 0xd
call fcn.0046abe0
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x46b2e5
mov eax, dword [ebp - 0x30]
push eax
call fcn.004c2b1b
add esp, 4
mov eax, str.PreferredY
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b300
sub eax, edx
push eax
push str.PreferredY
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea ecx, [esi + 0x64]
push ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov dword [ebp - 4], 0xe
call fcn.0046abe0
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x46b345
mov eax, dword [ebp - 0x30]
push eax
call fcn.004c2b1b
add esp, 4
mov eax, str.CustomCursors
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b360
sub eax, edx
push eax
push str.CustomCursors
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov dword [ebp - 4], 0xf
call fcn.0046abe0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x46b3a8
mov eax, dword [ebp - 0x30]
push eax
call fcn.004c2b1b
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x46b3bb
cmp dword [ebp - 0x18], ebx
setne cl
push ecx
mov ecx, esi
call fcn.004635f0
mov eax, str.DontUpdate
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b3d0
sub eax, edx
push eax
push str.DontUpdate
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0046abe0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x46b414
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x46b425
cmp dword [ebp - 0x18], ebx
setne dl
mov byte [esi + 0x2ea], dl
mov eax, str.ITSuccess
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b440
sub eax, edx
push eax
push str.ITSuccess
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0x11
call fcn.0046abe0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x46b488
mov edx, dword [ebp - 0x30]
push edx
call fcn.004c2b1b
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x46b499
cmp dword [ebp - 0x18], ebx
setne al
mov byte [esi + 0x338], al
mov eax, str.DownloadId
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b4b0
sub eax, edx
push eax
push str.DownloadId
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov dword [ebp - 4], 0x12
call fcn.0046abe0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x46b4f8
mov eax, dword [ebp - 0x30]
push eax
call fcn.004c2b1b
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x46b506
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x380], ecx
mov eax, str.Variation
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
jmp 0x46b520
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b520
sub eax, edx
push eax
push str.Variation
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea edx, [esi + 0x364]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 0x13
call fcn.0046ab50
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x46b568
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
mov eax, str.WaitForVSync
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b580
sub eax, edx
push eax
push str.WaitForVSync
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea edx, [esi + 0x5cb]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 0x14
call fcn.0046ac30
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x46b5c8
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
mov eax, str.TimesPlayed
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b5e0
sub eax, edx
push eax
push str.TimesPlayed
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 0x15
call fcn.0046abe0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x46b628
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
cmp byte [ebp - 0x13], bl
mov edi, 0x64
je 0x46b656
cmp byte [esi + 0x549], bl
jne 0x46b64d
mov edx, dword [esi + 0x534]
cmp edx, dword [ebp - 0x18]
je 0x46b656
mov dword [esi + 0x534], edi
jmp 0x46b656
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x534], eax
mov eax, str.TimesExecuted
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
jmp 0x46b670
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b670
sub eax, edx
push eax
push str.TimesExecuted
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov dword [ebp - 4], 0x16
call fcn.0046abe0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x46b6b9
mov eax, dword [ebp - 0x30]
push eax
call fcn.004c2b1b
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x46b6e2
cmp byte [esi + 0x549], bl
jne 0x46b6d9
mov ecx, dword [esi + 0x538]
cmp ecx, dword [ebp - 0x18]
je 0x46b6e2
mov dword [esi + 0x538], edi
jmp 0x46b6e2
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x538], edx
mov eax, str.LastVerCheckQueryTime
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b6f7
sub eax, edx
push eax
push str.LastVerCheckQueryTime
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0x17
call fcn.0046abe0
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x1c]
or edi, 0xffffffff
cmp eax, 0x10
mov dword [ebp - 4], edi
jb 0x46b741
mov edx, dword [ebp - 0x30]
push edx
call fcn.004c2b1b
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x46b751
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x420], eax
jmp 0x46b766
lea ecx, [ebp - 0x38]
push ecx
call fcn.004c393d
mov edx, dword [ebp - 0x38]
add esp, 4
mov dword [esi + 0x420], edx
mov eax, str.InProgress
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
jmp 0x46b780
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b780
sub eax, edx
push eax
push str.InProgress
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0x18
call fcn.0046abe0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 4], edi
jb 0x46b7c5
mov edx, dword [ebp - 0x30]
push edx
call fcn.004c2b1b
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x46b7d6
cmp dword [ebp - 0x18], ebx
sete al
mov byte [esi + 0x53d], al
mov ecx, esi
call fcn.004626b0
test al, al
jne 0x46b836
mov eax, str.InProgress
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b7f6
sub eax, edx
push eax
push str.InProgress
lea ecx, [ebp - 0x34]
call fcn.004025c3
push 1
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0x19
call fcn.00469d60
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 4], edi
jb 0x46b836
mov edx, dword [ebp - 0x30]
push edx
call fcn.004c2b1b
add esp, 4
mov eax, str.RegName
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
jmp 0x46b850
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b850
sub eax, edx
push eax
push str.RegName
lea ecx, [ebp - 0x34]
call fcn.004025c3
lea edi, [esi + 0x440]
push edi
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 0x1a
call fcn.0046ab50
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x46b89c
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x46b8b0
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esi + 0x424]
call fcn.004024d0
mov eax, str.RegCode
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b8c5
sub eax, edx
push eax
push str.RegCode
lea ecx, [ebp - 0x70]
call fcn.004025c3
lea edi, [esi + 0x45c]
push edi
lea edx, [ebp - 0x70]
push edx
mov ecx, esi
mov dword [ebp - 4], 0x1b
call fcn.0046ab50
cmp dword [ebp - 0x58], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x46b90e
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004c2b1b
add esp, 4
mov edx, dword [esi]
push edi
lea eax, [esi + 0x440]
push eax
mov ecx, esi
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
call dword [edx + 0x64]
mov cl, byte [esi + 0x478]
or cl, al
cmp byte [esi + 0x549], bl
mov byte [esi + 0x478], cl
je 0x46b947
mov byte [esi + 0x30e], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.004c478a
mov esp, ebp
pop ebp
ret