joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c2c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x43dfe8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor edi, edi
push edi
push edi
push 1
push edi
mov dword [esp + 0x5c], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call ebx
cmp eax, edi
mov dword [esi + 0x20], eax
jne 0x40c319
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40c48e
push edi
push edi
push 1
push edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call ebx
cmp eax, edi
mov dword [esi + 0x34], eax
jne 0x40c345
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40c48e
lea ebx, [esi + 8]
lea eax, [esp + 0x54]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CString::operator
mov ebx, dword [ebx]
push edi
push 0x40000080
push 3
push edi
push edi
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
or ebp, 0xffffffff
mov dword [esi + 4], eax
cmp eax, ebp
je 0x40c46b
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetCommMask]
mov ecx, dword [esi + 4]
push 0x400
push 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_SetupComm]
mov edx, dword [esi + 4]
push 0xf
push edx
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov ebx, dword [esp + 0x58]
mov eax, 0x38400
xor edx, edx
mov ecx, dword [esi + 4]
div ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
mov eax, dword [esi + 4]
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x30], 0x1c
call dword [sym.imp.KERNEL32.dll_GetCommState]
mov cl, byte [esp + 0x60]
mov al, byte [esp + 0x64]
mov dl, byte [esp + 0x5c]
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3c], al
mov eax, dword [esp + 0x30]
mov ecx, 0x64
mov byte [esp + 0x3b], dl
mov edx, dword [esi + 4]
mov word [esp + 0x36], cx
mov word [esp + 0x38], cx
and ah, 0xfc
lea ecx, [esp + 0x28]
and ah, 0xf7
or al, 1
push ecx
push edx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x45], 0x11
mov byte [esp + 0x46], 0x13
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_SetCommState]
test eax, eax
je 0x40c46b
lea eax, [esp + 0x10]
mov dword [esi + 0xc], 1
push eax
push edi
push esi
push 0x40c660
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x38], eax
jne 0x40c47c
mov ecx, esi
call fcn.0040c4b0
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], ebp
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40c48e
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], ebp
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0x14
Function at 0x40c4e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
push edi
lea edi, [esi + 0x24]
push edi
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40c576
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 0x3e5
jne 0x40c55a
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
lea ecx, [esp + 0x24]
push 1
push ecx
push edi
push edx
call ebx
test eax, eax
jne 0x40c576
call ebp
cmp eax, 0x3e4
jne 0x40c562
mov ecx, dword [esi + 4]
lea eax, [esp + 0x24]
push 1
push eax
push edi
push ecx
call ebx
test eax, eax
je 0x40c531
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov dword [esp + 0x24], 0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x40c590
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ClearCommError]
push esi
mov esi, ecx
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x14]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call ebp
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x10], eax
jbe 0x40c64e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea edi, [esi + 0x10]
lea eax, [esp + 0x10]
push edi
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40c64a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x40c632
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
lea ecx, [esp + 0x10]
push 1
push ecx
push edi
push edx
call ebx
test eax, eax
jne 0x40c64a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
jne 0x40c63a
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push 1
push eax
push edi
push ecx
call ebx
test eax, eax
je 0x40c605
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov dword [esp + 0x10], 0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
call ebp
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x40cd60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43e088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebp
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x44]
mov ebx, dword [0x45af6c]
push eax
lea ecx, [esp + 0x18]
xor edi, edi
push str._03d
push ecx
mov dword [esp + 0x44], edi
mov byte [esp + 0x1f], 0
lea ebx, [ebx + ebx*4]
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add bl, byte [esp + 0x4c]
add esp, 0xc
mov cl, byte [eax]
mov dl, byte [eax + 1]
mov al, byte [eax + 2]
add bl, 0x30
mov byte [esp + 0x26], bl
lea ebx, [ebp + 0x3c]
mov byte [esp + 0x27], cl
mov ecx, ebx
mov byte [esp + 0x24], 2
mov byte [esp + 0x25], 0xb1
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], 3
call fcn.0040c140
lea edx, [esp + 0x24]
push 7
push edx
mov ecx, ebp
call fcn.0040c4e0
call dword [sym.imp.MSVCRT.dll_clock]
mov esi, eax
add esi, 0x7d0
mov dword [esp + 0x1c], esi
call dword [sym.imp.MSVCRT.dll_clock]
cmp esi, eax
jle 0x40ceaf
mov ecx, ebx
call fcn.0040c160
mov cl, byte [esp + 0x13]
mov dword [esp + 0x40], eax
test cl, cl
jne 0x40ce53
test eax, eax
je 0x40ce53
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.0040c1e0
cmp byte [esp + 0x18], 2
jne 0x40ce9d
mov eax, dword [esp + 0x40]
mov byte [esp + 0x13], 1
cmp eax, dword [esp + 0x44]
jle 0x40ce9d
xor ebp, ebp
test eax, eax
jle 0x40ce9d
mov ecx, dword [esp + 0x48]
lea esi, [ecx + edi*4]
lea edx, [esp + 0x18]
mov ecx, ebx
push edx
call fcn.0040c1e0
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0xff
mov dword [esi], ecx
mov ecx, dword [esp + 0x44]
cmp edi, ecx
jl 0x40ce8c
cmp al, 3
je 0x40ceef
mov eax, dword [esp + 0x40]
inc edi
add esi, 4
inc ebp
cmp ebp, eax
jl 0x40ce66
mov esi, dword [esp + 0x1c]
call dword [sym.imp.MSVCRT.dll_clock]
cmp esi, eax
jg 0x40ce20
mov ebp, dword [esp + 0x20]
mov al, byte [ebp + 0x3d]
mov esi, 0x15
cmp al, 4
jne 0x40cec0
mov esi, 4
mov ecx, ebx
call fcn.0040c140
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 6
jmp 0x40ceda
Function at 0x40fa10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x463b48]
sub esp, 0x34
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x40fbb4
mov al, 0x50
mov byte [ecx + 0x79], al
mov byte [ecx + 0x478], al
mov al, 0x6e
mov byte [ecx + 0x78], al
mov byte [ecx + 0x479], al
mov eax, dword [0x463b48]
test eax, eax
jne 0x40fa47
mov byte [ecx + 0x79], 0x51
xor eax, eax
mov byte [ecx + 0x7a], 0x84
mov byte [ecx + 0x7b], 3
mov byte [ecx + 0x7c], 0xe5
mov byte [ecx + 0x7d], 0
mov byte [ecx + 0x7e], 1
xor esi, esi
xor edx, edx
mov dl, byte [ecx + esi + 0x78]
xor eax, edx
inc esi
cmp esi, 7
jl 0x40fa5f
mov byte [esi + ecx + 0x78], al
lea ebx, [ecx + 0x878]
xor eax, eax
mov edi, 1
test esi, esi
mov dword [ebx], 0x81000000
jl 0x40faa8
lea ebp, [ecx + 0x87c]
lea edi, [esi + 2]
xor edx, edx
add ebp, 4
mov dl, byte [ecx + eax + 0x78]
or edx, 0x85000000
inc eax
mov dword [ebp - 4], edx
cmp eax, esi
jle 0x40fa91
mov dword [ecx + edi*4 + 0x878], 0x82000000
inc edi
or esi, 0xffffffff
push 0
push ecx
mov dword [ecx + edi*4 + 0x878], esi
mov ecx, esp
mov dword [esp + 0x18], esp
push str._DDC__DDC_Protection_Off_:
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x48f9c8]
call fcn.00439080
mov ecx, 9
mov eax, 0x82000000
lea edi, [esp + 0x14]
push 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov ecx, 0x463bd0
push eax
mov dword [esp + 0x40], esi
call fcn.004238e0
mov esi, 3
push 0
push ebx
mov ecx, 0x463bd0
call fcn.004238e0
test eax, eax
push 0
jne 0x40fb64
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x463bd0
call fcn.004238e0
push 0
push ebx
mov ecx, 0x463bd0
call fcn.004238e0
push 0
push ecx
test eax, eax
mov ecx, esp
jne 0x40fb59
mov dword [esp + 0x18], esp
push str._Fail...
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x48f9c8]
call fcn.00439080
jmp 0x40fb8f
mov dword [esp + 0x18], esp
push str._OK...
jmp 0x40fb47
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._OK...
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x48f9c8]
call fcn.00439080
push 0xc8
mov ecx, 0x463bd0
call fcn.004238b0
dec esi
jne 0x40fb06
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.End____
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x48f9c8]
call fcn.00439080
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x410610
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, ecx
push edi
xor ecx, ecx
lea edi, [esi + 0x78]
mov byte [esi + 0x79], 0x50
mov byte [edi], 0x6e
mov eax, dword [0x463b48]
test eax, eax
jne 0x41062e
mov byte [esi + 0x79], 0x51
mov dl, byte [esi + 0x7a]
xor eax, eax
and edx, 0x7f
lea ebp, [edx + 3]
test ebp, ebp
jle 0x410649
xor edx, edx
mov dl, byte [edi + eax]
xor ecx, edx
inc eax
cmp eax, ebp
jl 0x41063d
mov edx, dword [esp + 0x10]
mov byte [eax + esi + 0x78], cl
mov ecx, dword [esp + 0x14]
add esi, 0x478
push esi
push edi
push ecx
inc eax
push edx
push eax
mov eax, dword [0x463ff0]
lea ecx, [eax + 0x280]
call fcn.0040c7b0
pop edi
pop esi
pop ebp
ret 8

Function at 0x410680
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov dl, 0x50
push esi
mov byte [ecx + 0x79], dl
mov byte [ecx + 0x478], dl
mov byte [ecx + 0x78], 0x6e
mov byte [ecx + 0x479], 0x6e
mov esi, dword [0x463b48]
xor eax, eax
test esi, esi
jne 0x4106a8
mov byte [ecx + 0x79], 0x51
mov byte [ecx + 0x7a], 0x81
mov byte [ecx + 0x7b], dl
xor esi, esi
xor edx, edx
mov dl, byte [ecx + esi + 0x78]
xor eax, edx
inc esi
cmp esi, 4
jl 0x4106b1
mov byte [esi + ecx + 0x78], al
mov eax, dword [0x463b6c]
cmp eax, 3
push 0x6e
jne 0x4106dd
push 0xc
call fcn.00410610
and eax, 0xff
jmp 0x4106e2
call fcn.0040f650
push 1
push ecx
test eax, eax
mov ecx, esp
je 0x410711
mov dword [esp + 0xc], esp
push str._Micom__User_Delete_..._OK____
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x48f9c8]
call fcn.00439080
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
pop esi
pop ecx
ret
mov dword [esp + 0xc], esp
push str._Micom__User_Delete_..._NG____
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x48f9c8]
call fcn.00439080
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
pop esi
pop ecx
ret

Function at 0x410740
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov edx, dword [0x463b48]
xor eax, eax
push ebx
cmp edx, eax
push esi
jne 0x4107fd
mov dl, 0x50
mov byte [ecx + 0x79], dl
mov byte [ecx + 0x478], dl
mov dl, 0x6e
mov byte [ecx + 0x78], dl
mov byte [ecx + 0x479], dl
cmp dword [0x463b48], eax
jne 0x410775
mov byte [ecx + 0x79], 0x51
mov edx, 3
mov byte [ecx + 0x7a], 0x84
mov byte [ecx + 0x7b], dl
mov byte [ecx + 0x7c], 4
mov byte [ecx + 0x7d], al
mov byte [ecx + 0x7e], 1
xor esi, esi
xor ebx, ebx
mov bl, byte [ecx + esi + 0x78]
xor eax, ebx
inc esi
cmp esi, 7
jl 0x41078e
mov byte [esi + ecx + 0x78], al
mov eax, dword [0x463b6c]
cmp eax, edx
push 0x6e
jne 0x4107b9
push 0xc
call fcn.00410610
and eax, 0xff
jmp 0x4107be
call fcn.0040f650
push 1
push ecx
test eax, eax
mov ecx, esp
je 0x4107e4
mov dword [esp + 0x10], esp
push str._Micom__Monitor_Reset...OK____
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x48f9c8]
call fcn.00439080
pop esi
pop ebx
pop ecx
ret
mov dword [esp + 0x10], esp
push str._Micom__Monitor_Reset...NG____
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x48f9c8]
call fcn.00439080
pop esi
pop ebx
pop ecx
ret
Function at 0x410810
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov edx, dword [0x463b48]
xor eax, eax
push ebx
cmp edx, eax
push esi
jne 0x4108cd
mov dl, 0x50
mov byte [ecx + 0x79], dl
mov byte [ecx + 0x478], dl
mov dl, 0x6e
mov byte [ecx + 0x78], dl
mov byte [ecx + 0x479], dl
cmp dword [0x463b48], eax
jne 0x410845
mov byte [ecx + 0x79], 0x51
mov edx, 3
mov byte [ecx + 0x7a], 0x84
mov byte [ecx + 0x7b], dl
mov byte [ecx + 0x7c], 0xe6
mov byte [ecx + 0x7d], al
mov byte [ecx + 0x7e], 1
xor esi, esi
xor ebx, ebx
mov bl, byte [ecx + esi + 0x78]
xor eax, ebx
inc esi
cmp esi, 7
jl 0x41085e
mov byte [esi + ecx + 0x78], al
mov eax, dword [0x463b6c]
cmp eax, edx
push 0x6e
jne 0x410889
push 0xc
call fcn.00410610
and eax, 0xff
jmp 0x41088e
call fcn.0040f650
push 1
push ecx
test eax, eax
mov ecx, esp
je 0x4108b4
mov dword [esp + 0x10], esp
push str._Micom__Display_Monitor_Information...OK____
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x48f9c8]
call fcn.00439080
pop esi
pop ebx
pop ecx
ret
mov dword [esp + 0x10], esp
push str._Micom__Display_Monitor_Information...NG____
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x48f9c8]
call fcn.00439080
pop esi
pop ebx
pop ecx
ret
Function at 0x415650
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43ea8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x87
mov dword [esp + 0x18], esi
call fcn.0043bf62
lea edi, [esi + 0x64]
mov dword [esp + 0x1c], 0
mov ecx, edi
call fcn.0043be90
mov dword [edi], 0x446588
lea edi, [esi + 0xe0]
mov byte [esp + 0x1c], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
lea ebx, [esi + 0xe4]
mov byte [esp + 0x1c], 2
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
lea ebp, [esi + 0xe8]
mov byte [esp + 0x1c], 3
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xec]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xf0]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString_4
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_4
lea eax, [esi + 0xf4]
push 6
push 4
push eax
mov byte [esp + 0x30], 6
call fcn.0043c6c4
lea ecx, [esi + 0x110]
mov byte [esp + 0x1c], 7
call sub.MFC42.DLL_CString::CString_4
push 0x458d4c
mov ecx, edi
mov byte [esp + 0x20], 8
mov dword [esi], 0x4464b0
call sub.MFC42.DLL_CString::operator_1
push 0x458d4c
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_1
push 0x458d4c
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
push 0x458d4c
lea ecx, [esi + 0xec]
call sub.MFC42.DLL_CString::operator_1
push 0x458d4c
lea ecx, [esi + 0xf0]
call sub.MFC42.DLL_CString::operator_1
push str.Analog_DDC_File__.ddc_.ddc
lea ecx, [esi + 0xf4]
mov dword [esi + 0xdc], 0xffffffff
call sub.MFC42.DLL_CString::operator_1
push str.Digital_DVI_1__DDC_File__.ddc_.ddc
lea ecx, [esi + 0xf8]
call sub.MFC42.DLL_CString::operator_1
push str.Digital_DVI_2_HDMI__DDC_File__.ddc_.ddc
lea ecx, [esi + 0xfc]
call sub.MFC42.DLL_CString::operator_1
push str.Analog_DVI_or_HDMI_DDC_File__.ddc_.ddc
lea ecx, [esi + 0x100]
call sub.MFC42.DLL_CString::operator_1
push str.Digital_HDMI_2__DDC_File__.ddc_.ddc
lea ecx, [esi + 0x104]
call sub.MFC42.DLL_CString::operator_1
push str.Digital_HDMI__DDC_File__.ddc_.ddc
lea ecx, [esi + 0x108]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x420a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44075f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 1
shl ecx, 0xb
mov eax, dword [ecx + 0x45db40]
mov dword [esi + 0x21a8], eax
mov ecx, dword [ecx + 0x45db44]
mov dword [esi + 0x21ac], ecx
mov edx, ecx
mov esi, eax
and eax, 3
shr edx, 5
and edx, 7
and ecx, 0x1f
shl eax, 3
shr esi, 2
or edx, eax
and esi, 0x1f
add ecx, 0x40
add edx, 0x40
add esi, 0x40
push ecx
push edx
push esi
lea eax, [esp + 0x10]
push str._c_c_c
push eax
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x420b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x440797
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], 2
shl eax, 0xb
mov ecx, dword [eax + 0x45db48]
mov dword [esi + 0x21b0], ecx
mov edx, dword [eax + 0x45db4c]
mov eax, ecx
mov dword [esi + 0x21b4], edx
and eax, 0xff
cmp eax, 0x10
push eax
jae 0x420bba
lea eax, [esp + 8]
push 0x455048
push eax
jmp 0x420bc4
lea ecx, [esp + 8]
push 0x455044
push ecx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esi + 0x21b4]
add esp, 0xc
and esi, 0xff
cmp esi, 0x10
push esi
jae 0x420bef
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push edx
push str._s0_X
push eax
jmp 0x420bfe
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push ecx
push str._s_2X
push edx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x30]
add esp, 0x10
lea eax, [esp + 8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 8

Function at 0x421dc0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0x45d964
mov eax, dword [0x45b044]
mov edx, dword [esi]
push eax
mov eax, dword [esi - 4]
lea ecx, [esp + 0xc]
push 0x20
push ecx
mov ecx, dword [0x45dae8]
push edx
push eax
push ecx
call edi
lea edx, [esp + 8]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::operator_1
add esi, 8
cmp esi, 0x45da24
jl 0x421dd0
pop edi
pop esi
add esp, 0x20
ret
Function at 0x421e10
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4408b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x45b058]
mov dword [esp + 0xc], 0
test eax, eax
je 0x421ea8
lea eax, [esp]
push eax
call fcn.00421ed0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp]
push ecx
push edx
mov byte [esp + 0x14], 1
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jge 0x421e9a
mov eax, dword [esp + 0x14]
lea ecx, [esp]
push eax
push str.Need_Update_DDC_Driver__s___r_n_r_n_Now_new_version_install...
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0xc]
add esp, 0xc
push 0
push str.DDC_Driver_Install
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.00422100
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
lea ecx, [esp]
mov byte [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x422100
Capabilities:
Execute command

Disassembly:
push 0xffffffffffffffff
push 0x440908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push str.fastinst.exe_ddc_i2c.inf_0
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], 0
test eax, eax
je 0x422142
push str.fastinst.exe_ddc_i2c.inf_1
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp]
push eax
call dword [sym.imp.MSVCRT.dll_system]
add esp, 4
test eax, eax
je 0x422162
push 0
push 0
push str.Driver_Install_Fail....._Cant_find___fastinst.exe__
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x423740
Capabilities:
Terminate process

Disassembly:
mov ecx, 0x463bd0
jmp 0x423740
push esi
mov esi, ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4237ad
mov dword [0x463fe0], 1
mov eax, dword [esi]
test eax, eax
jne 0x423782
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..DDC_I2C
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x4237b7
push 0
push str.Driver_Open_Error
push str.Unable_to_open_DDC_driver
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00422100
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov dword [0x463fe0], 0
mov ecx, esi
mov dword [0x463fd4], 1
mov dword [0x463fd0], 0
mov dword [0x463fcc], 1
call fcn.004237f0
mov eax, esi
pop esi
ret