joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4823a1
Capabilities:
Parse pe header

Disassembly:
pushal
xor edx, edx
mov esi, dword fs:[edx]
lodsd eax, dword [esi]
cmp eax, 0xffffffff
je 0x4823b1
mov esi, eax
jmp 0x4823a7
mov edi, dword [esi + 4]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
je 0x4823c9
sub edi, 0x10000
jmp 0x4823ba
mov ebx, edi
add ebx, dword [ebx + 0x3c]
cmp word [ebx], 0x4550
je 0x4823d7
jmp 0x4823ba
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x4823dd
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebx, dword [esp + 0x24]
mov ecx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, ecx
mov edi, dword [ebx + 0x20]
add edi, ecx
xor esi, esi
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
xor eax, eax
rol eax, 7
xor al, byte [edx]
inc edx
cmp byte [edx], 0
jne 0x4823fc
cmp eax, dword [esp + 0x28]
je 0x482413
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x4823f3
mov edx, dword [ebx + 0x24]
add edx, ecx
movzx edx, word [edx + esi*2]
mov eax, dword [ebx + 0x1c]
add eax, ecx
mov eax, dword [eax + edx*4]
add eax, ecx
mov dword [esp + 0x1c], eax
popal
ret 8
Function at 0x40b340
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x466b7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
sub esp, 0x20
mov esi, ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.MIL_Model_Finder_Interactive_Utility
call fcn.0040b1b0
mov ecx, esi
call fcn.0040b230
push 4
push 0x200
mov ecx, esi
call fcn.00436440
push 4
push 0x20
mov ecx, esi
call fcn.00436440
push 5
push 0x200
mov ecx, esi
call fcn.00436440
push 5
push 0x20
mov ecx, esi
call fcn.00436440
push 0x1e
push 0x200
mov ecx, esi
call fcn.00436440
push 1
push 2
mov ecx, esi
call fcn.00435990
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push str.Tab_4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Tab_3
mov dword [esp + 0x28], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Results
mov byte [esp + 0x2c], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Context
mov byte [esp + 0x30], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.004359b0
push 0x64
push 0x64
push 0x78
push 0x78
mov ecx, esi
call fcn.00435a50
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.Geometric_File
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, esi
call fcn.00435b10
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.mmf_geo
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, esi
call fcn.00435b60
push 0
mov ecx, esi
call fcn.00438d00
push 0
mov ecx, esi
call fcn.00438850
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.My_application
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, esi
call fcn.00435e20
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.Model_Finder
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, esi
call fcn.00435a80
push 2
mov ecx, esi
call fcn.004390f0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Geometric
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, esi
call fcn.00436050
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Geometric_Controlled
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, esi
call fcn.00436050
push 7
mov ecx, esi
mov byte [esi + 0x179], 0
call fcn.00438800
push 0x407270
mov ecx, esi
mov dword [esi + 0x164], 7
mov dword [esi + 0x160], 7
call fcn.004368a0
push 1
mov ecx, esi
call fcn.0043b080
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret
Function at 0x42a520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468659
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 8]
call dword [0x46c328]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x42a5c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468659
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::StringLength]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 8]
call dword [0x46c328]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42ade0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x170]
cmp eax, 0xd
push edi
lea edi, [esi + 0x164]
jge 0x42ae14
mov ecx, dword [edi + 0x10]
lea eax, [ecx + 0xc]
cdq
idiv ecx
mov edx, dword [edi + 0x18]
imul edx, ecx
push 1
mov dword [edi + 0x10], edx
mov edx, dword [edi]
imul eax, ecx
push eax
mov ecx, edi
call dword [edx + 4]
fld qword [0x46dfd0]
mov dword [edi + 8], 0xd
mov eax, dword [esi + 0x168]
fstp qword [eax]
mov ecx, dword [esi + 0x168]
fld qword [0x472fd0]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
fstp qword [ecx + 8]
mov edx, dword [esi + 0x168]
fld qword [0x472fc8]
push 0
fstp qword [edx + 0x10]
mov eax, dword [esi + 0x168]
fld qword [0x46d450]
push 0
fstp qword [eax + 0x18]
mov ecx, dword [esi + 0x168]
fld qword [0x46f230]
push 0x14b
fstp qword [ecx + 0x20]
mov edx, dword [esi + 0x168]
fld qword [0x46f228]
fstp qword [edx + 0x28]
mov eax, dword [esi + 0x168]
fld qword [0x46fea0]
fstp qword [eax + 0x30]
mov ecx, dword [esi + 0x168]
fld qword [0x472fc0]
fstp qword [ecx + 0x38]
mov edx, dword [esi + 0x168]
fld qword [0x46e358]
fstp qword [edx + 0x40]
mov eax, dword [esi + 0x168]
fld qword [0x46d418]
fstp qword [eax + 0x48]
mov ecx, dword [esi + 0x168]
fld qword [0x471e78]
fstp qword [ecx + 0x50]
mov edx, dword [esi + 0x168]
fld qword [0x472fb8]
fstp qword [edx + 0x58]
mov eax, dword [esi + 0x168]
fld qword [0x472fb0]
fstp qword [eax + 0x60]
mov ecx, dword [esi + 0x130]
push ecx
call edi
mov edx, dword [esi + 0x130]
push str.Image
push 0
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x130]
push str.Edge_Result
push 1
push 0x14a
push eax
call edi
mov ecx, dword [esi + 0x130]
push str.Mod_Result
push 2
push 0x14a
push ecx
call edi
mov edx, dword [esi + 0x130]
push str.DXF_File
push 3
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x130]
push str.Circle
push 4
push 0x14a
push eax
call edi
mov ecx, dword [esi + 0x130]
push 0x4712f0
push 5
push 0x14a
push ecx
call edi
mov edx, dword [esi + 0x130]
push 0x4712d4
push 6
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x130]
push str.Square
push 7
push 0x14a
push eax
call edi
mov ecx, dword [esi + 0x130]
push str.Cross
push 8
push 0x14a
push ecx
call edi
mov edx, dword [esi + 0x130]
push str.Ring
push 9
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x130]
push str.Triangle
push 0xa
push 0x14a
push eax
call edi
mov ecx, dword [esi + 0x130]
push str.Diamond
push 0xb
push 0x14a
push ecx
call edi
mov edx, dword [esi + 0x130]
push str.Merge_Model
push 0xc
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x130]
push 0
push 0
push 0x14e
push eax
call edi
pop edi
pop esi
ret
Function at 0x4323c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468a78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ecx + 0x410]
push edi
xor ebx, ebx
push 1
mov dword [esp + 0x10], ecx
push ebx
lea ecx, [esp + 0x18]
add esi, 0xc
mov dword [esp + 0x18], 0x46e310
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 1
call dword [0x46e314]
mov dword [esp + 0x18], ebx
mov edi, dword [esi + 8]
cmp edi, dword [esp + 0x1c]
mov dword [esp + 0x34], ebx
jle 0x43245d
mov ecx, dword [esp + 0x20]
lea eax, [ecx + edi - 1]
cdq
idiv ecx
mov edx, dword [esp + 0x28]
imul edx, ecx
push 1
mov dword [esp + 0x24], edx
imul eax, ecx
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
call dword [eax + 4]
jmp 0x43246f
cmp edi, ebx
jne 0x43246f
mov edx, dword [esp + 0x10]
push 1
push ebx
lea ecx, [esp + 0x18]
call dword [edx + 4]
mov dword [esp + 0x18], edi
mov eax, dword [esi]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esi + 4], ecx
je 0x4324a0
xor eax, eax
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x14]
mov dword [eax + ecx], edx
mov edx, dword [esi + 4]
mov ecx, dword [edx]
mov edx, ecx
mov dword [esi + 4], ecx
mov ecx, dword [esi]
add eax, 4
cmp edx, ecx
jne 0x432480
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
add ecx, 0x2e0
call fcn.0045db60
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x14], 0x46e310
call sub.MFC71.DLL_operator_delete_1
mov ecx, dword [esp + 0x30]
add esp, 4
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x43c200
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4697b8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push edi
mov edi, ecx
mov eax, dword [edi + 0x150]
test eax, eax
jne 0x43c2c2
mov eax, dword [edi + 0x100]
test eax, eax
je 0x43c2c2
push esi
mov dword [edi + 0xa4], 1
call fcn.00435ad0
mov esi, eax
test esi, esi
je 0x43c2ad
mov ecx, esi
call fcn.0044a040
test al, al
je 0x43c2ad
lea ecx, [esp + 8]
mov dword [edi + 0x150], esi
call fcn.0042fee0
push 0x4750f8
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.0043b9e0
mov ecx, dword [esp + 0xc]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x58]
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040aec0
mov eax, esi
pop esi
pop edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
xor esi, esi
mov eax, esi
pop esi
pop edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x43c580
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4691e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 8], ebx
push edi
mov edi, 1
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x46ecac
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
call fcn.0043a4c0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x10], 0x46ecb4
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x38], edi
jle 0x43c5f7
push edi
lea ecx, [esp + 0x14]
call fcn.00436c10
mov ecx, dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x14]
call fcn.0043a550
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov dword [esi], 0x46ecac
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
call fcn.0043a4c0
mov eax, dword [esp + 0x2c]
mov dword [esi], 0x46ecb4
mov dword [esi + 0x1c], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], edi
mov byte [esp + 0x38], bl
call fcn.0040aec0
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x43c660
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4691e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0xc], ebx
push edi
mov edi, 1
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x46ecac
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
call fcn.0043a4c0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x14], 0x46ecb4
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], edi
call fcn.0043b9e0
mov esi, dword [esp + 0x44]
mov ebp, eax
push ebp
mov ecx, esi
mov dword [esi], 0x46ecac
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
call fcn.0043a4c0
mov dword [esi], 0x46ecb4
mov edx, dword [ebp + 0x1c]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov byte [esp + 0x3c], bl
call fcn.0040aec0
mov ecx, dword [esp + 0x34]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x43e278
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4697b8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
mov eax, dword [esi + 0x150]
test eax, eax
jne 0x43e33f
mov eax, dword [esi + 0x100]
test eax, eax
je 0x43e33f
push edi
mov dword [esi + 0xa4], 1
call fcn.00435ad0
mov edi, eax
test edi, edi
je 0x43e2c2
mov eax, dword [esi + 0x100]
test eax, eax
je 0x43e2c2
mov ecx, edi
call fcn.00449660
test al, al
jne 0x43e2d7
xor edi, edi
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea ecx, [esp + 8]
call fcn.0042fee0
push str.Digitizer
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.0043b9e0
mov eax, dword [esi + 0x2fc]
lea ecx, [eax + 1]
mov dword [esi + 0x2fc], ecx
push eax
lea ecx, [esp + 0xc]
call fcn.0043c730
mov eax, dword [esp + 0xc]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x58]
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.0040aec0
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x24]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x441e11
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
push esi
mov esi, ecx
mov ebp, dword [esi + 0x16c]
test ebp, ebp
je 0x441fa8
mov al, byte [esi + 0x118d]
test al, al
jne 0x441fa8
cmp dword [esi + 0x1108], 1
push edi
je 0x441e4e
mov al, byte [esi + 0x10f1]
test al, al
jne 0x441e99
mov al, byte [esi + 0x10f2]
test al, al
jne 0x441e99
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jge 0x441e77
push 0x10
call edi
test ax, ax
mov ecx, dword [ebp + 0x54]
jge 0x441e70
call fcn.00449df0
jmp 0x441e99
call fcn.00449da0
jmp 0x441e99
push 0x11
call edi
test ax, ax
jge 0x441e99
push 0x10
call edi
test ax, ax
mov ecx, esi
push 0
jge 0x441e94
call fcn.0043dfa0
jmp 0x441e99
call fcn.0043de50
mov edi, dword [esi + 0x1ac]
imul edi, dword [esi + 0x1a8]
mov ecx, dword [esi + 0x2f4]
mov ebp, dword [esp + 0x10]
inc ecx
test edi, edi
mov byte [esi + 0x118c], 0
mov dword [esi + 0x2f4], ecx
jle 0x441ed0
push ebp
mov ecx, esi
call fcn.00438410
mov dword [esi + 0x1134], eax
cmp edi, 1
jle 0x441ee3
push ebp
mov ecx, esi
call fcn.00438480
mov dword [esi + 0x1138], eax
cmp edi, 2
jle 0x441ef6
push ebp
mov ecx, esi
call fcn.004384c0
mov dword [esi + 0x113c], eax
cmp edi, 3
jle 0x441f09
push ebp
mov ecx, esi
call fcn.00438530
mov dword [esi + 0x1140], eax
mov al, byte [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x1144], ebp
lea ebp, [esi + 0x1134]
mov byte [esi + 0x1188], al
mov eax, dword [ebp]
test eax, eax
mov byte [esi + 0x118d], 1
je 0x441f42
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x81f4
push ecx
call edi
mov eax, dword [esi + 0x1138]
test eax, eax
je 0x441f5b
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x81f4
push edx
call edi
mov eax, dword [esi + 0x113c]
test eax, eax
je 0x441f74
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x81f4
push eax
call edi
mov esi, dword [esi + 0x1140]
test esi, esi
je 0x441f8d
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x81f4
push ecx
call edi
push 0
push 0
push 0
push 0
push ebp
push 0x4405a0
call sub.MFC71.DLL_AfxBeginThread
pop edi
pop esi
mov al, 1
pop ebp
ret 8
pop esi
xor al, al
pop ebp
ret 8
Function at 0x44c360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46a268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 8], eax
call sub.MFC71.DLL_CClientDC::CClientDC
mov edx, dword [esi]
push 0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [edx + 0x15c]
mov edx, dword [esp + 0x14]
push 1
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
mov dword [edx], eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00464f34
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10

Function at 0x44c37c
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46a268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 8], eax
call sub.MFC71.DLL_CClientDC::CClientDC
mov edx, dword [esi]
push 0
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [edx + 0x15c]
mov edx, dword [esp + 0x14]
push 1
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
mov dword [edx], eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00464f34
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10
Function at 0x457bf0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
dec eax
je 0x457c12
dec eax
je 0x457c0b
dec eax
je 0x457c04
xor al, al
ret 0x14
mov eax, 3
jmp 0x457c17
mov eax, 1
jmp 0x457c17
mov eax, 4
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push edx
mov edx, dword [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x10]
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb al, al
inc al
ret 0x14

Function at 0x457c40
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov edx, dword [esp + 4]
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x457cb6
mov ecx, dword [esp + 8]
dec ecx
je 0x457cac
sub ecx, 2
je 0x457c96
dec ecx
je 0x457c80
mov eax, dword [esp + 0xc]
mov dword [eax], 0
xor al, al
ret 0xc
mov ecx, dword [esp + 0xc]
xor edx, edx
test eax, eax
sete dl
mov dword [ecx], 1
mov al, dl
ret 0xc
mov edx, dword [esp + 0xc]
mov dword [edx], 3
xor edx, edx
test eax, eax
sete dl
mov al, dl
ret 0xc
mov ecx, dword [esp + 0xc]
mov dword [ecx], 2
xor edx, edx
test eax, eax
sete dl
mov al, dl
ret 0xc

Function at 0x457cd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x1c]
cmp eax, 0xea
sete cl
test eax, eax
mov byte [edx], cl
mov ecx, dword [esp + 0x18]
mov dword [esi], ecx
pop esi
jne 0x457d68
mov ecx, dword [esp + 8]
dec ecx
je 0x457d5e
sub ecx, 2
je 0x457d48
dec ecx
je 0x457d32
mov edx, dword [esp + 0xc]
mov dword [edx], eax
xor al, al
ret 0x18
mov ecx, dword [esp + 0xc]
xor edx, edx
test eax, eax
sete dl
mov dword [ecx], 1
mov al, dl
ret 0x18
mov edx, dword [esp + 0xc]
mov dword [edx], 3
xor edx, edx
test eax, eax
sete dl
mov al, dl
ret 0x18
mov ecx, dword [esp + 0xc]
mov dword [ecx], 2
xor edx, edx
test eax, eax
sete dl
mov al, dl
ret 0x18