Function at 0x40ad90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf0
mov eax, dword [esp + 0xfc]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0xb4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
push str.Play
lea edx, [esp + 0xb4]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xb0]
push eax
call fcn.0040a440
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
je 0x40aded
movsx ecx, byte [esp + 0xb6]
mov dword [0x917b94], ecx
lea edx, [esp + 0xb0]
push edx
call fcn.0040a520
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
je 0x40ae12
movsx eax, byte [esp + 0xb7]
mov dword [0x862258], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
call ebx
test eax, 0x80000000
je 0x40ae48
cmp al, 3
jne 0x40ae48
push 0
push str.Win32s
push str.Can_NOT_RUN_On_WIN32s
push 0
call dword [sym.imp.USER32.dll_Ordinal_477]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret 0x10
call fcn.0040fef0
test eax, eax
jne 0x40ae72
push eax
push str.No_MMX
push str.Can_NOT_RUN_On_No_MMX_CPU
push eax
call dword [sym.imp.USER32.dll_Ordinal_477]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret 0x10
mov esi, dword [esp + 0x104]
push 0x2a
mov dword [0x82c518], esi
call dword [sym.imp.USER32.dll_Ordinal_350]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_Ordinal_457]
je 0x40aef5
push str.STHCHINA.DLL
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
test eax, eax
mov dword [0x82c550], eax
je 0x40aef5
push 0x20
lea ecx, [esp + 0x20]
push ecx
push 0xc389
push eax
call edi
call dword [sym.imp.KERNEL32.dll_EnumSystemFirmwareTables]
lea edx, [esp + 0x1c]
push edx
mov ebp, eax
call fcn.0040ad60
add esp, 4
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSizeEx]
test eax, eax
je 0x40aeda
cmp esi, ebp
je 0x40aefb
mov eax, dword [0x82c550]
push eax
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
mov ecx, dword [esp + 0x104]
mov dword [0x82c550], ecx
jmp 0x40aefb
mov dword [0x82c550], esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetConsoleInputWaitHandle]
push str.STHVCD.INI
push 0x20
lea edx, [esp + 0x24]
push edx
push 0x82b7a0
push str.SOURCEPATH
push str.INSTALL
call ebp
test eax, eax
je 0x40af39
movsx eax, byte [esp + 0x1c]
cmp eax, 0x61
jl 0x40af31
cmp eax, 0x7a
jle 0x40af39
mov al, byte [esp + 0x1f]
test al, al
je 0x40af86
push str.STHVCD.INI
push 1
push str.BERUN
push str.SETTING
call dword [sym.imp.KERNEL32.dll_GetConsoleFontInfo]
mov esi, eax
inc esi
push esi
lea eax, [esp + 0x20]
push 0x41a76c
push eax
call dword [sym.imp.USER32.dll_Ordinal_729]
add esp, 0xc
push str.STHVCD.INI
lea ecx, [esp + 0x20]
push ecx
push str.BERUN
push str.SETTING
call dword [sym.imp.KERNEL32.dll_RestoreLastError]
cmp esi, 0x1e
jg 0x40afe0
mov eax, dword [0x41acc8]
test eax, eax
je 0x40afd7
lea edx, [esp + 0x90]
push edx
call dword [sym.imp.KERNEL32.dll_GetDurationFormat]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x92]
mov edx, dword [esp + 0x96]
and eax, 0xffff
shl eax, 4
and ecx, 0xffff
or eax, ecx
mov ecx, dword [0x41acc8]
shl eax, 8
and edx, 0xffff
or eax, edx
cmp eax, ecx
ja 0x40afe0
call fcn.004099f0
test eax, eax
jne 0x40b008
call fcn.00409960
mov eax, dword [0x82c550]
cmp eax, dword [0x82c518]
je 0x40aff9
push eax
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret 0x10
call ebx
not eax
shr eax, 0x1f
mov dword [0x82c5f0], eax
call fcn.004047d0
mov eax, dword [0x82c550]
push 0x50
push 0x82c4b0
push 0xc36a
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
push str._MMX
push 0x82c4b0
call esi
mov edx, dword [0x82c550]
push 0xf
lea ecx, [esp + 0xa4]
push ecx
push 0xc399
push edx
call edi
lea eax, [esp + 0xa0]
push eax
push 0x82c4b0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleFontInfo]
push str.STHVCD.INI
push 0
push str.FixedLost
push str.SETTING
call ebx
push 0
mov dword [0x41b378], eax
call dword [sym.imp.USER32.dll_Ordinal_269]
mov esi, eax
push 0xc
push esi
call dword [sym.imp.GDI32.dll_Ordinal_365]
push esi
push 0
mov edi, eax
call dword [sym.imp.USER32.dll_Ordinal_555]
push str.STHVCD.INI
push 1
push str.Face
push str.SETTING
call ebx
push str.STHVCD.INI
push 0x20
lea ecx, [esp + 0x24]
push ecx
push 0x82b7a0
push str.FaceBitmap
push str.SETTING
mov dword [0x41acd0], eax
call ebp
cmp edi, 8
mov dword [0x82c600], 0
jge 0x40b0f0
mov dword [0x41acd0], 0
test eax, eax
je 0x40b114
mov eax, dword [0x41acd0]
test eax, eax
je 0x40b114
lea edx, [esp + 0x1c]
push edx
push edi
call fcn.0040ab20
add esp, 8
test eax, eax
mov dword [0x82c600], eax
jne 0x40b13d
cmp edi, 8
jg 0x40b126
mov eax, dword [0x82c550]
push 0x95
push eax
jmp 0x40b132
mov ecx, dword [0x82c550]
push 0x94
push ecx
call dword [sym.imp.USER32.dll_Ordinal_438]
mov dword [0x82c600], eax
push str.STHVCD.INI
push 1
push str.EnableFaceBmp
push str.SETTING
call dword [sym.imp.KERNEL32.dll_GetConsoleFontInfo]
mov dword [0x41accc], eax
mov eax, dword [0x41acd0]
test eax, eax
jne 0x40b16c
mov dword [0x41accc], 0
push 0xf
call dword [sym.imp.USER32.dll_Ordinal_347]
push eax
mov dword [0x82c55c], eax
call dword [sym.imp.GDI32.dll_Ordinal_81]
push 0x41ace0
mov dword [0x82c560], eax
call dword [sym.imp.GDI32.dll_Ordinal_42]
mov dword [0x82c56c], eax
call fcn.00411f00
mov ebp, dword [sym.imp.USER32.dll_Ordinal_444]
mov ebx, dword [esp + 0x104]
mov dword [0x82c538], eax
xor edi, edi
mov esi, 0x82c574
lea edx, [edi + 0xa0]
and edx, 0xffff
push edx
push ebx
call ebp
mov dword [esi], eax
add esi, 4
inc edi
cmp esi, 0x82c5ec
jl 0x40b1b3
mov eax, dword [esp + 0x108]
xor ebp, ebp
cmp eax, ebp
jne 0x40b246
mov eax, dword [0x82c574]
push 0x7f00
push ebp
mov dword [esp + 0x70], 0x23
mov dword [esp + 0x74], 0x40c590
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], eax
call dword [sym.imp.USER32.dll_Ordinal_440]
mov ecx, dword [0x82c560]
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], str.SthADOClass
call dword [sym.imp.USER32.dll_Ordinal_535]
mov eax, dword [0x82c550]
mov esi, dword [sym.imp.USER32.dll_Ordinal_452]
push 0x7f
push eax
call esi
mov ecx, dword [0x82c550]
push 0x78
push ecx
mov dword [0x82c554], eax
call esi
lea edx, [esp + 0x3c]
push edx
mov dword [0x82c558], eax
call dword [sym.imp.USER32.dll_Ordinal_271]
push eax
call dword [sym.imp.USER32.dll_Ordinal_373]
mov ecx, dword [0x82c554]
mov eax, dword [esp + 0x40]
push ebp
push ebx
push ecx
push ebp
push 0xaa
push 0x1b8
add eax, 0x50
push eax
push 0x50
push 0xcf0000
push 0x82c4b0
push str.SthADOClass
push ebp
call dword [sym.imp.USER32.dll_Ordinal_97]
mov esi, eax
cmp dword [0x82c600], ebp
mov dword [0x82c51c], esi
je 0x40b2c6
call fcn.0040a980
push esi
call fcn.00408e90
add esp, 4
lea edx, [esp + 0x3c]
push edx
push esi
call dword [sym.imp.USER32.dll_Ordinal_256]
call fcn.0040fcc0
cmp dword [0x82c520], ebp
je 0x40b2ed
call fcn.00410140
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00404ba0
add esp, 0x10
push 6
push eax
push 0x1b8
push ebp
push ebp
push ebp
push esi
mov dword [0x41acd4], eax
call dword [sym.imp.USER32.dll_Ordinal_644]
cmp dword [0x82c520], ebp
je 0x40b33b
call fcn.00410230
jmp 0x40b344
push esi
call fcn.0040a3c0
add esp, 4
call fcn.0040a240
push 0x917a60
call fcn.00407a10
add esp, 4
call fcn.004078d0
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleFontInfo]
push 0x917a60
push 1
push str.ENABLEDEMO
push str.CONFIG
call edi
push ebp
mov dword [0x41a474], eax
call fcn.004059d0
mov eax, dword [0x82c540]
add esp, 4
cmp eax, ebp
jne 0x40b3c1
push 0x82c544
push ebp
push ebp
push 0x40a370
push ebp
push ebp
mov dword [0x41acf0], 0x64
mov dword [0x41acec], 1
call dword [sym.imp.KERNEL32.dll_CreateBoundaryDescriptorW]
push 0xffffffffffffffff
push eax
mov dword [0x82c540], eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push str.STHVCD.INI
push ebp
push str.SthADORun
push str.SETTING
call edi
push esi
mov edi, eax
lea eax, [esp + 0x20]
push 0x41a76c
push eax
call dword [sym.imp.USER32.dll_Ordinal_729]
add esp, 0xc
cmp edi, ebp
jne 0x40b3f9
push str.STHVCD.INI
lea ecx, [esp + 0x20]
push ecx
jmp 0x40b42f
push edi
call dword [sym.imp.USER32.dll_Ordinal_428]
test eax, eax
je 0x40b425
push ebp
push ebp
push 0x4c88
push edi
call dword [sym.imp.USER32.dll_Ordinal_572]
cmp eax, 0x4888
je 0x40b443
push str.STHVCD.INI
lea edx, [esp + 0x20]
push edx
jmp 0x40b42f
push str.STHVCD.INI
lea eax, [esp + 0x20]
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_RestoreLastError]
push str.SthADORun
push str.SETTING
call ebx
jmp 0x40b449
mov ebx, dword [sym.imp.KERNEL32.dll_RestoreLastError]
mov eax, dword [esp + 0x18]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_Ordinal_512]
jne 0x40b466
push 0
push 0x9c66
push 0x111
push esi
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40b47d
push 0
push 0x9cc8
push 0x111
push esi
call edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40b494
push 0
push 0x9ce4
push 0x111
push esi
call edi
lea ecx, [esp + 0xb0]
push 0
push ecx
call fcn.00401bf0
mov ecx, dword [0x42b410]
add esp, 8
cmp eax, ecx
jge 0x40b4cc
push 0
push 0x9c3f
push 0x111
lea edx, [esp + 0xbc]
push esi
mov dword [0x82c618], edx
call edi
mov eax, dword [0x82c51c]
mov dword [0x82c610], eax
call fcn.004103e0
call fcn.0040a4a0
test eax, eax
je 0x40b4e8
xor eax, eax
jmp 0x40b4ef
mov eax, dword [esp + 0x110]
mov ecx, dword [0x82c610]
push eax
push ecx
call dword [sym.imp.USER32.dll_Ordinal_659]
push esi
call dword [sym.imp.USER32.dll_Ordinal_700]
mov edx, dword [0x82c550]
push 0x75
push edx
call dword [sym.imp.USER32.dll_Ordinal_436]
push eax
call fcn.00408740
add esp, 4
push 1
push esi
mov edi, eax
call dword [sym.imp.SHELL32.dll_PrintersGetCommand_RunDLL]
push 0
push 0
push 0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_Ordinal_315]
test eax, eax
je 0x40b5c3
mov ebp, dword [sym.imp.USER32.dll_Ordinal_683]
mov ebx, dword [sym.imp.USER32.dll_Ordinal_162]
mov eax, dword [esp + 0x50]
cmp eax, 0x102
je 0x40b565
cmp eax, 0x100
je 0x40b565
cmp eax, 0x101
jne 0x40b57e
cmp dword [esp + 0x54], 0x1b
jne 0x40b57e
lea ecx, [esp + 0x4c]
push ecx
call ebp
lea edx, [esp + 0x4c]
push edx
call ebx
mov eax, dword [esp + 0x50]
cmp eax, 0x233
jne 0x40b589
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x4c]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_Ordinal_680]
test eax, eax
jne 0x40b5a8
lea ecx, [esp + 0x4c]
push ecx
call ebp
lea edx, [esp + 0x4c]
push edx
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_Ordinal_315]
test eax, eax
jne 0x40b54c
mov ebx, dword [sym.imp.KERNEL32.dll_RestoreLastError]
push 0
push esi
call dword [sym.imp.SHELL32.dll_PrintersGetCommand_RunDLL]
push edi
call dword [sym.imp.USER32.dll_Ordinal_148]
mov ecx, dword [0x82c560]
mov edi, dword [sym.imp.GDI32.dll_Ordinal_144]
push ecx
call edi
call fcn.0040ac20
mov edx, dword [0x82c56c]
push edx
call edi
mov eax, dword [0x82c554]
mov edi, dword [sym.imp.USER32.dll_Ordinal_152]
push eax
call edi
mov ecx, dword [0x82c558]
push ecx
call edi
call fcn.00410510
call fcn.004079c0
call fcn.00401b70
mov ebp, dword [sym.imp.USER32.dll_Ordinal_151]
mov edi, 0x82c574
mov edx, dword [edi]
push edx
call ebp
add edi, 4
cmp edi, 0x82c5ec
jl 0x40b621
call fcn.004056b0
call fcn.0040ce70
mov eax, dword [esp + 0x104]
push eax
push str.SthADOClass
call dword [sym.imp.USER32.dll_Ordinal_692]
mov eax, dword [0x82c550]
cmp eax, dword [0x82c518]
je 0x40b662
push eax
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
call fcn.00409250
push str.STHVCD.INI
push 0
push str.SthADORun
push str.SETTING
call dword [sym.imp.KERNEL32.dll_GetConsoleFontInfo]
cmp eax, esi
jne 0x40b698
push str.STHVCD.INI
push 0x41a630
push str.SthADORun
push str.SETTING
call ebx
mov eax, dword [0x82b898]
test eax, eax
mov eax, 0x41a6d0
jne 0x40b6ab
mov eax, 0x41a630
push str.STHVCD.INI
push eax
push str.EnableMicroPhone
push str.SETTING
call ebx
mov eax, dword [0x82c520]
test eax, eax
je 0x40b6cb
call fcn.0040ff80
push 0x917a60
call fcn.00407a90
mov edx, dword [0x41a474]
push 0xa
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.00414cc0
add esp, 0x10
push 0x917a60
lea eax, [esp + 0x20]
push eax
push str.ENABLEDEMO
push str.CONFIG
call ebx
push 0x917a60
call fcn.00414420
mov eax, dword [esp + 0x58]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret 0x10