joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ea68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi + 8]
lea eax, [esi + 8]
mov bl, 2
mov edx, dword [ecx - 8]
mov ecx, dword [esi + 0x10]
cmp edx, ecx
mov byte [esp + 0x38], bl
jge 0x40a1ba
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
push edi
lea edi, [ecx - 6]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x18]
push edi
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
push 6
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
xor eax, eax
lea ecx, [esp + 0x1c]
movsx edi, byte [eax + edx]
sub edi, 0x30
inc eax
mov dword [ecx], edi
add ecx, 4
cmp eax, 6
jl 0x40a229
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x28]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2 + 1]
push eax
push edx
lea eax, [esi + 4]
push str._s_.6lu
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
call fcn.004082c0
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x40a550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43eaf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
mov edi, dword [esi + 0x10]
sub edi, 6
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x10]
lea eax, [esi + 8]
mov bl, 2
mov ecx, dword [ecx - 8]
mov byte [esp + 0x38], bl
cmp ecx, edx
jge 0x40a5f2
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x18]
push edi
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x18]
push 5
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
xor eax, eax
lea ecx, [esp + 0x1c]
movsx edi, byte [eax + edx]
sub edi, 0x30
inc eax
mov dword [ecx], edi
add ecx, 4
cmp eax, 5
jl 0x40a65d
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x28]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2 + 1]
lea ecx, [esi + 4]
push eax
mov eax, dword [esp + 0x18]
push eax
push str._s_.5luR
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, esi
call fcn.004082c0
lea ecx, [esp + 0x10]
mov bl, al
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x40a970
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x43eb58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
mov byte [esp + 4], 0x45
mov byte [esp + 5], 0x44
mov byte [esp + 6], 0x59
mov byte [esp + 7], 0x42
mov byte [esp + 8], 0x56
mov byte [esp + 9], 0x4a
mov byte [esp + 0xa], 0x46
mov byte [esp + 0xb], 0x58
mov byte [esp + 0xc], 0x41
mov byte [esp + 0xd], 0x4b
mov byte [esp + 0xe], 0x4c
mov byte [esp + 0xf], 0x4d
mov byte [esp + 0x10], 0x52
mov byte [esp + 0x11], 0x4e
mov byte [esp + 0x12], 0x50
mov byte [esp + 0x13], 0x5a
mov byte [esp + 0x14], 0x54
mov byte [esp + 0x15], 0x57
mov byte [esp + 0x16], 0x48
mov eax, 9
lea ecx, [esp + 0x18]
movsx edx, byte [eax + esi]
sub edx, 0x30
inc eax
mov dword [ecx], edx
add ecx, 4
cmp eax, 0xe
jl 0x40a9f5
mov al, byte [esi + 8]
cmp al, 0x39
movsx ecx, al
jg 0x40aa16
sub ecx, 0x30
jmp 0x40aa19
sub ecx, 0x37
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
lea eax, [eax + eax*2]
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x20]
add eax, edx
mov edx, dword [esp + 0x1c]
add eax, edx
mov edx, dword [esp + 0x18]
add eax, edx
add eax, ecx
mov ecx, 0x13
cdq
idiv ecx
mov al, byte [esi + 0xe]
pop esi
mov cl, byte [esp + edx]
cmp al, cl
lea ecx, [esp + 0x3c]
je 0x40aa73
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x38
ret 4

Function at 0x40aa90
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
sub esp, 0x2c
mov edx, dword [esp + 0x30]
push esi
mov byte [esp + 4], 0x45
mov byte [esp + 5], 0x44
mov byte [esp + 6], 0x59
mov byte [esp + 7], 0x42
mov byte [esp + 8], 0x56
mov byte [esp + 9], 0x4a
mov byte [esp + 0xa], 0x46
mov byte [esp + 0xb], 0x58
mov byte [esp + 0xc], 0x41
mov byte [esp + 0xd], 0x4b
mov byte [esp + 0xe], 0x4c
mov byte [esp + 0xf], 0x4d
mov byte [esp + 0x10], 0x52
mov byte [esp + 0x11], 0x4e
mov byte [esp + 0x12], 0x50
mov byte [esp + 0x13], 0x5a
mov byte [esp + 0x14], 0x54
mov byte [esp + 0x15], 0x57
mov byte [esp + 0x16], 0x48
mov eax, 9
lea ecx, [esp + 0x18]
movsx esi, byte [eax + edx]
sub esi, 0x30
inc eax
mov dword [ecx], esi
add ecx, 4
cmp eax, 0xe
jl 0x40ab00
mov dl, byte [edx + 8]
cmp dl, 0x39
movsx esi, dl
jg 0x40ab22
sub esi, 0x30
jmp 0x40ab25
sub esi, 0x37
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x1c]
add eax, edx
mov edx, dword [esp + 0x18]
add eax, ecx
mov ecx, 0x13
add eax, edx
add eax, esi
pop esi
cdq
idiv ecx
mov al, byte [esp + edx]
add esp, 0x2c
ret 4
Function at 0x40c450
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43edd8
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov al, byte [esi + 9]
test al, al
jne 0x40c486
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0043cb56
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0
mov word [esp + 4], 8
call sub.MFC42.DLL_CString::AllocSysString
mov ecx, dword [esi + 0xc]
lea edx, [esp + 4]
push edx
mov dword [esp + 0x10], eax
call fcn.0043c410
lea eax, [esp + 4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x40ca90
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x43ee78
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 0x40cae9
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40cc5e
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 0x40cb15
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40cc5e
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 0x40cc3b
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 0x40cc3b
lea eax, [esp + 0x10]
mov dword [esi + 0xc], 1
push eax
push edi
push esi
push 0x40ce30
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x38], eax
jne 0x40cc4c
mov ecx, esi
call fcn.0040cc80
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], ebp
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40cc5e
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 0x40ccb0
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 0x40cd46
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 0x3e5
jne 0x40cd2a
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 0x40cd46
call ebp
cmp eax, 0x3e4
jne 0x40cd32
mov ecx, dword [esi + 4]
lea eax, [esp + 0x24]
push 1
push eax
push edi
push ecx
call ebx
test eax, eax
je 0x40cd01
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 0x40cd60
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 0x40ce1e
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 0x40ce1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x40ce02
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 0x40ce1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
jne 0x40ce0a
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push 1
push eax
push edi
push ecx
call ebx
test eax, eax
je 0x40cdd5
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 0x40d530
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43ef18
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_3
mov eax, dword [esp + 0x44]
mov ebx, dword [0x45c1a4]
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.0040c910
lea edx, [esp + 0x24]
push 7
push edx
mov ecx, ebp
call fcn.0040ccb0
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 0x40d67f
mov ecx, ebx
call fcn.0040c930
mov cl, byte [esp + 0x13]
mov dword [esp + 0x40], eax
test cl, cl
jne 0x40d623
test eax, eax
je 0x40d623
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.0040c9b0
cmp byte [esp + 0x18], 2
jne 0x40d66d
mov eax, dword [esp + 0x40]
mov byte [esp + 0x13], 1
cmp eax, dword [esp + 0x44]
jle 0x40d66d
xor ebp, ebp
test eax, eax
jle 0x40d66d
mov ecx, dword [esp + 0x48]
lea esi, [ecx + edi*4]
lea edx, [esp + 0x18]
mov ecx, ebx
push edx
call fcn.0040c9b0
mov eax, dword [esp + 0x18]
mov ecx, eax
and ecx, 0xff
mov dword [esi], ecx
mov ecx, dword [esp + 0x44]
cmp edi, ecx
jl 0x40d65c
cmp al, 3
je 0x40d6bf
mov eax, dword [esp + 0x40]
inc edi
add esi, 4
inc ebp
cmp ebp, eax
jl 0x40d636
mov esi, dword [esp + 0x1c]
call dword [sym.imp.MSVCRT.dll_clock]
cmp esi, eax
jg 0x40d5f0
mov ebp, dword [esp + 0x20]
mov al, byte [ebp + 0x3d]
mov esi, 0x15
cmp al, 4
jne 0x40d690
mov esi, 4
mov ecx, ebx
call fcn.0040c910
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 0x40d6aa
Function at 0x4104a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x464d80]
sub esp, 0x34
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x410644
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 [0x464d80]
test eax, eax
jne 0x4104d7
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 0x4104ef
mov byte [esi + ecx + 0x78], al
lea ebx, [ecx + 0x878]
xor eax, eax
mov edi, 1
test esi, esi
mov dword [ebx], 0x81000000
jl 0x410538
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 0x410521
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 [0x490c00]
call fcn.00439d10
mov ecx, 9
mov eax, 0x82000000
lea edi, [esp + 0x14]
push 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov ecx, 0x464e08
push eax
mov dword [esp + 0x40], esi
call fcn.00424370
mov esi, 3
push 0
push ebx
mov ecx, 0x464e08
call fcn.00424370
test eax, eax
push 0
jne 0x4105f4
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x464e08
call fcn.00424370
push 0
push ebx
mov ecx, 0x464e08
call fcn.00424370
push 0
push ecx
test eax, eax
mov ecx, esp
jne 0x4105e9
mov dword [esp + 0x18], esp
push str._Fail...
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x490c00]
call fcn.00439d10
jmp 0x41061f
mov dword [esp + 0x18], esp
push str._OK...
jmp 0x4105d7
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._OK...
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x490c00]
call fcn.00439d10
push 0xc8
mov ecx, 0x464e08
call fcn.00424340
dec esi
jne 0x410596
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 [0x490c00]
call fcn.00439d10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x4110a0
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 [0x464d80]
test eax, eax
jne 0x4110be
mov byte [esi + 0x79], 0x51
mov dl, byte [esi + 0x7a]
xor eax, eax
and edx, 0x7f
lea ebp, [edx + 3]
test ebp, ebp
jle 0x4110d9
xor edx, edx
mov dl, byte [edi + eax]
xor ecx, edx
inc eax
cmp eax, ebp
jl 0x4110cd
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 [0x465228]
lea ecx, [eax + 0x280]
call fcn.0040cf80
pop edi
pop esi
pop ebp
ret 8

Function at 0x411110
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 [0x464d80]
xor eax, eax
test esi, esi
jne 0x411138
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 0x411141
mov byte [esi + ecx + 0x78], al
mov eax, dword [0x464da4]
cmp eax, 3
push 0x6e
jne 0x41116d
push 0xc
call fcn.004110a0
and eax, 0xff
jmp 0x411172
call fcn.004100e0
push 1
push ecx
test eax, eax
mov ecx, esp
je 0x4111a1
mov dword [esp + 0xc], esp
push str._Micom__User_Delete_..._OK____
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x490c00]
call fcn.00439d10
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 [0x490c00]
call fcn.00439d10
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
pop esi
pop ecx
ret

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

Disassembly:
push ecx
mov edx, dword [0x464d80]
xor eax, eax
push ebx
cmp edx, eax
push esi
jne 0x41128d
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 [0x464d80], eax
jne 0x411205
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 0x41121e
mov byte [esi + ecx + 0x78], al
mov eax, dword [0x464da4]
cmp eax, edx
push 0x6e
jne 0x411249
push 0xc
call fcn.004110a0
and eax, 0xff
jmp 0x41124e
call fcn.004100e0
push 1
push ecx
test eax, eax
mov ecx, esp
je 0x411274
mov dword [esp + 0x10], esp
push str._Micom__Monitor_Reset...OK____
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x490c00]
call fcn.00439d10
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 [0x490c00]
call fcn.00439d10
pop esi
pop ebx
pop ecx
ret
Function at 0x4112a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov edx, dword [0x464d80]
xor eax, eax
push ebx
cmp edx, eax
push esi
jne 0x41135d
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 [0x464d80], eax
jne 0x4112d5
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 0x4112ee
mov byte [esi + ecx + 0x78], al
mov eax, dword [0x464da4]
cmp eax, edx
push 0x6e
jne 0x411319
push 0xc
call fcn.004110a0
and eax, 0xff
jmp 0x41131e
call fcn.004100e0
push 1
push ecx
test eax, eax
mov ecx, esp
je 0x411344
mov dword [esp + 0x10], esp
push str._Micom__Display_Monitor_Information...OK____
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x490c00]
call fcn.00439d10
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 [0x490c00]
call fcn.00439d10
pop esi
pop ebx
pop ecx
ret