joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443820
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443853
push esi
call fcn.00451be0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44384c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4438d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4438c2
mov eax, dword [esi + 8]
test eax, eax
je 0x443877
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4438be
cmp eax, 2
je 0x4438c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44386a
cmp eax, 3
je 0x44389d
cmp eax, 1
jne 0x44386a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44386a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44386a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443900
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4438e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443900
add esp, 4
pop esi
ret

Function at 0x444180
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4441a1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4441a1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4441a1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x461460
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xa88d88]
xor edx, edx
cmp eax, edx
jne 0x461486
xor eax, eax
mov byte [eax + 0xa88c88], al
inc eax
cmp eax, 0x100
jl 0x46146e
mov dword [0xa88d88], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xa88c88
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x461517
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4614ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4614b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x461520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x461573
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46155a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x467f10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494dde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00468830
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xa587a4
call fcn.004868c6
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x467fa3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004868c6
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x467f9c
push 0
mov ecx, eax
call fcn.0045f090
mov dword [esi + 0xc], eax
jmp 0x467fa5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x467fa5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x488f53
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x488f8b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00486fe0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00486fb8
jmp 0x488f97
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48a641
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48a683
call fcn.004900fd
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48a683
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48a67a
xor eax, eax
jmp 0x48a68b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048a691
pop edi
pop esi
pop ebx
ret 4
Function at 0x49062d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49065b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x490679
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00490593
jmp 0x490679
mov eax, dword [esi + 0x14]
test eax, eax
je 0x490679
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00490593
test edi, edi
mov eax, edi
jne 0x490663
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x419900
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d1d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00479f12
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00479f12
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 8
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00479f12
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00479f12
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00479f12
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00479f12
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00479f12
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00479f12
mov byte [ebp - 4], 7
mov edx, dword [ebp + 8]
add edx, 0x20
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00479f12
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
add eax, 0x24
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00479f12
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
add ecx, 0x28
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00479f12
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x433c60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e921
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x14]
call fcn.004067d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00406870
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x70]
call fcn.0043435d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov eax, dword [ebp - 0x70]
add eax, 0x118
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0xf0
call sub.MFC42.DLL_CDC::FillSolidRect
push 0
push 0x496dac
push 0x40
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFont::CreatePointFont
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00419ac0
mov dword [ebp - 0x58], 0x12c
mov eax, dword [ebp - 0x68]
imul eax, eax, 5
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
shl eax, 1
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00419aa0
lea ecx, [ebp - 0x2c]
call fcn.00401370
push 0x10
push 0xa0
push 1
push 0
lea ecx, [ebp - 0x2c]
call fcn.004013c0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0xf0
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0xf0]
call dword [eax + 0x30]
push 1
mov ecx, dword [ebp - 0x70]
add ecx, 0xf0
call sub.MFC42.DLL_CDC::SetBkMode
push 0xff
mov ecx, dword [ebp - 0x70]
add ecx, 0xf0
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0xf0]
call dword [eax + 0x38]
push 0x25
lea ecx, [ebp - 0x2c]
push ecx
push 0x49def0
mov ecx, dword [ebp - 0x70]
add ecx, 0xf0
call fcn.00419b20
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0
mov edx, dword [ebp - 0x70]
add edx, 0xf0
push edx
mov ecx, dword [ebp - 0x70]
call fcn.00433e05
mov ecx, dword [ebp - 0x70]
call fcn.00401750
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.00433a04
mov ecx, dword [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.00401770
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00406820
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x439240
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret

Function at 0x439260
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esp, ebp
pop ebp
ret
Function at 0x449c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480667
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 0xe
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_2
push 0xc
push 4
mov eax, dword [ebp - 0x10]
add eax, 0x54
push eax
call fcn.0047aa40
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x449de0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480747
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xe
push sub.MFC42.DLL_CString::CString
push 0xc
push 4
mov eax, dword [ebp - 0x10]
add eax, 0x54
push eax
call fcn.0047a94c
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x44a100
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48088d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 8
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x45a3b6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov dword [ebp - 4], 3
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.Control_PanelDesktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45a437
mov dword [ebp - 0x90], 0x80
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x8c]
push eax
push 0
push str.WheelScrollLines
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45a42d
push 0xa
push 0
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.MSVCRT.dll_strtoul]
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x46de96
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], 0
push 0x14
push 0
lea eax, [ebp - 0x14]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 4], eax
push 4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_PurgeComm]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x46df32
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x46df0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46df26
push 1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp + 8]
je 0x46df32
xor al, al
jmp 0x46df3e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x4775c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482ce4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00402b90
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x477d10
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482eaa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_2
push 3
push 4
mov eax, dword [ebp - 0x10]
add eax, 0x30
push eax
call fcn.0047aa40
mov byte [ebp - 4], 3
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_2
push 3
push 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
push ecx
call fcn.0047aa40
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x477db0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482efa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 3
push sub.MFC42.DLL_CString::CString
push 3
push 4
mov eax, dword [ebp - 0x10]
add eax, 0x48
push eax
call fcn.0047a94c
mov byte [ebp - 4], 2
push sub.MFC42.DLL_CString::CString
push 3
push 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
push ecx
call fcn.0047a94c
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret