joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50f56b
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x428]
push esi
push edi
push 0x424
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x42c], 0x428
call fcn.0060b7a0
add esp, 0xc
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x50f5ba
xor eax, eax
jmp 0x50f616
lea eax, [ebp - 0x42c]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x50f5e7
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x418]
cmp eax, dword [ebp - 0x414]
jb 0x50f5ed
lea eax, [ebp - 0x42c]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x50f5c9
jmp 0x50f606
lea eax, [ebp - 0x40c]
push eax
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x418]
mov dword [ebx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 0x10]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 8

Function at 0x50f629
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push eax
push 2
mov word [edi], ax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
mov esi, eax
call fcn.00418f81
push eax
lea ecx, [ebp - 0x234]
call fcn.0041775d
test esi, esi
je 0x50f6b9
push edi
call fcn.006180f6
pop ecx
cmp eax, 0xa27
jae 0x50f6b9
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0063f785
push 0x68b39c
push edi
call fcn.0063f785
add esp, 0x10
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x50f67f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 4
Function at 0x50fe4a
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
inc edi
cmp byte [ebp + 0xc], 0
je 0x50fe78
push str.set_chkbox_autostart
add ecx, 0x20
call fcn.005cfc5e
push edi
push ebx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x3b4]
lea ecx, [ebp - 0x18]
mov byte [0x735a64], bl
call fcn.00417833
push edi
push ecx
mov ecx, esp
push str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.004177e7
mov ebx, SysReAllocString
lea ecx, [ebp - 0x18]
push ebx
call fcn.004f7115
cmp byte [0x735a64], 0
je 0x50ff37
push str.mytime.exe
lea eax, [ebp + 0xc]
push 0x735a80
push eax
call fcn.004227e4
pop ecx
pop ecx
mov ecx, esp
push 0x6809b0
call fcn.004177e7
push ecx
mov ecx, esp
push str.mytime
call fcn.004177e7
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.004e6ef3
mov esi, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push esi
call fcn.004334a5
test eax, eax
je 0x50ff22
push ecx
mov eax, esp
push str.mytime.exe
push 0x735a80
push eax
call fcn.004227e4
pop ecx
pop ecx
mov ecx, esp
push str.mytime
call fcn.004177e7
lea ecx, [ebp - 0x18]
call fcn.0050857a
lea ecx, [esi - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00419521
jmp 0x50ff4c
push ecx
mov ecx, esp
push str.mytime
call fcn.004177e7
lea ecx, [ebp - 0x18]
call fcn.00461d4b
push ecx
mov ecx, esp
push str.true
call fcn.004177e7
push ecx
mov ecx, esp
push 0x6b0340
call fcn.004177e7
push ecx
mov ecx, esp
push str.HaveSetAutoStart
call fcn.004177e7
mov ecx, 0x735bd8
call fcn.004fdb1b
lea ecx, [ebp - 0x30]
call fcn.00417833
push edi
push ecx
mov ecx, esp
push str.SoftwareRuanMeiPCMaster
call fcn.004177e7
push ebx
lea ecx, [ebp - 0x30]
call fcn.004f7115
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov esi, str.appstart
push esi
call fcn.004177e7
lea ecx, [ebp - 0x30]
call fcn.004e6c3f
cmp byte [0x735a64], 0
je 0x50ffc1
or eax, edi
jmp 0x50ffc4
and eax, 0xfffffffe
push eax
push ecx
mov ecx, esp
push esi
call fcn.004177e7
lea ecx, [ebp - 0x30]
call fcn.0050848c
cmp byte [0x735a64], 0
mov ecx, 0x6870d0
push edi
push ecx
mov eax, 0x68c308
cmove eax, ecx
mov ecx, esp
push eax
call fcn.004177e7
push ecx
mov ecx, esp
push 0x6b3e50
call fcn.004177e7
mov ecx, 0x736918
call fcn.004ef41e
lea ecx, [ebp - 0x30]
call fcn.00418dd0
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x18]
call fcn.00418dd0
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5505b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b7d6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x7286bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x10]
mov dword [edi + 0xc], 0
call fcn.0052a430
mov eax, dword [edi + 8]
mov dword [edi], vtable.CryptoPP::DL_GroupParametersImpl_class_CryptoPP::ModExpPrecomputation__class_CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer___class_CryptoPP::DL_GroupParameters_IntegerBased_.0
mov dword [edi + 4], vtable.CryptoPP::DL_GroupParametersImpl_class_CryptoPP::ModExpPrecomputation__class_CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer___class_CryptoPP::DL_GroupParameters_IntegerBased_.1.0
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
mov dword [eax + edi + 8], vtable.CryptoPP::DL_GroupParametersImpl_class_CryptoPP::ModExpPrecomputation__class_CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer___class_CryptoPP::DL_GroupParameters_IntegerBased_.2.0
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], 0
mov dword [edi + 0x28], vtable.CryptoPP::ModExpPrecomputation.0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x30]
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer_.0
call fcn.0052a430
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], 0
call fcn.0052a430
mov dword [esi + 0x38], 0
mov eax, edi
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5a2560
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6777b8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0xf0000000
push 1
push 0
push 0
push esi
mov dword [esi], 0
call edi
test eax, eax
jne 0x5a260b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push 1
push 0
push str.Crypto_RNG
push esi
mov ebx, eax
call edi
test eax, eax
jne 0x5a260b
push 0x28
push 1
push eax
push str.Crypto_RNG
push esi
call edi
test eax, eax
jne 0x5a260b
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.CryptAcquireContext
lea ecx, [ebp - 0x28]
call fcn.0041c804
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.005a2700
push 0x719164
lea eax, [ebp - 0x50]
push eax
call fcn.0060efe1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00609802
mov esp, ebp
pop ebp
ret
Function at 0x5c1367
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 8
call fcn.00609934
pop ecx
mov ecx, eax
test ecx, ecx
je 0x5c139d
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push ecx
push 0x5c266d
push 0
push 0
call fcn.00642434
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x5c13fc
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x28], 0
jne 0x5c147b
push ebx
push edi
lea ebx, [esi + 8]
mov dword [esi + 0x28], 1
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0x30], edi
jle 0x5c1434
mov eax, dword [esi + 0x2c]
push 0x1c
push dword [eax + edi*4]
call fcn.00609106
inc edi
pop ecx
pop ecx
cmp edi, dword [esi + 0x30]
jl 0x5c141f
lea ecx, [esi + 0x2c]
call fcn.005c2131
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
cmp dword [esi + 0x24], ebx
je 0x5c1468
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x24], ebx
cmp dword [esi + 0x20], ebx
je 0x5c1479
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], ebx
pop edi
pop ebx
pop esi
ret

Function at 0x5c1643
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 4
pop eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x20319
push esi
push str.SoftwareMicrosoftWindowsDWM
push SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5c167d
xor eax, eax
jmp 0x5c16b1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.ColorizationColor
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
xor edx, edx
push dword [ebp - 8]
test eax, eax
cmovne ecx, edx
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5c16c7
Capabilities:
Check os version

Disassembly:
push 0x130
mov eax, 0x67a458
call fcn.0060987e
mov eax, dword [0x73d980]
test eax, eax
jne 0x5c193f
push 0x118
xor edi, edi
lea eax, [ebp - 0x128]
push edi
push eax
call fcn.0060b7a0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x12c]
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
push eax
call esi
test eax, eax
jne 0x5c1739
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x114
push eax
call esi
test eax, eax
je 0x5c193f
xor esi, esi
inc esi
mov eax, esi
jmp 0x5c173c
xor esi, esi
inc esi
mov ebx, edi
test eax, eax
je 0x5c175c
mov al, byte [ebp - 0x12]
cmp al, 1
je 0x5c17e4
cmp al, 3
jne 0x5c17e4
mov ebx, esi
jmp 0x5c17e4
push ecx
mov ecx, esp
mov dword [ebp - 0x138], esp
push str.ProductType
call fcn.004177e7
push ecx
mov ecx, esp
mov dword [ebp - 4], edi
push str.SYSTEMCurrentControlSetControlProductOptions
call fcn.004177e7
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x130]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.005c1d6c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
add esp, 0x10
push dword [ebp - 0x130]
push str.WINNT
call esi
push dword [ebp - 0x130]
mov ebx, edi
push str.LANMANNT
call esi
push 1
pop ecx
push dword [ebp - 0x130]
test eax, eax
push str.SERVERNT
cmove ebx, ecx
call esi
mov ecx, dword [ebp - 0x130]
test eax, eax
push 1
pop esi
cmove ebx, esi
lea ecx, [ecx - 0x10]
call fcn.00419521
mov eax, dword [ebp - 0x11c]
push 2
pop edx
sub eax, edx
jne 0x5c1937
mov ecx, dword [ebp - 0x128]
cmp ecx, 5
jb 0x5c1935
mov eax, dword [ebp - 0x124]
jne 0x5c182e
test eax, eax
je 0x5c1935
cmp eax, esi
jne 0x5c181f
mov edi, edx
jmp 0x5c1937
cmp eax, edx
jne 0x5c1931
push 3
jmp 0x5c192e
cmp ecx, 6
jne 0x5c1923
test eax, eax
jne 0x5c1843
lea edi, [ebx + 5]
jmp 0x5c1937
cmp eax, esi
jne 0x5c184f
lea edi, [ebx + 7]
jmp 0x5c1937
cmp eax, edx
jne 0x5c1915
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
push str.CurrentVersion
lea edi, [ebx + 9]
call fcn.004177e7
push ecx
mov ecx, esp
mov dword [ebp - 4], esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
call fcn.004177e7
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x134]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
push eax
call fcn.005c1d6c
add esp, 0x10
push 0x68a7e4
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 2
call fcn.004229b4
push 0xd
pop esi
test eax, eax
jne 0x5c18b9
push 0xc
pop edi
jmp 0x5c18ce
push 0x68a7ec
lea ecx, [ebp - 0x134]
call fcn.004229b4
test eax, eax
cmove edi, esi
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
push str.CurrentMajorVersionNumber
call fcn.004177e7
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
call fcn.004177e7
push ebx
mov byte [ebp - 4], 2
call fcn.005c1e82
mov ecx, dword [ebp - 0x134]
add esp, 0xc
cmp eax, 0xa
cmove edi, esi
lea ecx, [ecx - 0x10]
call fcn.00419521
jmp 0x5c1937
cmp eax, 3
jne 0x5c191e
push 0xc
jmp 0x5c192e
cmp eax, 4
je 0x5c192c
cmp ecx, 0xa
jne 0x5c1931
test eax, eax
jne 0x5c1931
push 0xd
pop edi
jmp 0x5c1937
push 0xe
jmp 0x5c192e
mov edi, esi
mov dword [0x73d980], edi
mov eax, edi
call fcn.00609828
ret
Function at 0x5c1c7f
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x5c1ca2
or esi, 1
push 1
call edi
test ax, ax
jns 0x5c1cae
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x5c1cba
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x5c1cc6
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x5c1d6c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb4
mov eax, 0x67a49b
call fcn.0060987e
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc0], ebx
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0xb8]
push ecx
push 0x20019
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5c1e58
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0x208
push eax
lea eax, [ebp - 0xb0]
push eax
push ebx
push ebx
push esi
push dword [ebp - 0xb8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xb8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x5c1e58
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xb4]
call fcn.004177e7
mov eax, dword [ebp - 0xb4]
mov byte [ebp - 4], 2
cmp dword [eax - 0xc], ebx
jle 0x5c1e3c
add eax, 0xfffffff0
push eax
call fcn.00418dea
pop ecx
mov ecx, dword [ebp - 0xb4]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00419521
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
jmp 0x5c1e75
push 0x6809b0
mov ecx, edi
call fcn.004177e7
mov ecx, dword [ebp - 0xb4]
lea ecx, [ecx - 0x10]
call fcn.00419521
jmp 0x5c1e64
push 0x6809b0
mov ecx, edi
call fcn.004177e7
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov eax, edi
call fcn.00609828
ret

Function at 0x5c1e82
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x67a4d3
call fcn.0060984a
push 4
pop eax
xor esi, esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], esi
call fcn.005c1abc
test al, al
mov edx, 0x100
mov ecx, esi
lea eax, [ebp - 0x10]
push eax
cmovne ecx, edx
or ecx, 0x20019
push ecx
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5c1ef5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00419521
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00419521
mov eax, esi
call fcn.00609813
ret
Function at 0x5d27a3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x14c]
call fcn.005c1945
mov edi, dword [ebp + 8]
test eax, eax
jle 0x5d27ed
push ebx
lea ecx, [esi + 0x14c]
call fcn.005c0f1a
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
test al, al
jne 0x5d2878
lea ecx, [esi + 0x14c]
inc ebx
call fcn.005c1945
cmp ebx, eax
jl 0x5d27c2
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
push 0xfffffffffffffff0
push dword [edi]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi]
cmp dword [edi], ecx
je 0x5d281a
cmp ebx, ecx
jne 0x5d28ce
test eax, 0x40000000
je 0x5d28ce
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
sub eax, 0x100
je 0x5d28d9
sub eax, 4
je 0x5d287c
dec eax
sub eax, 1
jne 0x5d28ce
push edx
mov dword [ebp + 8], eax
call fcn.0063ccf0
pop ecx
mov ecx, dword [esi + 0x70]
lea edx, [ebp + 8]
push reloc.WS2_32.dll_sendto
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x5d4336
call dword [eax + 0x1d0]
mov esi, eax
test esi, esi
je 0x5d28ce
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1a8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov al, 1
jmp 0x5d28d0
cmp dword [esi + 0x74], 0
je 0x5d28ce
xor eax, eax
mov byte [ebp - 0x24], 0
push 8
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x20], 7
mov word [ebp - 0xc], dx
mov dword [ebp - 0x10], eax
call fcn.005c1c7f
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x74]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1dc]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edx, 9
jne 0x5d28ce
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x5d292e
mov eax, dword [ecx]
call dword [eax + 0x17c]
test al, al
je 0x5d292e
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x188]
test al, al
je 0x5d292e
mov ecx, dword [esi + 0x74]
push str.UIRichEdit
mov eax, dword [ecx]
call dword [eax + 8]
push eax
call fcn.0060f474
pop ecx
pop ecx
test eax, eax
je 0x5d292e
mov ecx, dword [esi + 0x74]
lea eax, [ecx - 8]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.005effc0
test al, al
jne 0x5d28ce
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.005d3a0c
jmp 0x5d2878
Function at 0x5d36f8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx]
je 0x5d371c
cmp esi, dword [ebx + 0x74]
je 0x5d371c
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0x74]
mov dword [ebp + 8], eax
cmp esi, eax
je 0x5d37e8
mov dword [ebx + 0x74], esi
push edi
test eax, eax
je 0x5d3776
push 8
pop ecx
xor eax, eax
mov byte [ebp - 0x24], 0
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x1a
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x1dc]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.killfocus
push edi
call fcn.005d31e3
cmp dword [ebx + 0x74], 0
je 0x5d37e7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
cmp eax, ebx
jne 0x5d37e7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
test al, al
je 0x5d37e7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x188]
test al, al
je 0x5d37e7
push 8
pop ecx
xor eax, eax
mov byte [ebp - 0x24], 0
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x1b
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x74]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1dc]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x74]
call fcn.005d31e3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5d57b8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 4
push ebx
mov esi, ecx
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
push 0
push edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5d58b4
lea ebx, [esi + 0x1c]
cmp dword [ebp - 4], 0
je 0x5d583c
mov edi, dword [ebp - 4]
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x5d5836
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 8]
call dword [eax + 4]
inc dword [ebp - 8]
test eax, eax
jne 0x5d5832
xor edi, edi
test edi, edi
jne 0x5d580c
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x5d58a3
test eax, eax
je 0x5d58b4
cmp dword [esi + 0x20], 0x10
jne 0x5d586e
mov eax, dword [ebp + 8]
cmp dword [ebx], eax
jne 0x5d586e
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
test eax, eax
jne 0x5d588d
push ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esi + 0x20], 0x12
je 0x5d58b4
push ebx
call fcn.005d5265
pop ecx
test eax, eax
je 0x5d58a3
and dword [ebp - 8], 0
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x5d5803
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x20], 0x12
jne 0x5d58d3
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esi + 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4