Function at 0x10005035
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1000f804
call fcn.1000f3a0
sub esp, 0x28c
push ebx
mov dword [ebp - 0x18], ecx
mov cl, byte [ebp + 0xf]
push esi
push edi
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x38], cl
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
mov al, byte [ebx]
cmp al, 0x27
jne 0x1000508a
inc ebx
mov dword [ebp - 0x28], 1
mov dword [ebp + 8], ebx
mov esi, dword [sym.imp.MSVCRT.dll_isdigit]
jmp 0x100050e0
movsx eax, al
push eax
call dword [sym.imp.MSVCRT.dll_isalpha]
test eax, eax
pop ecx
je 0x100050a2
mov dword [ebp - 0x20], 1
jmp 0x10005082
movsx eax, byte [ebx]
mov esi, dword [sym.imp.MSVCRT.dll_isdigit]
push eax
call esi
test eax, eax
pop ecx
jne 0x100050d9
cmp byte [ebx], 0x2d
jne 0x100050c4
movsx eax, byte [ebx + 1]
push eax
call esi
test eax, eax
pop ecx
jne 0x100050d9
lea eax, [ebp - 0x60]
push 0x100105d0
push eax
mov dword [ebp - 0x60], 0xfffff824
call sub.MSVCRT.dll__CxxThrowException
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
xor edi, edi
xor eax, eax
cmp dword [ebp - 0x28], eax
je 0x10005a88
mov cl, byte [ebx]
cmp cl, 0x27
jne 0x10005117
cmp byte [ebx + 1], cl
lea eax, [ebx + 1]
jne 0x10005112
mov ebx, eax
push ebx
lea ecx, [ebp - 0x38]
call fcn.1000a6e3
inc edi
inc ebx
mov dword [ebp + 8], ebx
jmp 0x100050e6
cmp cl, 0x27
je 0x1000511b
test cl, cl
jne 0x10005102
and byte [ebp - 0x19], 0
lea eax, [ebp - 0x19]
push eax
lea ecx, [ebp - 0x38]
call fcn.1000a6e3
mov al, byte [ebp + 0xf]
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], al
call fcn.1000a961
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], esi
push dword [ebp - 0x34]
mov byte [ebp - 4], 2
call sub.MSVCRT.dll_strlen
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x28], eax
push dword [ebp - 0x34]
push esi
call sub.MSVCRT.dll_strcpy
pop ecx
mov ebx, 0x104
pop ecx
cmp byte [esi], 0
je 0x100051fa
push 0x5b
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
and dword [ebp - 0x14], 0
mov edi, eax
pop ecx
test edi, edi
pop ecx
jne 0x100051b5
push dword [ebp - 0x28]
call sub.MSVCRT.dll_strlen
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
pop ecx
push esi
push eax
call sub.MSVCRT.dll_strcpy
push dword [ebp - 0x14]
call sub.MSVCRT.dll_strlen
add esp, 0xc
add esi, eax
jmp 0x100051e2
mov ebx, edi
sub ebx, esi
lea eax, [ebx + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [ebp - 0x14]
add esp, 0xc
sub eax, esi
mov esi, edi
mov ebx, 0x104
and byte [eax + edi], 0
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x44]
push eax
lea eax, [ebp - 0x74]
push dword [ebp - 0x40]
push eax
call fcn.1000a929
cmp byte [esi], 0
jne 0x1000524c
mov ecx, dword [ebp + 0xc]
push 0x10014d94
call fcn.1000aa09
mov eax, dword [ebp - 0x40]
mov esi, dword [eax]
cmp esi, dword [ebp - 0x40]
je 0x10005229
push dword [esi + 8]
mov ecx, dword [ebp + 0xc]
call fcn.1000aa76
push dword [esi + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov esi, dword [esi]
pop ecx
jmp 0x1000520c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push dword [ebp - 0x28]
inc eax
mov dword [ecx], eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.1000a724
jmp 0x10005b65
inc esi
push 0x5d
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
mov dword [ebp - 0x20], eax
test eax, eax
pop ecx
jne 0x10005274
lea eax, [ebp - 0x70]
push 0x100105d0
push eax
mov dword [ebp - 0x70], 0xfffff81b
call sub.MSVCRT.dll__CxxThrowException
mov edi, dword [ebp - 0x20]
sub edi, esi
lea eax, [edi + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x24], eax
push edi
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [ebp - 0x24]
push 0x100133fc
push eax
and byte [edi + eax], 0
call sub.MSVCRT.dll_strcmp
add esp, 0x14
test eax, eax
jne 0x1000532d
mov eax, dword [ebp - 0x18]
push 0
push str.HKEY_LOCAL_MACHINESoftwareBrilliant_Digital_EntertainmentProducts
lea esi, [eax + 0x34]
mov ecx, esi
call fcn.1000e845
test eax, eax
jne 0x100052dd
push eax
lea eax, [ebp - 0x14]
push eax
push str.BDE_DIR
mov ecx, esi
call fcn.1000ea45
test eax, eax
je 0x10005372
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push dword [ebp - 0x14]
call sub.MSVCRT.dll_strlen
mov ecx, dword [ebp - 0x14]
mov al, byte [eax + ecx - 1]
push eax
call fcn.1000de47
pop ecx
test al, al
pop ecx
jne 0x10005319
push 0x10013400
push dword [ebp - 0x14]
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 0x100133fc
push dword [ebp - 0x14]
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
jmp 0x10005a33
mov edi, dword [ebp - 0x24]
push str.ALTNET
push edi
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x100053f4
mov eax, dword [ebp - 0x18]
push 0
push str.HKEY_LOCAL_MACHINESoftwareAltnet
lea esi, [eax + 0x34]
mov ecx, esi
call fcn.1000e845
test eax, eax
jne 0x100053ae
push eax
lea eax, [ebp - 0x14]
push eax
push str.ALTNET_DIR
mov ecx, esi
call fcn.1000ea45
test eax, eax
jne 0x100053ae
mov ecx, esi
call fcn.1000e921
push dword [ebp - 0x14]
call sub.MSVCRT.dll_strlen
mov ecx, dword [ebp - 0x14]
mov al, byte [eax + ecx - 1]
push eax
call fcn.1000de47
pop ecx
cmp al, 1
pop ecx
jne 0x10005a33
push dword [ebp - 0x14]
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x14]
and byte [eax + ecx - 1], 0
jmp 0x10005a33
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push dword [ebp - 0x14]
call sub.MSVCRT.dll_strlen
mov ecx, dword [ebp - 0x14]
mov al, byte [eax + ecx - 1]
push eax
call fcn.1000de47
pop ecx
test al, al
pop ecx
jne 0x100053ea
push 0x10013400
push dword [ebp - 0x14]
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push str.ALTNET
jmp 0x1000531e
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 7
pop ecx
jne 0x1000542b
mov esi, dword [sym.imp.MSVCRT.dll_strncmp]
push eax
push str.VERSION
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x10005431
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
push str.3000
push eax
jmp 0x10005a08
mov esi, dword [sym.imp.MSVCRT.dll_strncmp]
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 7
pop ecx
jne 0x10005472
push eax
push str.APPDATA
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x10005472
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
pop ecx
lea ecx, [eax + 0xb0]
call fcn.1000afc0
push dword [ebp - 0x14]
push 0x3ed
jmp 0x1000566f
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 7
pop ecx
jne 0x100054b3
push eax
push str.DESKTOP
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x100054b3
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
pop ecx
lea ecx, [eax + 0xb0]
call fcn.1000afc0
push dword [ebp - 0x14]
push 0x3ec
jmp 0x1000566f
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 0xe
pop ecx
jne 0x100054f4
push eax
push str.DESKTOP_COMMON
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x100054f4
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
pop ecx
lea ecx, [eax + 0xb0]
call fcn.1000afc0
push dword [ebp - 0x14]
push 0x3f1
jmp 0x1000566f
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 9
pop ecx
jne 0x10005535
push eax
push str.STARTMENU
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x10005535
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
pop ecx
lea ecx, [eax + 0xb0]
call fcn.1000afc0
push dword [ebp - 0x14]
push 0x3ea
jmp 0x1000566f
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 0x10
pop ecx
jne 0x10005576
push eax
push str.STARTMENU_COMMON
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x10005576
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
pop ecx
lea ecx, [eax + 0xb0]
call fcn.1000afc0
push dword [ebp - 0x14]
push 0x3ef
jmp 0x1000566f
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 7
pop ecx
jne 0x100055b7
push eax
push str.STARTUP
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x100055b7
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
pop ecx
lea ecx, [eax + 0xb0]
call fcn.1000afc0
push dword [ebp - 0x14]
push 0x3e8
jmp 0x1000566f
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 0xe
pop ecx
jne 0x100055f5
push eax
push str.STARTUP_COMMON
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x100055f5
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
pop ecx
lea ecx, [eax + 0xb0]
call fcn.1000afc0
push dword [ebp - 0x14]
push 0x3ee
jmp 0x1000566f
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 8
pop ecx
jne 0x10005633
push eax
push str.PROGRAMS
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x10005633
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
pop ecx
lea ecx, [eax + 0xb0]
call fcn.1000afc0
push dword [ebp - 0x14]
push 0x3eb
jmp 0x1000566f
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 0xf
pop ecx
jne 0x1000567a
push eax
push str.PROGRAMS_COMMON
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x1000567a
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
pop ecx
lea ecx, [eax + 0xb0]
call fcn.1000afc0
push dword [ebp - 0x14]
push 0x3f0
push eax
call fcn.1000e487
jmp 0x10005a30
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 4
pop ecx
jne 0x100056b4
push eax
push str.HWND
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x100056b4
push 0xa
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
pop ecx
lea ecx, [eax + 0xb0]
call fcn.1000afc0
jmp 0x10005a24
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 7
pop ecx
jne 0x1000570d
push eax
push str.WINDOWS
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x1000570d
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push dword [ebp - 0x14]
call sub.MSVCRT.dll_strlen
mov ecx, dword [ebp - 0x14]
lea esi, [eax + ecx - 1]
mov al, byte [eax + ecx - 1]
push eax
call fcn.1000de47
pop ecx
pop ecx
test al, al
je 0x10005a33
and byte [esi], 0
jmp 0x10005a33
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 6
pop ecx
jne 0x1000573d
push eax
push str.SYSTEM
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x1000573d
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x100056e2
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 3
pop ecx
jne 0x100057b4
push eax
push 0x10013b70
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x100057b4
mov eax, dword [ebp - 0x18]
push 0
push str.HKEY_CURRENT_USERSoftwareNetscapeNetscape_NavigatorMain
lea esi, [eax + 0x34]
mov ecx, esi
call fcn.1000e845
test eax, eax
je 0x10005786
lea eax, [ebp - 0x5c]
push 0x100105d0
push eax
mov dword [ebp - 0x5c], 0xfffffc14
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x14]
push 0
push eax
push str.Install_Directory
mov ecx, esi
call fcn.1000ea45
test eax, eax
je 0x100058c4
mov dword [ebp - 0x58], 0xfffffc15
push 0x100105d0
lea eax, [ebp - 0x58]
jmp 0x100058be
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 3
pop ecx
jne 0x100058d0
push eax
push 0x10013b18
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x100058d0
mov eax, dword [ebp - 0x18]
xor edi, edi
push edi
push str.HKEY_LOCAL_MACHINESoftwareNetscapeNetscape_Navigator
lea esi, [eax + 0x34]
mov ecx, esi
call fcn.1000e845
cmp eax, edi
je 0x10005806
lea eax, [ebp - 0x54]
push 0x100105d0
push eax
mov dword [ebp - 0x54], 0xfffffc14
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x98]
push edi
push eax
push str.CurrentVersion
mov ecx, esi
call fcn.1000e9c9
cmp eax, edi
je 0x10005833
lea eax, [ebp - 0x48]
push 0x100105d0
push eax
mov dword [ebp - 0x48], 0xfffffc15
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.1000e921
lea eax, [ebp - 0x298]
push str.HKEY_LOCAL_MACHINESoftwareNetscapeNetscape_Navigator_
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x298]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x298]
push str.Main
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
lea eax, [ebp - 0x298]
mov ecx, esi
push edi
push eax
call fcn.1000e845
cmp eax, edi
je 0x1000589a
lea eax, [ebp - 0x68]
push 0x100105d0
push eax
mov dword [ebp - 0x68], 0xfffffc14
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x14]
push edi
push eax
push str.Install_Directory
mov ecx, esi
call fcn.1000ea45
cmp eax, edi
je 0x100058c4
mov dword [ebp - 0x6c], 0xfffffc15
push 0x100105d0
lea eax, [ebp - 0x6c]
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, esi
call fcn.1000e921
jmp 0x100056e2
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 9
pop ecx
jne 0x1000592b
push eax
push str.TEMP_PATH
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x1000592b
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x100133fc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0x2e
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll_strrchr]
and byte [eax], 0
pop ecx
pop ecx
jmp 0x10005a33
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 4
pop ecx
jne 0x1000595e
push eax
push str.TEMP
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x1000595e
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x100056e2
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 0xc
pop ecx
jne 0x100059bb
push eax
push str.DEFAULT_PATH
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x100059bb
mov esi, dword [ebp - 0x18]
push dword [esi + 0x54]
call sub.MSVCRT.dll_strlen
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
pop ecx
push dword [esi + 0x54]
push eax
call sub.MSVCRT.dll_strcpy
push dword [ebp - 0x14]
call sub.MSVCRT.dll_strlen
mov ecx, dword [ebp - 0x14]
lea esi, [eax + ecx - 1]
mov al, byte [eax + ecx - 1]
push eax
call fcn.1000de47
add esp, 0x10
jmp 0x100056fd
mov ecx, dword [ebp - 0x18]
push edi
call fcn.10006371
mov esi, eax
test esi, esi
je 0x10005a73
mov ecx, esi
call fcn.1000a486
sub eax, 0
je 0x10005a5e
dec eax
je 0x10005a12
dec eax
jne 0x10005a33
mov ecx, esi
call fcn.1000af3d
push eax
call sub.MSVCRT.dll_strlen
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
pop ecx
mov ecx, esi
call fcn.1000af3d
push eax
push dword [ebp - 0x14]
call sub.MSVCRT.dll_strcpy
jmp 0x10005326
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x14], eax
mov ecx, esi
call fcn.1000af41
push 0xa
push dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__ltoa]
add esp, 0xc
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x44]
push eax
lea eax, [ebp - 0x78]
push dword [ebp - 0x40]
push eax
call fcn.1000a929
mov eax, dword [ebp - 0x20]
lea esi, [eax + 1]
jmp 0x1000516d
lea eax, [ebp - 0x64]
push 0x100105d0
push eax
mov dword [ebp - 0x64], 0xfffff82a
call sub.MSVCRT.dll__CxxThrowException
lea eax, [ebp - 0x4c]
push 0x100105d0
push eax
mov dword [ebp - 0x4c], 0xfffff829
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x20], eax
je 0x10005b25
movsx eax, byte [ebx]
push eax
call dword [sym.imp.MSVCRT.dll_isalpha]
test eax, eax
pop ecx
jne 0x10005102
movsx eax, byte [ebx]
push eax
call esi
test eax, eax
pop ecx
jne 0x10005102
mov al, byte [ebx]
cmp al, 0x5f
je 0x10005102
cmp al, 0x28
jne 0x10005aff
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.10004fea
cmp ebx, dword [ebp - 0x20]
ja 0x10005adf
push ebx
lea ecx, [ebp - 0x38]
call fcn.1000a6e3
inc ebx
jmp 0x10005ace
and byte [ebp + 0xb], 0
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp - 0x38]
call fcn.1000a6e3
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x34]
call fcn.10006c37
jmp 0x10005b60
and byte [ebp + 0xb], 0
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp - 0x38]
call fcn.1000a6e3
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
call fcn.10006371
mov ecx, dword [ebp + 0xc]
push eax
call fcn.1000acba
jmp 0x10005b60
cmp dword [ebp - 0x14], eax
je 0x10005102
movsx eax, byte [ebx]
push eax
call esi
test eax, eax
pop ecx
jne 0x10005b82
cmp byte [ebx], 0x2d
je 0x10005b82
and byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
lea ecx, [ebp - 0x38]
call fcn.1000a6e3
push dword [ebp - 0x34]
call dword [sym.imp.MSVCRT.dll_atol]
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
call fcn.1000aa4e
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.1000a66e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
movsx eax, byte [ebx]
push eax
call esi
test eax, eax
pop ecx
jne 0x10005102
cmp byte [ebx], 0x2d
je 0x10005102
lea eax, [ebp - 0x50]
push 0x100105d0
push eax
mov dword [ebp - 0x50], 0xfffff824
call sub.MSVCRT.dll__CxxThrowException
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push 0
push 0
call sub.MSVCRT.dll__CxxThrowException