Function at 0x43a350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf033
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
mov eax, dword [0x4f2214]
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 + 0x364], 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 0x43a3a0
sub eax, edi
push eax
push str.RegistryKey
lea ecx, [ebp - 0x34]
call fcn.00402c7f
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.00437090
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00402bf0
cmp dword [ebp - 0x3c], 0x10
jb 0x43a3ee
mov edx, dword [ebp - 0x50]
push edx
call fcn.004a773c
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 0x43a414
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a773c
add esp, 4
cmp dword [esi + 0x54], ebx
je 0x43af62
cmp byte [esi + 0x4fd], bl
jne 0x43a5c4
push 0x100
lea ecx, [ebp - 0x18c]
push ecx
mov dword [esi + 0x4e8], ebx
mov dword [esi + 0x4ec], 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 0x43a450
sub eax, edx
cmp byte [ebp + eax - 0x18d], 0x5c
je 0x43a482
lea edi, [ebp - 0x18c]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x43a470
mov dx, word [0x4c6298]
mov word [edi], dx
lea edi, [ebp - 0x18c]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x43a490
mov eax, dword [str.popcinfo.dat]
mov ecx, dword [0x4c6348]
mov edx, dword [0x4c634c]
mov dword [edi], eax
mov al, byte [0x4c6350]
mov dword [edi + 4], ecx
lea ecx, [ebp - 0x18c]
mov dword [edi + 8], edx
push 0x4c3840
push ecx
mov byte [edi + 0xc], al
call fcn.004a85fe
add esp, 8
cmp eax, ebx
mov dword [ebp - 0x38], eax
je 0x43a5c4
mov edi, eax
push edi
push 2
lea edx, [ebp - 0x16]
push 1
push edx
call fcn.004a8556
add esp, 0x10
test eax, eax
je 0x43a5bb
mov ax, word [ebp - 0x16]
cmp ax, 0x100
jae 0x43a560
movzx eax, ax
push edi
push 1
push eax
mov byte [ebp + eax - 0x28c], bl
lea eax, [ebp - 0x28c]
push eax
call fcn.004a8556
mov eax, dword [esi + 0x20]
add esp, 0x10
cmp eax, 0x10
jb 0x43a527
mov edi, dword [esi + 0xc]
jmp 0x43a52a
lea edi, [esi + 0xc]
lea eax, [ebp - 0x28c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x43a554
cmp cl, bl
je 0x43a550
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x43a554
add eax, 2
add edi, 2
cmp cl, bl
jne 0x43a530
xor eax, eax
jmp 0x43a559
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
mov edi, dword [ebp - 0x38]
je 0x43a585
push 1
push 4
push edi
call fcn.004a99dc
push edi
push 2
lea eax, [ebp - 0x16]
push 1
push eax
call fcn.004a8556
add esp, 0x1c
test eax, eax
jne 0x43a4f3
jmp 0x43a5bb
push edi
push 2
lea ecx, [ebp - 0x14]
push 1
push ecx
call fcn.004a8556
movsx edx, word [ebp - 0x14]
push edi
push 2
lea eax, [ebp - 0x14]
push 1
push eax
mov dword [esi + 0x4e8], edx
call fcn.004a8556
movsx ecx, word [ebp - 0x14]
mov edi, dword [ebp - 0x38]
add esp, 0x20
mov dword [esi + 0x4ec], ecx
push edi
call fcn.004a841c
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 0x43a5e0
sub eax, edx
push eax
push str.ReferId
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea edi, [esi + 0x328]
push edi
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0043a240
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x43a629
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a773c
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 0x43a640
sub eax, ecx
push eax
push str.ReferId
lea ecx, [ebp - 0x34]
call fcn.00402c7f
push edi
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x54]
push edx
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.00437090
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00402bf0
cmp dword [ebp - 0x3c], 0x10
jb 0x43a68f
mov eax, dword [ebp - 0x50]
push eax
call fcn.004a773c
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 0x43a6b5
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a773c
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.004065da
push str.referid
push eax
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 4], 5
call fcn.0040662a
push edi
push eax
lea edx, [ebp - 0x54]
push edx
mov byte [ebp - 4], 6
call fcn.0040ae8b
add esp, 0x24
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0x368]
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00402bf0
cmp dword [ebp - 0x3c], 0x10
jb 0x43a719
mov eax, dword [ebp - 0x50]
push eax
call fcn.004a773c
add esp, 4
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
jb 0x43a738
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a773c
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 0x43a761
mov edx, dword [ebp - 0x88]
push edx
call fcn.004a773c
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 0x43a776
sub eax, edx
push eax
push str.RegisterLink
lea ecx, [ebp - 0x34]
call fcn.00402c7f
push edi
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 8
call fcn.0043a240
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x43a7b9
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a773c
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 0x43a7d0
sub eax, edx
push eax
push str.MusicVolume
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 9
call fcn.0043a2d0
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x1c]
mov edi, 0x10
cmp eax, edi
mov dword [ebp - 4], 0xffffffff
jb 0x43a81f
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a773c
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x43a830
fild dword [ebp - 0x18]
fmul qword [0x4c36b0]
fstp qword [esi + 0x68]
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 0x43a845
sub eax, edx
push eax
push str.SfxVolume
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 0xa
call fcn.0043a2d0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x43a88d
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a773c
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x43a89e
fild dword [ebp - 0x18]
fmul qword [0x4c36b0]
fstp qword [esi + 0x70]
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 0x43a8b3
sub eax, edx
push eax
push str.Muted
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 0xb
call fcn.0043a2d0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x43a8fb
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a773c
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x43a909
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x450], 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 edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43a920
sub eax, edx
push eax
push str.ScreenMode
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xc
call fcn.0043a2d0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x43a968
mov edx, dword [ebp - 0x30]
push edx
call fcn.004a773c
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x43a979
cmp dword [ebp - 0x18], ebx
sete al
mov byte [esi + 0x2f2], al
mov eax, str.CustomCursors
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 0x43a990
sub eax, edx
push eax
push str.CustomCursors
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov dword [ebp - 4], 0xd
call fcn.0043a2d0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x43a9d8
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a773c
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x43a9eb
cmp dword [ebp - 0x18], ebx
setne cl
push ecx
mov ecx, esi
call fcn.00432a70
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 0x43aa00
sub eax, edx
push eax
push str.DontUpdate
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 0xe
call fcn.0043a2d0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x43aa48
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a773c
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x43aa59
cmp dword [ebp - 0x18], ebx
setne dl
mov byte [esi + 0x2da], dl
mov eax, str.ITSuccess
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 0x43aa70
sub eax, edx
push eax
push str.ITSuccess
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xf
call fcn.0043a2d0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x43aab8
mov edx, dword [ebp - 0x30]
push edx
call fcn.004a773c
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x43aac9
cmp dword [ebp - 0x18], ebx
setne al
mov byte [esi + 0x318], 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 0x43aae0
sub eax, edx
push eax
push str.DownloadId
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0043a2d0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x43ab24
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a773c
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x43ab32
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x360], ecx
mov eax, str.Variation
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 0x43ab47
sub eax, edx
push eax
push str.Variation
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea edx, [esi + 0x344]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 0x11
call fcn.0043a240
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x43ab8f
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a773c
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]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43aba4
sub eax, edx
push eax
push str.WaitForVSync
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea edx, [esi + 0x569]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 0x12
call fcn.0043a320
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x43abec
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a773c
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]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43ac01
sub eax, edx
push eax
push str.TimesPlayed
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 0x13
call fcn.0043a2d0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
jb 0x43ac49
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a773c
add esp, 4
cmp byte [ebp - 0x13], bl
mov edi, 0x64
je 0x43ac77
cmp byte [esi + 0x4fd], bl
jne 0x43ac6e
mov edx, dword [esi + 0x4e8]
cmp edx, dword [ebp - 0x18]
je 0x43ac77
mov dword [esi + 0x4e8], edi
jmp 0x43ac77
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x4e8], eax
mov eax, str.TimesExecuted
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 0x43ac90
sub eax, edx
push eax
push str.TimesExecuted
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov dword [ebp - 4], 0x14
call fcn.0043a2d0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x43acd9
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a773c
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x43ad02
cmp byte [esi + 0x4fd], bl
jne 0x43acf9
mov ecx, dword [esi + 0x4ec]
cmp ecx, dword [ebp - 0x18]
je 0x43ad02
mov dword [esi + 0x4ec], edi
jmp 0x43ad02
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x4ec], 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 0x43ad17
sub eax, edx
push eax
push str.LastVerCheckQueryTime
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0x15
call fcn.0043a2d0
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x1c]
or edi, 0xffffffff
cmp eax, 0x10
mov dword [ebp - 4], edi
jb 0x43ad61
mov edx, dword [ebp - 0x30]
push edx
call fcn.004a773c
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x43ad71
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x3e4], eax
jmp 0x43ad86
lea ecx, [ebp - 0x38]
push ecx
call fcn.004a8397
mov edx, dword [ebp - 0x38]
add esp, 4
mov dword [esi + 0x3e4], 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 0x43ada0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43ada0
sub eax, edx
push eax
push str.InProgress
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0x16
call fcn.0043a2d0
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 4], edi
jb 0x43ade5
mov edx, dword [ebp - 0x30]
push edx
call fcn.004a773c
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x43adf6
cmp dword [ebp - 0x18], ebx
sete al
mov byte [esi + 0x4f1], al
mov eax, str.InProgress
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea edx, [eax + 1]
jmp 0x43ae10
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43ae10
sub eax, edx
push eax
push str.InProgress
lea ecx, [ebp - 0x34]
call fcn.00402c7f
push 1
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0x17
call fcn.00439520
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 4], edi
jb 0x43ae50
mov edx, dword [ebp - 0x30]
push edx
call fcn.004a773c
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]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43ae65
sub eax, edx
push eax
push str.RegName
lea ecx, [ebp - 0x34]
call fcn.00402c7f
lea edi, [esi + 0x404]
push edi
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
mov dword [ebp - 4], 0x18
call fcn.0043a240
mov byte [ebp - 0x13], al
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x43aeb1
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a773c
add esp, 4
cmp byte [ebp - 0x13], bl
je 0x43aec5
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esi + 0x3e8]
call fcn.00402bf0
mov eax, str.RegCode
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x43aee0
sub eax, edx
push eax
push str.RegCode
lea ecx, [ebp - 0x70]
call fcn.00402c7f
lea edi, [esi + 0x420]
push edi
lea edx, [ebp - 0x70]
push edx
mov ecx, esi
mov dword [ebp - 4], 0x19
call fcn.0043a240
cmp dword [ebp - 0x58], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x43af29
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004a773c
add esp, 4
mov edx, dword [esi]
push edi
lea eax, [esi + 0x404]
push eax
mov ecx, esi
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
call dword [edx + 0x54]
mov cl, byte [esi + 0x43c]
or cl, al
cmp byte [esi + 0x4fd], bl
mov byte [esi + 0x43c], cl
je 0x43af62
mov byte [esi + 0x2f2], 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.004a8117
mov esp, ebp
pop ebp
ret