joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100166f0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x104
mov eax, dword [0x1005d1c0]
push esi
mov esi, dword [esp + 0x10c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
mov dword [esp + 0x110], eax
mov eax, dword [esi]
push 0xc8
push eax
call edi
mov edx, dword [esi]
lea ecx, [esp + 8]
push ecx
push 0x100
push 0xd
push edx
call edi
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
lea edx, [esp + 8]
push edx
mov edx, dword [esi + 8]
push edx
mov edx, dword [esi + 0xc]
push edx
call dword [eax + 0x78]
mov ecx, dword [esp + 0x108]
pop edi
mov eax, 1
pop esi
call fcn.10038e11
add esp, 0x104
ret 4

Function at 0x10016860
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x6c
mov eax, dword [0x1005d1c0]
push esi
push edi
mov dword [esp + 0x70], eax
mov esi, ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx]
push 0x64
lea eax, [esp + 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
movzx eax, byte [esi + 0x2c]
mov edi, dword [esp + 0x7c]
dec eax
cmp eax, 4
ja case.default.0x10016892
jmp dword [eax*4 + 0x10016924]
push 2
jmp 0x100168bb
push 8
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
jmp 0x100168c5
push 0xa
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
jmp 0x100168c5
push 0x10
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.MSVCR71.dll_strtoul]
add esp, 0xc
mov dword [edi], eax
mov edx, dword [esp + 8]
cmp byte [edx], 0
je 0x100168ef
pop edi
mov eax, 0xfffffffe
pop esi
mov ecx, dword [esp + 0x68]
call fcn.10038e11
add esp, 0x6c
ret 8
mov eax, dword [edi]
cmp eax, dword [esi + 0x30]
jae 0x1001690a
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x68]
call fcn.10038e11
add esp, 0x6c
ret 8
mov edx, dword [esi + 0x34]
mov ecx, dword [esp + 0x70]
cmp edx, eax
sbb eax, eax
pop edi
neg eax
pop esi
call fcn.10038e11
add esp, 0x6c
ret 8
Function at 0x10017a20
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1000ad30
mov esi, eax
mov eax, dword [esi + 0xe8]
mov ecx, dword [esi + 0xec]
mov edx, dword [esi]
add esp, 4
push eax
push ecx
mov ecx, esi
call dword [edx + 0x5c]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
mov edi, eax
call ebx
xor edx, edx
test ax, ax
setl dl
push 0x10
mov ebp, edx
call ebx
mov edx, dword [esi + 0xec]
xor ecx, ecx
test ax, ax
setl cl
test edi, edi
mov eax, ecx
mov ecx, dword [esi + 0xe8]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
je 0x10017ae3
lea ecx, [esp + 0x10]
mov dword [esi + 0x150], 1
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x28]
test eax, eax
mov dword [esi + 0x150], 0
jne 0x10017ae3
mov eax, dword [esp + 0x2c]
cmp eax, dword [esi + 0x21c]
jne 0x10017b18
push eax
call fcn.10017400
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
movzx edx, word [esp + 0x38]
movzx eax, word [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
shl edx, 0x10
or edx, eax
push edx
mov edx, dword [0x1005d218]
push ecx
push 0x100
push esi
push edx
call dword [sym.imp.USER32.dll_CallWindowProcA]
push esi
call fcn.10017400
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x10017b20
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.1000ad30
mov esi, eax
mov eax, dword [esi + 0xe8]
mov ecx, dword [esi + 0xec]
mov edx, dword [esi]
add esp, 4
push eax
push ecx
mov ecx, esi
call dword [edx + 0x5c]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
mov edi, eax
call ebx
xor edx, edx
test ax, ax
setl dl
push 0x10
mov ebp, edx
call ebx
mov edx, dword [esi + 0xec]
xor ecx, ecx
test ax, ax
setl cl
test edi, edi
mov eax, ecx
mov ecx, dword [esi + 0xe8]
mov dword [esp + 0x24], ecx
movzx ecx, byte [esp + 0x30]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
je 0x10017bbf
mov edx, dword [edi]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call dword [edx + 0x2c]
test eax, eax
je 0x10017c46
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp ecx, 9
je 0x10017c20
cmp ecx, 0xd
je 0x10017bd6
cmp ecx, 0x1b
jne 0x10017bea
push 0
push 1
push 0
jmp 0x10017c2f
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x10017bea
xor ecx, ecx
test eax, eax
setne cl
add ecx, 4
jmp 0x10017c2a
movzx edx, word [esp + 0x34]
push edx
mov edx, dword [0x1005d218]
movzx eax, cl
mov ecx, dword [esp + 0x30]
push eax
push 0x102
push ecx
push edx
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov edx, dword [esp + 0x2c]
push edx
call fcn.10017400
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor ecx, ecx
test eax, eax
setne cl
add ecx, 2
push 0
push ecx
push 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x11c]
mov edx, dword [esp + 0x2c]
push edx
call fcn.10017400
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x10018870
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp word [esi + 0x198], bp
jne 0x1001889b
mov eax, dword [esi + 0x244]
test eax, eax
je 0x1001889b
mov eax, dword [esi]
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [eax + 0x114]
pop esi
pop ebp
ret 0xc
mov eax, dword [esp + 0x14]
test eax, eax
push ebx
push edi
mov edi, dword [esp + 0x18]
jne 0x100188ca
mov eax, dword [esi + 0x150]
test eax, eax
jne 0x100188ca
mov eax, dword [esi + 0x14c]
test eax, eax
jne 0x100188fc
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x100188fc
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov eax, ebx
jne 0x100188d9
mov eax, 1
test edi, edi
mov dword [esi + 0x10c], eax
mov eax, edi
jne 0x100188ea
mov eax, 1
mov dword [esi + 0x108], eax
mov dword [esi + 0x258], 0
jmp 0x1001891a
mov ebx, dword [esp + 0x14]
cmp dword [esi + 0x10c], ebx
jne 0x1001891f
cmp dword [esi + 0x108], edi
jne 0x1001891f
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x1001891f
mov ebp, 1
mov eax, dword [esi + 0x190]
test eax, eax
jne 0x10018956
test ebx, ebx
je 0x10018956
test edi, edi
je 0x100189a3
mov ecx, esi
call sym.Host71.dll_public:_int___thiscall_IGrid::SelAnchored_void_
test eax, eax
je 0x10018956
test ebp, ebp
jne 0x10018956
mov eax, dword [esi + 0x188]
test eax, eax
je 0x1001898d
xor ebx, ebx
mov dword [esi + 0x258], 1
test edi, edi
je 0x100189a3
test ebx, ebx
jne 0x100189ff
mov eax, dword [esi + 0x188]
test eax, eax
je 0x100189fa
mov eax, dword [esi + 0x108]
mov edx, dword [esi]
push edi
push ebx
push eax
push ebx
push 2
mov ecx, esi
call dword [edx + 0x114]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
mov eax, dword [esi + 0x18c]
test eax, eax
je 0x10018956
xor edi, edi
mov dword [esi + 0x258], 1
test ebx, ebx
jne 0x100189c8
mov eax, dword [esi + 0x194]
test eax, eax
je 0x100189ff
mov edx, dword [esi]
push ebx
push ebx
push ebx
push ebx
push 1
mov ecx, esi
call dword [edx + 0x114]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
test edi, edi
jne 0x100189ff
mov eax, dword [esi + 0x18c]
test eax, eax
je 0x100189f3
mov ecx, dword [esi + 0x10c]
mov eax, dword [esi]
push edi
push ebx
push edi
push ecx
push 3
mov ecx, esi
call dword [eax + 0x114]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
mov edi, 1
jmp 0x100189ff
mov ebx, 1
test ebp, ebp
je 0x10018a1e
mov edx, dword [esi]
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call dword [edx + 0x114]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
mov eax, dword [esi + 0x190]
test eax, eax
je 0x10018a4b
mov ecx, dword [esi + 0x108]
mov edx, dword [esi + 0x10c]
mov eax, dword [esi]
push edi
push ebx
push ecx
push edx
push 4
mov ecx, esi
call dword [eax + 0x114]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
mov eax, dword [esi]
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call dword [eax + 0x114]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x1001aa40
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
ret 0xc
Function at 0x1001f2f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1003b038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov esi, ecx
push 0
lea ecx, [esp + 0x18]
call sub.Utils50.dll_Ordinal_145
mov edi, dword [esp + 0x38]
xor eax, eax
mov ax, word [esi + 0xc]
mov dword [esp + 0x30], 0
lea ecx, [eax + 1]
mov word [esi + 0xc], cx
cmp word [edi + 6], 0
jne 0x1001f33b
mov word [edi + 6], ax
mov edx, dword [edi]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
mov dword [esp + 0xc], ecx
push edi
mov ecx, esi
mov dword [esp + 0xc], 2
mov dword [esp + 0x14], edx
call dword [eax + 0x20]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x80]
lea ecx, [esp + 8]
push ecx
push edx
push 0x4a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test byte [edi + 0xc], 4
jne 0x1001f394
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x3c]
test byte [edi + 0xc], 4
je 0x1001f385
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x24]
mov edi, dword [edi + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call sub.Utils50.dll_Ordinal_146
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x100206e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1003b260
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov esi, ecx
mov ecx, dword [esp + 0x48]
movzx eax, word [ecx]
sub eax, 0x7d1
je 0x1002075a
dec eax
je 0x10020720
xor eax, eax
pop esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov eax, dword [esp + 0x4c]
push eax
push ecx
lea ecx, [esp + 0xc]
call sym.Host71.dll_public:_void___thiscall_IPCSimpleMessage::constructor_void___int_
mov edx, dword [esp + 0x44]
lea ecx, [esp + 4]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x44], 1
call sym.Host71.dll_public:_int___thiscall_IPCServer::Logout_class_IPCTransport___class_IPCSimpleMessage__
pop esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov eax, dword [esp + 0x4c]
push eax
push ecx
lea ecx, [esp + 0x24]
call sym.Host71.dll_public:_void___thiscall_IPCSimpleMessage::constructor_void___int_
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x44], 0
call sym.Host71.dll_public:_void____thiscall_IPCServer::Login_class_IPCTransport___class_IPCSimpleMessage__
mov ecx, dword [esp + 0x34]
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x10023c70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1003b503
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
push edi
push 0xffffffffffffffff
push 2
push 1
push 0x3fe
mov esi, ecx
push eax
mov dword [esp + 0x20], esi
call fcn.10007d10
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
xor ebx, ebx
push 0x24
mov dword [esp + 0x1c], ebx
mov dword [esi], 0x10040f10
mov dword [esi + 0x24], ecx
mov dword [esi + 0xc0], edx
call sub.MFC71.DLL_operator_new
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x18], 1
je 0x10023cea
mov ecx, dword [esi + 0x24]
push ecx
push 0x3fe
mov ecx, eax
call fcn.10027a70
jmp 0x10023cec
xor eax, eax
mov dword [esi + 0xc4], eax
mov eax, dword [esi + 0x20]
lea edx, [eax + 4]
mov dword [esi + 0x28], eax
add eax, 8
mov ecx, esi
mov byte [esp + 0x18], bl
mov dword [esi + 0x2c], edx
mov dword [esi + 0x20], eax
mov dword [esi + 0xbc], ebx
call fcn.10007bf0
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0xc]
push 4
push eax
lea ecx, [esi + 0x30]
push ecx
lea edi, [esi + 4]
push edx
mov ecx, edi
call fcn.10006490
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0xc]
push 4
push eax
lea ebx, [esi + 0x34]
push ebx
push ecx
mov ecx, edi
call fcn.10006490
mov edx, dword [ebx]
push edx
mov ecx, esi
mov dword [esi + 0xb8], 0xffffffff
call fcn.10007a40
mov eax, dword [esi + 0xc4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], 0xffffffff
pop edi
mov dword [esi + 0xb8], 0xffffffff
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x10026e70
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
push edi
mov di, word [esp + 0x20]
cmp di, 0xffff
mov esi, ecx
jne 0x10026e96
call sub.MFC71.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xd8]
jmp 0x10026e98
xor eax, eax
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov ebp, dword [esp + 0x18]
mov dword [ebx], 0
mov word [ebp], 0
jle 0x10026f0b
cmp ecx, 0x40
jge 0x10026f0b
mov ecx, dword [esi + ecx*4 + 4]
lea ecx, [ecx]
test ecx, ecx
je 0x10026f0b
movzx edx, di
sub edx, 0xfffe
je 0x10026ee3
dec edx
je 0x10026ed8
cmp word [ecx + 6], di
jmp 0x10026edc
cmp word [ecx + 6], ax
je 0x10026ee3
mov ecx, dword [ecx + 0xc]
jmp 0x10026ec0
mov dx, word [ecx + 4]
mov word [ebp], dx
mov edx, dword [ecx + 0xc]
mov dword [ebx], edx
mov edx, dword [esp + 0x24]
test edx, edx
mov eax, 1
je 0x10026f0d
mov cx, word [ecx + 6]
pop edi
pop esi
pop ebp
mov word [edx], cx
pop ebx
ret 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
Function at 0x10028380
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x6c
mov eax, dword [0x1005d1c0]
push esi
mov dword [esp + 0x6c], eax
push 0x64
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 0x70]
and eax, 0xff
cmp eax, 5
ja case.default.0x100283ad
jmp dword [eax*4 + 0x10028438]
push 2
jmp 0x100283d6
push 8
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
jmp 0x100283e0
push 0xa
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
jmp 0x100283e0
push 0x10
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
call dword [sym.imp.MSVCR71.dll_strtoul]
add esp, 0xc
mov dword [esi + 0x60], eax
mov ecx, dword [esp + 4]
cmp byte [ecx], 0
je 0x10028408
mov eax, 0xfffffffe
pop esi
mov ecx, dword [esp + 0x68]
call fcn.10038e11
add esp, 0x6c
ret
mov eax, dword [esi + 0x60]
cmp eax, dword [esi + 0x64]
jae 0x10028421
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x68]
call fcn.10038e11
add esp, 0x6c
ret
mov edx, dword [esi + 0x68]
mov ecx, dword [esp + 0x6c]
cmp edx, eax
sbb eax, eax
neg eax
pop esi
call fcn.10038e11
add esp, 0x6c
ret
Function at 0x10028660
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x148]
test eax, eax
je 0x10028676
mov ecx, dword [edi + 0x64]
mov dword [edi + 0x60], ecx
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call esi
test ax, ax
jge 0x1002868a
mov esi, dword [edi + 0x5c]
jmp 0x100286a4
push 0x10
call esi
test ax, ax
jl 0x100286a1
push 2
call esi
test ax, ax
jl 0x100286a1
mov esi, dword [edi + 0x54]
jmp 0x100286a4
mov esi, dword [edi + 0x58]
mov eax, dword [edi + 0x70]
and eax, 0xff
sub eax, 3
je 0x10028759
dec eax
je 0x1002870c
dec eax
jne 0x10028764
mov edx, dword [edi + 0x60]
push edx
call sym.Host71.dll_unsigned_long_int___cdecl_BCO2Binary_unsigned_long_int_
mov dword [edi + 0x60], eax
mov eax, dword [edi + 0x68]
push eax
call sym.Host71.dll_unsigned_long_int___cdecl_BCO2Binary_unsigned_long_int_
mov ecx, dword [edi + 0x60]
mov edx, eax
sub edx, ecx
add esp, 8
cmp edx, esi
mov dword [edi + 0x68], eax
jae 0x100286ea
mov dword [edi + 0x60], eax
jmp 0x100286ef
add ecx, esi
mov dword [edi + 0x60], ecx
mov eax, dword [edi + 0x60]
push eax
call sym.Host71.dll_unsigned_long_int___cdecl_Binary2BCO_unsigned_long_int_
mov ecx, dword [edi + 0x68]
push ecx
mov dword [edi + 0x60], eax
call sym.Host71.dll_unsigned_long_int___cdecl_Binary2BCO_unsigned_long_int_
add esp, 8
mov dword [edi + 0x68], eax
jmp 0x1002877c
mov edx, dword [edi + 0x60]
push edx
call sym.Host71.dll_unsigned_long_int___cdecl_BCD2Binary_unsigned_long_int_
mov dword [edi + 0x60], eax
mov eax, dword [edi + 0x68]
push eax
call sym.Host71.dll_unsigned_long_int___cdecl_BCD2Binary_unsigned_long_int_
mov ecx, dword [edi + 0x60]
mov edx, eax
sub edx, ecx
add esp, 8
cmp edx, esi
mov dword [edi + 0x68], eax
jae 0x10028737
mov dword [edi + 0x60], eax
jmp 0x1002873c
add ecx, esi
mov dword [edi + 0x60], ecx
mov eax, dword [edi + 0x60]
push eax
call sym.Host71.dll_unsigned_long_int___cdecl_Binary2BCD_unsigned_long_int_
mov ecx, dword [edi + 0x68]
push ecx
mov dword [edi + 0x60], eax
call sym.Host71.dll_unsigned_long_int___cdecl_Binary2BCD_unsigned_long_int_
add esp, 8
mov dword [edi + 0x68], eax
jmp 0x1002877c
push esi
call sym.Host71.dll_unsigned_long_int___cdecl_Binary2BCD_unsigned_long_int_
add esp, 4
mov esi, eax
mov ecx, dword [edi + 0x68]
mov eax, dword [edi + 0x60]
mov edx, ecx
sub edx, eax
cmp edx, esi
jae 0x10028777
mov dword [edi + 0x60], ecx
jmp 0x1002877c
add eax, esi
mov dword [edi + 0x60], eax
mov eax, dword [edi + 0x68]
mov edx, dword [edi + 0x64]
mov ecx, dword [edi + 0x60]
push eax
lea esi, [edi + 0x74]
call fcn.10028550
mov edx, dword [edi]
add esp, 4
mov ecx, edi
pop edi
pop esi
jmp dword [edx + 0x144]
Function at 0x100287a0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x148]
test eax, eax
je 0x100287b6
mov ecx, dword [edi + 0x64]
mov dword [edi + 0x60], ecx
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call esi
test ax, ax
jge 0x100287ca
mov esi, dword [edi + 0x5c]
jmp 0x100287e4
push 0x10
call esi
test ax, ax
jl 0x100287e1
push 2
call esi
test ax, ax
jne 0x100287e1
mov esi, dword [edi + 0x54]
jmp 0x100287e4
mov esi, dword [edi + 0x58]
mov eax, dword [edi + 0x70]
and eax, 0xff
sub eax, 3
je 0x10028899
dec eax
je 0x1002884c
dec eax
jne 0x100288a4
mov edx, dword [edi + 0x60]
push edx
call sym.Host71.dll_unsigned_long_int___cdecl_BCO2Binary_unsigned_long_int_
mov dword [edi + 0x60], eax
mov eax, dword [edi + 0x64]
push eax
call sym.Host71.dll_unsigned_long_int___cdecl_BCO2Binary_unsigned_long_int_
mov ecx, dword [edi + 0x60]
mov edx, ecx
sub edx, eax
add esp, 8
cmp edx, esi
mov dword [edi + 0x64], eax
jae 0x1002882a
mov dword [edi + 0x60], eax
jmp 0x1002882f
sub ecx, esi
mov dword [edi + 0x60], ecx
mov eax, dword [edi + 0x60]
push eax
call sym.Host71.dll_unsigned_long_int___cdecl_Binary2BCO_unsigned_long_int_
mov ecx, dword [edi + 0x64]
push ecx
mov dword [edi + 0x60], eax
call sym.Host71.dll_unsigned_long_int___cdecl_Binary2BCO_unsigned_long_int_
add esp, 8
mov dword [edi + 0x64], eax
jmp 0x100288bc
mov edx, dword [edi + 0x60]
push edx
call sym.Host71.dll_unsigned_long_int___cdecl_BCD2Binary_unsigned_long_int_
mov dword [edi + 0x60], eax
mov eax, dword [edi + 0x64]
push eax
call sym.Host71.dll_unsigned_long_int___cdecl_BCD2Binary_unsigned_long_int_
mov ecx, dword [edi + 0x60]
mov edx, ecx
sub edx, eax
add esp, 8
cmp edx, esi
mov dword [edi + 0x64], eax
jae 0x10028877
mov dword [edi + 0x60], eax
jmp 0x1002887c
sub ecx, esi
mov dword [edi + 0x60], ecx
mov eax, dword [edi + 0x60]
push eax
call sym.Host71.dll_unsigned_long_int___cdecl_Binary2BCD_unsigned_long_int_
mov ecx, dword [edi + 0x64]
push ecx
mov dword [edi + 0x60], eax
call sym.Host71.dll_unsigned_long_int___cdecl_Binary2BCD_unsigned_long_int_
add esp, 8
mov dword [edi + 0x64], eax
jmp 0x100288bc
push esi
call sym.Host71.dll_unsigned_long_int___cdecl_Binary2BCD_unsigned_long_int_
add esp, 4
mov esi, eax
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x64]
mov edx, eax
sub edx, ecx
cmp edx, esi
jae 0x100288b7
mov dword [edi + 0x60], ecx
jmp 0x100288bc
sub eax, esi
mov dword [edi + 0x60], eax
mov eax, dword [edi + 0x68]
mov edx, dword [edi + 0x64]
mov ecx, dword [edi + 0x60]
push eax
lea esi, [edi + 0x74]
call fcn.10028550
mov edx, dword [edi]
add esp, 4
mov ecx, edi
pop edi
pop esi
jmp dword [edx + 0x144]
Function at 0x10028c80
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x1003b8ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov eax, dword [0x1005d1c0]
push ebx
push esi
push edi
push 1
mov edi, ecx
push 0x25
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [edi]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0xc0], ebx
call dword [eax + 0x13c]
mov ecx, dword [edi + 0x70]
test ecx, ecx
jns 0x10028cec
cmp eax, ebx
jle 0x10028cec
push eax
lea ecx, [esp + 0x10]
push str.__0_d
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
mov eax, dword [edi + 0x70]
and eax, 0xff
cmp eax, 5
ja case.default.0x10028cfd
jmp dword [eax*4 + 0x10028e2c]
movzx esi, byte [edi + 0x6c]
mov ecx, dword [edi + 0x60]
shl esi, 3
lea eax, [esi - 1]
cmp eax, ebx
jl 0x10028d26
mov dl, cl
and dl, 1
or dl, 0x30
mov byte [esp + eax + 0x10], dl
shr ecx, 1
dec eax
jns 0x10028d15
mov byte [esp + esi + 0x10], bl
jmp case.default.0x10028cfd
push 0x10041bc4
lea ecx, [esp + 0x10]
call dword [0x1003d2ec]
mov eax, dword [edi + 0x60]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x18]
push ecx
jmp 0x10028d99
push 0x10041bc0
lea ecx, [esp + 0x10]
call dword [0x1003d2ec]
mov edx, dword [edi + 0x60]
push edx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
jmp 0x10028d99
push 0x10041bbc
lea ecx, [esp + 0x10]
call dword [0x1003d2ec]
mov ecx, dword [edi + 0x60]
push ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
mov ebx, dword [edi + 0x20]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, 0x40
ja 0x10028ddd
push 0x40
lea ecx, [esp + 0x78]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, esi
jne 0x10028ddd
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10028de9
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [edi + 0x68]
mov ecx, dword [edi + 0x60]
push edx
mov edx, dword [edi + 0x64]
lea esi, [edi + 0x74]
call fcn.10028550
add esp, 4
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xac]
pop ebx
call fcn.10038e11
add esp, 0xb8
ret