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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcbc5
mov eax, dword fs:[0]
push eax
sub esp, 0xc8c
mov eax, dword [0x4f9590]
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.004724b0
mov dword [ebp - 4], 1
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004731d0
mov dword [ebp - 0x800], eax
mov dword [ebp - 0x804], 0
jmp 0x410a1f
mov eax, dword [ebp - 0x804]
add eax, 1
mov dword [ebp - 0x804], eax
mov ecx, dword [ebp + 0xc]
call fcn.004724c0
cmp dword [ebp - 0x804], eax
jae 0x411752
mov ecx, dword [ebp + 0xc]
call fcn.004724c0
sub eax, 0xb
cmp dword [ebp - 0x804], eax
jae 0x410af0
push 0xc
push str._defbrowser_
mov ecx, dword [ebp - 0x800]
add ecx, dword [ebp - 0x804]
push ecx
call fcn.004b6c8e
add esp, 0xc
test eax, eax
jne 0x410af0
cmp dword [ebp + 0x10], 0
je 0x410af0
push str._defbrowser_
call fcn.00494a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x80c]
call fcn.004724b0
mov byte [ebp - 4], 2
push 0
lea edx, [ebp - 0x80c]
push edx
push str.PreferredBrowser
push str.RealMediaSDK
push SysReAllocString
call fcn.0041022e
add esp, 0x14
test eax, eax
je 0x410adc
lea eax, [ebp - 0x80c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00472ca0
push 0x4cdc80
lea ecx, [ebp - 0x1c]
call fcn.00472bc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80c]
call fcn.00472740
jmp 0x41174d
mov ecx, dword [ebp + 0xc]
call fcn.004724c0
sub eax, 0xf
cmp dword [ebp - 0x804], eax
jae 0x410be0
push 0x10
push str._alluserscommon_
mov ecx, dword [ebp - 0x800]
add ecx, dword [ebp - 0x804]
push ecx
call fcn.004b6c8e
add esp, 0xc
test eax, eax
jne 0x410be0
push str._alluserscommon_
call fcn.00494a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x814]
call fcn.004724b0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x814]
push edx
push 0
push 0
push 0x23
push 0
call fcn.0040e1d9
add esp, 0x14
lea ecx, [ebp - 0x814]
call fcn.0040d537
push eax
call fcn.00494a70
add esp, 4
test eax, eax
jbe 0x410bcc
lea ecx, [ebp - 0x814]
call fcn.0040d537
push eax
call fcn.00494a70
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x814]
call fcn.0040d542
movsx eax, al
cmp eax, 0x5c
je 0x410bbd
push 0x4cd950
lea ecx, [ebp - 0x814]
call fcn.00472bc0
lea ecx, [ebp - 0x814]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00472ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x814]
call fcn.00472740
jmp 0x41174d
mov ecx, dword [ebp + 0xc]
call fcn.004724c0
sub eax, 8
cmp dword [ebp - 0x804], eax
jae 0x410ceb
push 9
push str._appdata_
mov edx, dword [ebp - 0x800]
add edx, dword [ebp - 0x804]
push edx
call fcn.004b6c8e
add esp, 0xc
test eax, eax
jne 0x410ceb
push str._appdata_
call fcn.00494a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x81c]
call fcn.004724b0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x81c]
push eax
push 0
push 0
push 0x1c
push 0
call fcn.0040e1d9
add esp, 0x14
test eax, eax
jne 0x410c75
lea ecx, [ebp - 0x81c]
push ecx
push 0
push 0
push 0x1a
push 0
call fcn.0040e1d9
add esp, 0x14
lea ecx, [ebp - 0x81c]
call fcn.0040d537
push eax
call fcn.00494a70
add esp, 4
test eax, eax
jbe 0x410cd7
lea ecx, [ebp - 0x81c]
call fcn.0040d537
push eax
call fcn.00494a70
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x81c]
call fcn.0040d542
movsx edx, al
cmp edx, 0x5c
je 0x410cc8
push 0x4cd950
lea ecx, [ebp - 0x81c]
call fcn.00472bc0
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00472ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x81c]
call fcn.00472740
jmp 0x41174d
mov ecx, dword [ebp + 0xc]
call fcn.004724c0
sub eax, 0xf
cmp dword [ebp - 0x804], eax
jae 0x410ddb
push 0x10
push str._system_appdata_
mov ecx, dword [ebp - 0x800]
add ecx, dword [ebp - 0x804]
push ecx
call fcn.004b6c8e
add esp, 0xc
test eax, eax
jne 0x410ddb
push str._system_appdata_
call fcn.00494a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x824]
call fcn.004724b0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x824]
push edx
push 0
push 0
push 0x1a
push 0
call fcn.0040e1d9
add esp, 0x14
lea ecx, [ebp - 0x824]
call fcn.0040d537
push eax
call fcn.00494a70
add esp, 4
test eax, eax
jbe 0x410dc7
lea ecx, [ebp - 0x824]
call fcn.0040d537
push eax
call fcn.00494a70
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x824]
call fcn.0040d542
movsx eax, al
cmp eax, 0x5c
je 0x410db8
push 0x4cd950
lea ecx, [ebp - 0x824]
call fcn.00472bc0
lea ecx, [ebp - 0x824]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00472ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x824]
call fcn.00472740
jmp 0x41174d
mov ecx, dword [ebp + 0xc]
call fcn.004724c0
sub eax, 0xe
cmp dword [ebp - 0x804], eax
jae 0x410ecb
push 0xf
push str._local_appdata_
mov edx, dword [ebp - 0x800]
add edx, dword [ebp - 0x804]
push edx
call fcn.004b6c8e
add esp, 0xc
test eax, eax
jne 0x410ecb
push str._local_appdata_
call fcn.00494a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x82c]
call fcn.004724b0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x82c]
push eax
push 0
push 0
push 0x1c
push 0
call fcn.0040e1d9
add esp, 0x14
lea ecx, [ebp - 0x82c]
call fcn.0040d537
push eax
call fcn.00494a70
add esp, 4
test eax, eax
jbe 0x410eb7
lea ecx, [ebp - 0x82c]
call fcn.0040d537
push eax
call fcn.00494a70
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x82c]
call fcn.0040d542
movsx ecx, al
cmp ecx, 0x5c
je 0x410ea8
push 0x4cd950
lea ecx, [ebp - 0x82c]
call fcn.00472bc0
lea edx, [ebp - 0x82c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00472ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x82c]
call fcn.00472740
jmp 0x41174d
mov ecx, dword [ebp + 0xc]
call fcn.004724c0
sub eax, 0xa
cmp dword [ebp - 0x804], eax
jae 0x41106d
push 0xb
push str._progfiles_
mov eax, dword [ebp - 0x800]
add eax, dword [ebp - 0x804]
push eax
call fcn.004b6c8e
add esp, 0xc
test eax, eax
jne 0x41106d
push str._progfiles_
call fcn.00494a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x834]
call fcn.004724b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x834]
push ecx
push 0
push 0
push 0x26
push 0
call fcn.0040e1d9
add esp, 0x14
test eax, eax
jge 0x410ff7
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 0x410ff7
mov dword [ebp - 0x94c], 1
mov dword [ebp - 0x948], 0x104
mov al, byte [0x4cd9ca]
mov byte [ebp - 0x944], al
push 0x103
push 0
lea ecx, [ebp - 0x943]
push ecx
call fcn.00493f80
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 0x410fea
lea eax, [ebp - 0x944]
push eax
lea ecx, [ebp - 0x834]
call fcn.00472890
mov ecx, dword [ebp - 0x838]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x834]
call fcn.0040d537
push eax
call fcn.00494a70
add esp, 4
test eax, eax
jbe 0x411059
lea ecx, [ebp - 0x834]
call fcn.0040d537
push eax
call fcn.00494a70
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x834]
call fcn.0040d542
movsx edx, al
cmp edx, 0x5c
je 0x41104a
push 0x4cd950
lea ecx, [ebp - 0x834]
call fcn.00472bc0
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00472ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x834]
call fcn.00472740
jmp 0x41174d
mov ecx, dword [ebp + 0xc]
call fcn.004724c0
sub eax, 0xd
cmp dword [ebp - 0x804], eax
jae 0x411251
push 0xe
push str._progfilesx86_
mov ecx, dword [ebp - 0x800]
add ecx, dword [ebp - 0x804]
push ecx
call fcn.004b6c8e
add esp, 0xc
test eax, eax
jne 0x411251
push str._progfilesx86_
call fcn.00494a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
lea ecx, [ebp - 0x954]
call fcn.004724b0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x954]
push edx
push 0
push 0
push 0x26
push 0
call fcn.0040e1d9
add esp, 0x14
test eax, eax
jge 0x4111db
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 0x4111db
mov dword [ebp - 0xa6c], 1
mov dword [ebp - 0xa68], 0x104
mov cl, byte [0x4cd9ca]
mov byte [ebp - 0xa64], cl
push 0x103
push 0
lea edx, [ebp - 0xa63]
push edx
call fcn.00493f80
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 0x41118f
lea ecx, [ebp - 0xa64]
push ecx
lea ecx, [ebp - 0x954]
call fcn.00472890
jmp 0x4111ce
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 0x4111ce
lea eax, [ebp - 0xa64]
push eax
lea ecx, [ebp - 0x954]
call fcn.00472890
mov ecx, dword [ebp - 0x958]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x954]
call fcn.0040d537
push eax
call fcn.00494a70
add esp, 4
test eax, eax
jbe 0x41123d
lea ecx, [ebp - 0x954]
call fcn.0040d537
push eax
call fcn.00494a70
add esp, 4
sub eax, 1
push eax
lea ecx, [ebp - 0x954]
call fcn.0040d542
movsx edx, al
cmp edx, 0x5c
je 0x41122e
push 0x4cd950
lea ecx, [ebp - 0x954]
call fcn.00472bc0
lea eax, [ebp - 0x954]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00472ca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x954]
call fcn.00472740
jmp 0x41174d
mov ecx, dword [ebp + 0xc]
call fcn.004724c0
sub eax, 4
cmp dword [ebp - 0x804], eax
jae 0x4116cb
push 5
push str._app:
mov ecx, dword [ebp - 0x800]
add ecx, dword [ebp - 0x804]
push ecx
call fcn.004b6c8e
add esp, 0xc
test eax, eax
jne 0x4116cb
lea ecx, [ebp - 0xa78]
call fcn.004724b0
mov byte [ebp - 4], 9
push str._app:
call fcn.00494a70
add esp, 4
add eax, dword [ebp - 0x804]
mov dword [ebp - 0x804], eax
jmp 0x4112c5
mov edx, dword [ebp - 0x804]
add edx, 1
mov dword [ebp - 0x804], edx
mov ecx, dword [ebp + 0xc]
call fcn.004724c0
cmp dword [ebp - 0x804], eax
jae 0x41130a
mov eax, dword [ebp - 0x800]
add eax, dword [ebp - 0x804]
movsx ecx, byte [eax]
cmp ecx, 0x25
jne 0x4112ed
jmp 0x41130a
mov edx, dword [ebp - 0x800]
add edx, dword [ebp - 0x804]
movzx eax, byte [edx]
push eax
lea ecx, [ebp - 0xa78]
call fcn.00472c40
jmp 0x4112b6
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.00473090
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.0040d537
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.00472740
movzx edx, byte [ebp - 0xc71]
test edx, edx
je 0x411474
mov dword [ebp - 0xa80], 0
mov dword [ebp - 0xa84], 0x104
mov al, byte [0x4cd9ca]
mov byte [ebp - 0xb8c], al
push 0x103
push 0
lea ecx, [ebp - 0xb8b]
push ecx
call fcn.00493f80
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 0x411467
cmp dword [ebp - 0xa84], 0
jbe 0x411467
mov eax, dword [ebp - 0xa84]
sub eax, 1
mov dword [ebp - 0xb90], eax
jmp 0x411420
mov ecx, dword [ebp - 0xb90]
sub ecx, 1
mov dword [ebp - 0xb90], ecx
cmp dword [ebp - 0xb90], 0
jle 0x41144e
mov edx, dword [ebp - 0xb90]
movsx eax, byte [ebp + edx - 0xb8c]
cmp eax, 0x5c
jne 0x41144c
mov ecx, dword [ebp - 0xb90]
mov byte [ebp + ecx - 0xb8c], 0
jmp 0x41144e
jmp 0x411411
lea edx, [ebp - 0xb8c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00472bc0
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 0x411598
push str.realplay.exe
lea ecx, [ebp - 0xa78]
push ecx
call fcn.0040d57d
add esp, 8
movzx edx, al
test edx, edx
je 0x411598
lea ecx, [ebp - 0xb98]
call fcn.004724b0
mov byte [ebp - 4], 0xb
push 0
lea eax, [ebp - 0xb98]
push eax
push str.MainApp
push 0x4cdb68
push SysReAllocString
call fcn.0041022e
add esp, 0x14
test eax, eax
je 0x411584
lea ecx, [ebp - 0xb98]
push ecx
lea ecx, [ebp - 0xc00]
call fcn.0047b970
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0xbc8]
push edx
lea ecx, [ebp - 0xc00]
call fcn.0047ba10
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xbd0]
push eax
lea ecx, [ebp - 0xbc8]
call fcn.0047b9d0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xbd0]
call fcn.004724c0
sub eax, 1
push eax
lea ecx, [ebp - 0xbd0]
call fcn.0040d542
movsx ecx, al
cmp ecx, 0x5c
je 0x411548
push 0x5c
lea ecx, [ebp - 0xbd0]
call fcn.00472c40
lea edx, [ebp - 0xbd0]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00472ca0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbd0]
call fcn.00472740
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xbc8]
call fcn.0047b860
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc00]
call fcn.0047b860
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb98]
call fcn.00472740
jmp 0x4116b7
cmp dword [ebp - 0xa7c], 0
jne 0x4116b7
push str.realdownloader.exe
lea eax, [ebp - 0xa78]
push eax
call fcn.0040d57d
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4116b7
lea ecx, [ebp - 0xc08]
call fcn.004724b0
mov byte [ebp - 4], 0xf
push 0
lea edx, [ebp - 0xc08]
push edx
push str.MainApp
push 0x4cdb44
push SysReAllocString
call fcn.0041022e
add esp, 0x14
test eax, eax
je 0x4116a8
lea eax, [ebp - 0xc08]
push eax
lea ecx, [ebp - 0xc70]
call fcn.0047b970
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc38]
push ecx
lea ecx, [ebp - 0xc70]
call fcn.0047ba10
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0xc40]
push edx
lea ecx, [ebp - 0xc38]
call fcn.0047b9d0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xc40]
call fcn.004724c0
sub eax, 1
push eax
lea ecx, [ebp - 0xc40]
call fcn.0040d542
movsx eax, al
cmp eax, 0x5c
je 0x41166c
push 0x5c
lea ecx, [ebp - 0xc40]
call fcn.00472c40
lea ecx, [ebp - 0xc40]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00472ca0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xc40]
call fcn.00472740
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc38]
call fcn.0047b860
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xc70]
call fcn.0047b860
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xc08]
call fcn.00472740
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa78]
call fcn.00472740
jmp 0x41174d
mov ecx, dword [ebp + 0xc]
call fcn.004724c0
sub eax, 5
cmp dword [ebp - 0x804], eax
jae 0x411735
push 6
push str.quot_
mov edx, dword [ebp - 0x800]
add edx, dword [ebp - 0x804]
push edx
call fcn.004b6c8e
add esp, 0xc
test eax, eax
jne 0x411735
push str.quot_
call fcn.00494a70
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 0x4e1804
lea ecx, [ebp - 0x1c]
call fcn.00472bc0
jmp 0x41174d
mov ecx, dword [ebp - 0x800]
add ecx, dword [ebp - 0x804]
movzx edx, byte [ecx]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00472c40
jmp 0x410a10
push 0x7d0
lea eax, [ebp - 0x7fc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040d537
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea ecx, [ebp - 0x7fc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00472760
mov byte [ebp - 4], 0x13
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0xc84]
call fcn.004726a0
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.00473260
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xc84]
call fcn.00472740
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004726a0
mov edx, dword [ebp - 0xc88]
or edx, 1
mov dword [ebp - 0xc88], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00472740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00472740
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.004944f9
mov esp, ebp
pop ebp
ret