Function at 0x4113a0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bab75
mov eax, dword fs:[0]
push eax
sub esp, 0xc8c
mov eax, dword [0x4fc5b0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc88], 0
lea ecx, [ebp - 0x1c]
call fcn.004703d0
mov dword [ebp - 4], 1
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004710f0
mov dword [ebp - 0x800], eax
mov dword [ebp - 0x804], 0
jmp 0x41140f
mov eax, dword [ebp - 0x804]
add eax, 1
mov dword [ebp - 0x804], eax
mov ecx, dword [ebp + 0xc]
call fcn.004703e0
cmp dword [ebp - 0x804], eax
jae 0x412142
mov ecx, dword [ebp + 0xc]
call fcn.004703e0
sub eax, 0xb
cmp dword [ebp - 0x804], eax
jae 0x4114e0
push 0xc
push str._defbrowser_
mov ecx, dword [ebp - 0x800]
add ecx, dword [ebp - 0x804]
push ecx
call fcn.004b4aee
add esp, 0xc
test eax, eax
jne 0x4114e0
cmp dword [ebp + 0x10], 0
je 0x4114e0
push str._defbrowser_
call fcn.00492a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x80c]
call fcn.004703d0
mov byte [ebp - 4], 2
push 0
lea edx, [ebp - 0x80c]
push edx
push str.PreferredBrowser
push str.RealMediaSDK
push SysReAllocString
call fcn.0041093e
add esp, 0x14
test eax, eax
je 0x4114cc
lea eax, [ebp - 0x80c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00470bc0
push 0x4cfe44
lea ecx, [ebp - 0x1c]
call fcn.00470ae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80c]
call fcn.00470660
jmp 0x41213d
mov ecx, dword [ebp + 0xc]
call fcn.004703e0
sub eax, 0xf
cmp dword [ebp - 0x804], eax
jae 0x4115d0
push 0x10
push str._alluserscommon_
mov ecx, dword [ebp - 0x800]
add ecx, dword [ebp - 0x804]
push ecx
call fcn.004b4aee
add esp, 0xc
test eax, eax
jne 0x4115d0
push str._alluserscommon_
call fcn.00492a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x814]
call fcn.004703d0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x814]
push edx
push 0
push 0
push 0x23
push 0
call fcn.0040e1c2
add esp, 0x14
lea ecx, [ebp - 0x814]
call fcn.0040d521
push eax
call fcn.00492a70
add esp, 4
test eax, eax
jbe 0x4115bc
lea ecx, [ebp - 0x814]
call fcn.0040d521
push eax
call fcn.00492a70
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x814]
call fcn.0040d52c
movsx eax, al
cmp eax, 0x5c
je 0x4115ad
push 0x4cf9a0
lea ecx, [ebp - 0x814]
call fcn.00470ae0
lea ecx, [ebp - 0x814]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00470bc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x814]
call fcn.00470660
jmp 0x41213d
mov ecx, dword [ebp + 0xc]
call fcn.004703e0
sub eax, 8
cmp dword [ebp - 0x804], eax
jae 0x4116db
push 9
push str._appdata_
mov edx, dword [ebp - 0x800]
add edx, dword [ebp - 0x804]
push edx
call fcn.004b4aee
add esp, 0xc
test eax, eax
jne 0x4116db
push str._appdata_
call fcn.00492a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x81c]
call fcn.004703d0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x81c]
push eax
push 0
push 0
push 0x1c
push 0
call fcn.0040e1c2
add esp, 0x14
test eax, eax
jne 0x411665
lea ecx, [ebp - 0x81c]
push ecx
push 0
push 0
push 0x1a
push 0
call fcn.0040e1c2
add esp, 0x14
lea ecx, [ebp - 0x81c]
call fcn.0040d521
push eax
call fcn.00492a70
add esp, 4
test eax, eax
jbe 0x4116c7
lea ecx, [ebp - 0x81c]
call fcn.0040d521
push eax
call fcn.00492a70
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x81c]
call fcn.0040d52c
movsx edx, al
cmp edx, 0x5c
je 0x4116b8
push 0x4cf9a0
lea ecx, [ebp - 0x81c]
call fcn.00470ae0
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00470bc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x81c]
call fcn.00470660
jmp 0x41213d
mov ecx, dword [ebp + 0xc]
call fcn.004703e0
sub eax, 0xf
cmp dword [ebp - 0x804], eax
jae 0x4117cb
push 0x10
push str._system_appdata_
mov ecx, dword [ebp - 0x800]
add ecx, dword [ebp - 0x804]
push ecx
call fcn.004b4aee
add esp, 0xc
test eax, eax
jne 0x4117cb
push str._system_appdata_
call fcn.00492a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x824]
call fcn.004703d0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x824]
push edx
push 0
push 0
push 0x1a
push 0
call fcn.0040e1c2
add esp, 0x14
lea ecx, [ebp - 0x824]
call fcn.0040d521
push eax
call fcn.00492a70
add esp, 4
test eax, eax
jbe 0x4117b7
lea ecx, [ebp - 0x824]
call fcn.0040d521
push eax
call fcn.00492a70
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x824]
call fcn.0040d52c
movsx eax, al
cmp eax, 0x5c
je 0x4117a8
push 0x4cf9a0
lea ecx, [ebp - 0x824]
call fcn.00470ae0
lea ecx, [ebp - 0x824]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00470bc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x824]
call fcn.00470660
jmp 0x41213d
mov ecx, dword [ebp + 0xc]
call fcn.004703e0
sub eax, 0xe
cmp dword [ebp - 0x804], eax
jae 0x4118bb
push 0xf
push str._local_appdata_
mov edx, dword [ebp - 0x800]
add edx, dword [ebp - 0x804]
push edx
call fcn.004b4aee
add esp, 0xc
test eax, eax
jne 0x4118bb
push str._local_appdata_
call fcn.00492a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x82c]
call fcn.004703d0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x82c]
push eax
push 0
push 0
push 0x1c
push 0
call fcn.0040e1c2
add esp, 0x14
lea ecx, [ebp - 0x82c]
call fcn.0040d521
push eax
call fcn.00492a70
add esp, 4
test eax, eax
jbe 0x4118a7
lea ecx, [ebp - 0x82c]
call fcn.0040d521
push eax
call fcn.00492a70
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x82c]
call fcn.0040d52c
movsx ecx, al
cmp ecx, 0x5c
je 0x411898
push 0x4cf9a0
lea ecx, [ebp - 0x82c]
call fcn.00470ae0
lea edx, [ebp - 0x82c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00470bc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x82c]
call fcn.00470660
jmp 0x41213d
mov ecx, dword [ebp + 0xc]
call fcn.004703e0
sub eax, 0xa
cmp dword [ebp - 0x804], eax
jae 0x411a5d
push 0xb
push str._progfiles_
mov eax, dword [ebp - 0x800]
add eax, dword [ebp - 0x804]
push eax
call fcn.004b4aee
add esp, 0xc
test eax, eax
jne 0x411a5d
push str._progfiles_
call fcn.00492a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x834]
call fcn.004703d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x834]
push ecx
push 0
push 0
push 0x26
push 0
call fcn.0040e1c2
add esp, 0x14
test eax, eax
jge 0x4119e7
mov dword [ebp - 0x838], 0
lea edx, [ebp - 0x838]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4119e7
mov dword [ebp - 0x94c], 1
mov dword [ebp - 0x948], 0x104
mov al, byte [0x4cfa1a]
mov byte [ebp - 0x944], al
push 0x103
push 0
lea ecx, [ebp - 0x943]
push ecx
call fcn.00491e90
add esp, 0xc
lea edx, [ebp - 0x948]
push edx
lea eax, [ebp - 0x944]
push eax
lea ecx, [ebp - 0x94c]
push ecx
push 0
push str.ProgramFilesDir
mov edx, dword [ebp - 0x838]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4119da
lea eax, [ebp - 0x944]
push eax
lea ecx, [ebp - 0x834]
call fcn.004707b0
mov ecx, dword [ebp - 0x838]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x834]
call fcn.0040d521
push eax
call fcn.00492a70
add esp, 4
test eax, eax
jbe 0x411a49
lea ecx, [ebp - 0x834]
call fcn.0040d521
push eax
call fcn.00492a70
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x834]
call fcn.0040d52c
movsx edx, al
cmp edx, 0x5c
je 0x411a3a
push 0x4cf9a0
lea ecx, [ebp - 0x834]
call fcn.00470ae0
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00470bc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x834]
call fcn.00470660
jmp 0x41213d
mov ecx, dword [ebp + 0xc]
call fcn.004703e0
sub eax, 0xd
cmp dword [ebp - 0x804], eax
jae 0x411c41
push 0xe
push str._progfilesx86_
mov ecx, dword [ebp - 0x800]
add ecx, dword [ebp - 0x804]
push ecx
call fcn.004b4aee
add esp, 0xc
test eax, eax
jne 0x411c41
push str._progfilesx86_
call fcn.00492a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x954]
call fcn.004703d0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x954]
push edx
push 0
push 0
push 0x26
push 0
call fcn.0040e1c2
add esp, 0x14
test eax, eax
jge 0x411bcb
mov dword [ebp - 0x958], 0
lea eax, [ebp - 0x958]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x411bcb
mov dword [ebp - 0xa6c], 1
mov dword [ebp - 0xa68], 0x104
mov cl, byte [0x4cfa1a]
mov byte [ebp - 0xa64], cl
push 0x103
push 0
lea edx, [ebp - 0xa63]
push edx
call fcn.00491e90
add esp, 0xc
lea eax, [ebp - 0xa68]
push eax
lea ecx, [ebp - 0xa64]
push ecx
lea edx, [ebp - 0xa6c]
push edx
push 0
push str.ProgramFilesDir__x86_
mov eax, dword [ebp - 0x958]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411b7f
lea ecx, [ebp - 0xa64]
push ecx
lea ecx, [ebp - 0x954]
call fcn.004707b0
jmp 0x411bbe
lea edx, [ebp - 0xa68]
push edx
lea eax, [ebp - 0xa64]
push eax
lea ecx, [ebp - 0xa6c]
push ecx
push 0
push str.ProgramFilesDir
mov edx, dword [ebp - 0x958]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411bbe
lea eax, [ebp - 0xa64]
push eax
lea ecx, [ebp - 0x954]
call fcn.004707b0
mov ecx, dword [ebp - 0x958]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x954]
call fcn.0040d521
push eax
call fcn.00492a70
add esp, 4
test eax, eax
jbe 0x411c2d
lea ecx, [ebp - 0x954]
call fcn.0040d521
push eax
call fcn.00492a70
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x954]
call fcn.0040d52c
movsx edx, al
cmp edx, 0x5c
je 0x411c1e
push 0x4cf9a0
lea ecx, [ebp - 0x954]
call fcn.00470ae0
lea eax, [ebp - 0x954]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00470bc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x954]
call fcn.00470660
jmp 0x41213d
mov ecx, dword [ebp + 0xc]
call fcn.004703e0
sub eax, 4
cmp dword [ebp - 0x804], eax
jae 0x4120bb
push 5
push str._app:
mov ecx, dword [ebp - 0x800]
add ecx, dword [ebp - 0x804]
push ecx
call fcn.004b4aee
add esp, 0xc
test eax, eax
jne 0x4120bb
lea ecx, [ebp - 0xa78]
call fcn.004703d0
mov byte [ebp - 4], 9
push str._app:
call fcn.00492a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
jmp 0x411cb5
mov edx, dword [ebp - 0x804]
add edx, 1
mov dword [ebp - 0x804], edx
mov ecx, dword [ebp + 0xc]
call fcn.004703e0
cmp dword [ebp - 0x804], eax
jae 0x411cfa
mov eax, dword [ebp - 0x800]
add eax, dword [ebp - 0x804]
movsx ecx, byte [eax]
cmp ecx, 0x25
jne 0x411cdd
jmp 0x411cfa
mov edx, dword [ebp - 0x800]
add edx, dword [ebp - 0x804]
movzx eax, byte [edx]
push eax
lea ecx, [ebp - 0xa78]
call fcn.00470b60
jmp 0x411ca6
mov dword [ebp - 0xa70], 0
mov dword [ebp - 0xa7c], 0
lea ecx, [ebp - 0xa78]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_
lea edx, [ebp - 0xc7c]
push edx
call fcn.00470fb0
add esp, 0xc
mov dword [ebp - 0xc8c], eax
mov eax, dword [ebp - 0xc8c]
mov dword [ebp - 0xc90], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa70]
push ecx
mov ecx, dword [ebp - 0xc90]
call fcn.0040d521
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xc71], al
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xc7c]
call fcn.00470660
movzx edx, byte [ebp - 0xc71]
test edx, edx
je 0x411e64
mov dword [ebp - 0xa80], 0
mov dword [ebp - 0xa84], 0x104
mov al, byte [0x4cfa1a]
mov byte [ebp - 0xb8c], al
push 0x103
push 0
lea ecx, [ebp - 0xb8b]
push ecx
call fcn.00491e90
add esp, 0xc
lea edx, [ebp - 0xa84]
push edx
lea eax, [ebp - 0xb8c]
push eax
lea ecx, [ebp - 0xa80]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xa70]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411e57
cmp dword [ebp - 0xa84], 0
jbe 0x411e57
mov eax, dword [ebp - 0xa84]
sub eax, 1
mov dword [ebp - 0xb90], eax
jmp 0x411e10
mov ecx, dword [ebp - 0xb90]
sub ecx, 1
mov dword [ebp - 0xb90], ecx
cmp dword [ebp - 0xb90], 0
jle 0x411e3e
mov edx, dword [ebp - 0xb90]
movsx eax, byte [ebp + edx - 0xb8c]
cmp eax, 0x5c
jne 0x411e3c
mov ecx, dword [ebp - 0xb90]
mov byte [ebp + ecx - 0xb8c], 0
jmp 0x411e3e
jmp 0x411e01
lea edx, [ebp - 0xb8c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00470ae0
mov dword [ebp - 0xa7c], 1
mov eax, dword [ebp - 0xa70]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xa7c], 0
jne 0x411f88
push str.realplay.exe
lea ecx, [ebp - 0xa78]
push ecx
call fcn.0040d567
add esp, 8
movzx edx, al
test edx, edx
je 0x411f88
lea ecx, [ebp - 0xb98]
call fcn.004703d0
mov byte [ebp - 4], 0xb
push 0
lea eax, [ebp - 0xb98]
push eax
push str.MainApp
push str.RealPlayer
push SysReAllocString
call fcn.0041093e
add esp, 0x14
test eax, eax
je 0x411f74
lea ecx, [ebp - 0xb98]
push ecx
lea ecx, [ebp - 0xc00]
call fcn.00479750
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0xbc8]
push edx
lea ecx, [ebp - 0xc00]
call fcn.00479900
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xbd0]
push eax
lea ecx, [ebp - 0xbc8]
call fcn.00479790
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xbd0]
call fcn.004703e0
sub eax, 1
push eax
lea ecx, [ebp - 0xbd0]
call fcn.0040d52c
movsx ecx, al
cmp ecx, 0x5c
je 0x411f38
push 0x5c
lea ecx, [ebp - 0xbd0]
call fcn.00470b60
lea edx, [ebp - 0xbd0]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00470bc0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00470660
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xbc8]
call fcn.004798b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc00]
call fcn.004798b0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb98]
call fcn.00470660
jmp 0x4120a7
cmp dword [ebp - 0xa7c], 0
jne 0x4120a7
push str.realdownloader.exe
lea eax, [ebp - 0xa78]
push eax
call fcn.0040d567
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4120a7
lea ecx, [ebp - 0xc08]
call fcn.004703d0
mov byte [ebp - 4], 0xf
push 0
lea edx, [ebp - 0xc08]
push edx
push str.MainApp
push 0x4cfd08
push SysReAllocString
call fcn.0041093e
add esp, 0x14
test eax, eax
je 0x412098
lea eax, [ebp - 0xc08]
push eax
lea ecx, [ebp - 0xc70]
call fcn.00479750
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc38]
push ecx
lea ecx, [ebp - 0xc70]
call fcn.00479900
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0xc40]
push edx
lea ecx, [ebp - 0xc38]
call fcn.00479790
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xc40]
call fcn.004703e0
sub eax, 1
push eax
lea ecx, [ebp - 0xc40]
call fcn.0040d52c
movsx eax, al
cmp eax, 0x5c
je 0x41205c
push 0x5c
lea ecx, [ebp - 0xc40]
call fcn.00470b60
lea ecx, [ebp - 0xc40]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00470bc0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xc40]
call fcn.00470660
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc38]
call fcn.004798b0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xc70]
call fcn.004798b0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xc08]
call fcn.00470660
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa78]
call fcn.00470660
jmp 0x41213d
mov ecx, dword [ebp + 0xc]
call fcn.004703e0
sub eax, 5
cmp dword [ebp - 0x804], eax
jae 0x412125
push 6
push str.quot_
mov edx, dword [ebp - 0x800]
add edx, dword [ebp - 0x804]
push edx
call fcn.004b4aee
add esp, 0xc
test eax, eax
jne 0x412125
push str.quot_
call fcn.00492a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
mov eax, dword [ebp - 0x804]
sub eax, 1
mov dword [ebp - 0x804], eax
push 0x4e42c4
lea ecx, [ebp - 0x1c]
call fcn.00470ae0
jmp 0x41213d
mov ecx, dword [ebp - 0x800]
add ecx, dword [ebp - 0x804]
movzx edx, byte [ecx]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00470b60
jmp 0x411400
push 0x7d0
lea eax, [ebp - 0x7fc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040d521
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea ecx, [ebp - 0x7fc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00470680
mov byte [ebp - 4], 0x13
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0xc84]
call fcn.004705c0
mov dword [ebp - 0xc94], eax
mov eax, dword [ebp - 0xc94]
mov dword [ebp - 0xc98], eax
mov byte [ebp - 4], 0x14
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc98]
call fcn.00471180
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xc84]
call fcn.00470660
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004705c0
mov edx, dword [ebp - 0xc88]
or edx, 1
mov dword [ebp - 0xc88], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00470660
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00470660
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00492093
mov esp, ebp
pop ebp
ret