joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4258d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 4]
test ecx, ecx
jne 0x4258eb
xor eax, eax
jmp 0x425a81
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 4]
cmp eax, 1
jne 0x4259d1
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp + 8], 0
je 0x425934
mov dword [ebp - 0x18], 1
jmp 0x42593b
mov dword [ebp - 0x18], 0
sub esp, 0x14
mov ecx, esp
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 8]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x14]
call ecx
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x4259a2
cmp dword [ebp - 4], 0x10
jne 0x42598c
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov dword [edx], eax
push 0x43db80
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4259a0
mov ecx, dword [ebp - 0x24]
mov dword [ecx], 0
push 0x43db90
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4259d1
cmp dword [ebp - 4], 0x20
jne 0x4259bd
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov dword [edx], eax
push str.Set_OK
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4259d1
mov ecx, dword [ebp - 0x24]
mov dword [ecx], 0
push str.Set_Fail
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 4]
cmp eax, 2
jne 0x425a7c
mov dword [ebp - 0x20], 0
cmp dword [ebp + 8], 0
je 0x425a0e
push 0
push 0x10000171
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x20], eax
jmp 0x425a2c
push 1
push 0x10000171
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x425a3f
push str.SYN_OK
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x425a4a
push str.NOT_SYN_OK
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x10000171
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0xc]
call ecx
xor edx, edx
cmp dword [ebp - 0x1c], 0
sete dl
mov eax, dword [ebp - 0x24]
mov dword [eax], edx
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x426bc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x124], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x124]
mov dword [eax], 5
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 4], 1
mov edx, dword [ebp - 0x124]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x124]
mov dword [eax + 0xc], 0xffff
push 0x114
push 0
lea ecx, [ebp - 0x120]
push ecx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x426c52
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x11c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x124]
cmp dword [edx], 5
jne 0x426c6b
mov ecx, dword [ebp - 0x124]
call fcn.00426760
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x124]
cmp dword [eax], 6
jne 0x426c84
mov ecx, dword [ebp - 0x124]
call fcn.00426470
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [ecx], 1
mov edx, dword [ebp - 0x124]
mov dword [edx + 4], 1
cmp dword [ebp - 4], 0
jne 0x426cb6
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 4], 0
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret 4

Function at 0x426d20
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xd0], 0
push 0xc7
push 0
lea eax, [ebp - 0xcf]
push eax
call fcn.00404a40
add esp, 0xc
lea ecx, [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx + 0x20c]
push eax
call fcn.004037fa
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x426d9a
push str.ACPI_Service_:_NvAPI_GPU_GetActiveOutputs_Failed_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0xd4]
and ecx, 1
je 0x426db9
push str.rundll32_nvcpl.dll_dtcfg_setview_0_dualview_DA_AA
lea edx, [ebp - 0xd0]
push edx
call fcn.00405840
add esp, 8
mov eax, dword [ebp - 0xd4]
and eax, 0x20000
je 0x426dda
push str.rundll32_nvcpl.dll_dtcfg_setview_0_dualview_DA_DB
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00405840
add esp, 8
push 0
lea edx, [ebp - 0xd0]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret
Function at 0x426e10
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xd0], 0
push 0xc7
push 0
lea eax, [ebp - 0xcf]
push eax
call fcn.00404a40
add esp, 0xc
lea ecx, [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx + 0x20c]
push eax
call fcn.004037fa
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x426e8a
push 0x43e428
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0xd4]
and ecx, 1
je 0x426ea9
push 0x43e48c
lea edx, [ebp - 0xd0]
push edx
call fcn.00405840
add esp, 8
mov eax, dword [ebp - 0xd4]
and eax, 0x20000
je 0x426eca
push 0x43e4bc
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00405840
add esp, 8
push 0
lea edx, [ebp - 0xd0]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret

Function at 0x426f00
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xd0], 0
push 0xc7
push 0
lea eax, [ebp - 0xcf]
push eax
call fcn.00404a40
add esp, 0xc
lea ecx, [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx + 0x20c]
push eax
call fcn.004037fa
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x426f7a
push 0x43e360
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0xd4]
and ecx, 1
je 0x426f99
push 0x43e3c4
lea edx, [ebp - 0xd0]
push edx
call fcn.00405840
add esp, 8
mov eax, dword [ebp - 0xd4]
and eax, 0x20000
je 0x426fba
push 0x43e3f4
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00405840
add esp, 8
push 0
lea edx, [ebp - 0xd0]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret

Function at 0x426ff0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xd0], 0
push 0xc7
push 0
lea eax, [ebp - 0xcf]
push eax
call fcn.00404a40
add esp, 0xc
push 0x43e32c
lea ecx, [ebp - 0xd0]
push ecx
call fcn.00405840
add esp, 8
push 0
lea edx, [ebp - 0xd0]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret
Function at 0x427460
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbfc
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xbfc], ecx
mov dword [ebp - 0x7f4], 0
xor eax, eax
mov word [ebp - 8], ax
mov byte [ebp - 0xbf8], 0
push 0x3ff
push 0
lea ecx, [ebp - 0xbf7]
push ecx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x7f0], 0
push 0x7d8
push 0
lea edx, [ebp - 0x7ec]
push edx
call fcn.00404a40
add esp, 0xc
push 0x43e27c
lea eax, [ebp - 0xbf8]
push eax
call fcn.00405840
add esp, 8
lea ecx, [ebp - 0x7f0]
push ecx
lea edx, [ebp - 0xbf8]
push edx
mov eax, dword [ebp - 0xbfc]
mov ecx, dword [eax + 8]
call ecx
test eax, eax
jne 0x427502
push 0x43e280
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x184], 1
jne 0x427514
mov edx, 3
mov word [ebp - 8], dx
cmp dword [ebp - 0x184], 4
jne 0x427526
mov eax, 4
mov word [ebp - 8], ax
cmp dword [ebp - 0x184], 0
jne 0x42757f
lea ecx, [ebp - 0x7f4]
push ecx
mov edx, dword [ebp - 0xbfc]
mov eax, dword [edx + 0x20c]
push eax
call fcn.00403818
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42755f
push 0x43e2c8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x7f4], 0x10000
jne 0x427576
mov ecx, 1
mov word [ebp - 8], cx
jmp 0x42757f
mov edx, 2
mov word [ebp - 8], dx
mov ax, word [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret
Function at 0x427630
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, 1
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
mov edx, dword [ebp - 0xc]
mov al, byte [ebp + 8]
mov byte [edx + 0x30c], al
call fcn.004036ca
mov dword [ebp - 8], eax
push str.New_CDisplayNvidia
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
jmp 0x42767c
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0
jne 0x4276c0
cmp dword [ebp - 4], 0x80
jae 0x4276c0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx*4 + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00403776
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xfffffff9
jne 0x4276ad
jmp 0x4276c0
cmp dword [ebp - 8], 0
je 0x4276be
push str.Fail_to_Enum_Display_Handle_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x427673
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx*4 + 0x20c]
push eax
call fcn.00403782
add esp, 8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], 0
push str.NvCpl.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
jne 0x42771d
push str.Cant_load_NvCpl.dll
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.NvGetDisplayInfo
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
jne 0x427749
push str.Cant_find_fNvGetDisplayInfo
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x427790
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x1cc], ecx
mov eax, dword [ebp - 0x1cc]
cmp dword [eax + 4], 0
je 0x4277c1
mov ecx, dword [ebp - 0x1cc]
cmp dword [ecx + 0x30], 0xffffffff
jne 0x4277c8
xor eax, eax
jmp 0x427949
mov edx, dword [ebp - 0x1cc]
cmp dword [edx + 0x24], 0
jne 0x4277db
xor eax, eax
jmp 0x427949
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0xffffffff
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0x1cc]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [ebp - 0x1cc]
mov edx, dword [ecx + 0x10]
call edx
add esp, 0xc
test eax, eax
je 0x4278b6
cmp dword [ebp - 0xd0], 2
jne 0x42786b
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
push ecx
push str.ExtendululCRTIndex___d
lea edx, [ebp - 0x150]
push edx
call fcn.00403430
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0xd0], 1
jne 0x4278a2
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
push str.ExtendululLCDIndex___d
lea eax, [ebp - 0x1c8]
push eax
call fcn.00403430
add esp, 0xc
lea ecx, [ebp - 0x1c8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0xd4]
add edx, 1
mov dword [ebp - 0xd4], edx
jmp 0x427800
mov eax, dword [ebp - 0xd4]
push eax
push str.SetMode_ExtendulCRTIndex___d
lea ecx, [ebp - 0xc8]
push ecx
call fcn.00403430
add esp, 0xc
lea edx, [ebp - 0xc8]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x40
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x48], 0x40
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0xcc]
add edx, 1
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x44], 1
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x1cc]
mov edx, dword [ecx + 0x30]
push edx
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [eax + 0x24]
call ecx
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x427944
mov eax, 1
jmp 0x427949
mov eax, 1
mov ecx, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret
Function at 0x4279f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 4], 0
je 0x427a21
mov ecx, dword [ebp - 0xd8]
cmp dword [ecx + 0x30], 0xffffffff
jne 0x427a28
xor eax, eax
jmp 0x427b32
mov edx, dword [ebp - 0xd8]
cmp dword [edx + 0x24], 0
jne 0x427a3b
xor eax, eax
jmp 0x427b32
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0xffffffff
lea eax, [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x10]
call edx
add esp, 0xc
test eax, eax
je 0x427aab
cmp dword [ebp - 0xd0], 2
jne 0x427a9a
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xcc], eax
jmp 0x427aab
mov ecx, dword [ebp - 0xd4]
add ecx, 1
mov dword [ebp - 0xd4], ecx
jmp 0x427a59
mov edx, dword [ebp - 0xcc]
push edx
push str.ulCRTIndex___d
lea eax, [ebp - 0xc8]
push eax
call fcn.00403430
add esp, 0xc
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x40
push 0
lea edx, [ebp - 0x48]
push edx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x48], 0x40
mov eax, dword [ebp - 0xcc]
add eax, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x44], 3
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x24]
call edx
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x427b2d
xor eax, eax
jmp 0x427b32
mov eax, 1
mov ecx, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret
Function at 0x427b40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x444274]
xor eax, ebp
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 4], 0
je 0x427b71
mov ecx, dword [ebp - 0xd4]
cmp dword [ecx + 0x30], 0xffffffff
jne 0x427b78
xor eax, eax
jmp 0x427c76
mov edx, dword [ebp - 0xd4]
cmp dword [edx + 0x24], 0
jne 0x427b8b
xor eax, eax
jmp 0x427c76
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x10]
call edx
add esp, 0xc
test eax, eax
je 0x427bf5
cmp dword [ebp - 0xcc], 1
jne 0x427be4
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 8], eax
jmp 0x427bf5
mov ecx, dword [ebp - 0xd0]
add ecx, 1
mov dword [ebp - 0xd0], ecx
jmp 0x427ba6
mov edx, dword [ebp - 8]
push edx
push str.ullcdIndex___d
lea eax, [ebp - 0xc8]
push eax
call fcn.00403430
add esp, 0xc
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x40
push 0
lea edx, [ebp - 0x48]
push edx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x48], 0x40
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x44], 3
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x24]
call edx
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x427c74
mov eax, 1
jmp 0x427c76
xor eax, eax
mov ecx, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.004038e0
mov esp, ebp
pop ebp
ret
Function at 0x429310
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.sis_SetMode_LcdOnly
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x14
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00404a40
add esp, 0xc
push 0x14
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00404a40
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x20
mov eax, dword [ebp - 4]
mov dword [eax], 2
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x300
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0x400
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x46
mov ecx, dword [ebp - 4]
add ecx, 0x14
sub esp, 0x14
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ecx + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 4]
sub esp, 0x14
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [edx + 0x10]
mov dword [eax + 0x10], edx
push 2
call dword [0x446488]
add esp, 0x2c
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4293e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.sis_SetMode_extrnd
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x14
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00404a40
add esp, 0xc
push 0x14
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x14
push ecx
call fcn.00404a40
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x20
mov eax, dword [ebp - 4]
mov dword [eax], 2
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x300
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0x400
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x46
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], 0x20
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 8
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0x300
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], 0x400
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], 0x46
mov eax, dword [ebp - 4]
add eax, 0x14
sub esp, 0x14
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [eax + 0x10]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
sub esp, 0x14
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ecx + 0x10]
mov dword [edx + 0x10], ecx
push 0
call dword [0x446488]
add esp, 0x2c
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4294e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.sis_SetMode_CrtOnlyy
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x14
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00404a40
add esp, 0xc
push 0x14
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x14
push ecx
call fcn.00404a40
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], 0x20
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], 0x300
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], 0x400
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 0x46
mov ecx, dword [ebp - 4]
sub esp, 0x14
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ecx + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 4]
add edx, 0x14
sub esp, 0x14
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [edx + 0x10]
mov dword [eax + 0x10], edx
push 2
call dword [0x446488]
add esp, 0x2c
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4295b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.sis_SetMode_Clone
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x14
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00404a40
add esp, 0xc
push 0x14
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x14
push ecx
call fcn.00404a40
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x20
mov eax, dword [ebp - 4]
mov dword [eax], 2
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x300
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0x400
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x46
mov ecx, dword [ebp - 4]
add ecx, 0x14
sub esp, 0x14
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ecx + 0x10]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 4]
sub esp, 0x14
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [edx + 0x10]
mov dword [eax + 0x10], edx
push 1
call dword [0x446488]
add esp, 0x2c
mov eax, 1
mov esp, ebp
pop ebp
ret