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

Disassembly:
push 0xffffffffffffffff
push 0x749656
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [0x11c3698]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.007345e6
cmp dword [0x11fcdc8], ebx
je 0x68a4f0
lea ecx, [esp + 8]
mov dword [esp + 0xac], 0xffffffff
call fcn.0073219d
pop esi
pop ebx
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
add esp, 0xa8
ret
mov edx, dword [0x11c3698]
push ebp
push edi
mov edi, 1
mov dword [0x11fcdc8], edi
mov dword [esp + 0x40], edx
lea eax, [esp + 0x20]
mov byte [esp + 0xb4], 1
push eax
call fcn.006767a0
add esp, 4
cmp esi, ebx
jne 0x68a526
mov dword [esp + 0x20], ebx
jmp 0x68a52d
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, esi
call fcn.00736854
mov edx, dword [esi + 0x84]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x88]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.0073228a
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x68a58b
mov dword [esp + 0x14], ebx
jmp 0x68a592
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x68a5ac
mov eax, dword [eax + 0x3d0]
cmp eax, edi
je 0x68a5a6
cmp eax, 2
jne 0x68a5ac
mov dword [esp + 0x18], edi
jmp 0x68a5b0
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x68a5be
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00733c1b
mov edi, eax
cmp edi, ebx
jne 0x68a5ce
xor eax, eax
jmp 0x68a5d1
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x68a5f9
mov ecx, esi
call fcn.00736854
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [edi + 0x1c]
push 0x4e
push eax
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x68a611
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x11fcdc8], 0
test eax, eax
je 0x68a63a
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x68a63a
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb4], 0
call fcn.0073219d
lea ecx, [esp + 0x10]
mov dword [esp + 0xb4], 0xffffffff
call fcn.0073219d
mov ecx, dword [esp + 0xac]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x68c5c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x749848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00738fcf
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.0068c500
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00738efd
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x68c687
cmp dword [esp + 0x40], 1
jne 0x68c685
cmp ecx, eax
jge 0x68c687
mov eax, ecx
cmp eax, 0x12c
jge 0x68c693
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.0068c6e0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00739041
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x692220
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x749e46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [0x11c3698]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb4], ebx
call fcn.007345e6
mov edx, dword [0x11c3698]
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x1c]
mov byte [esp + 0xb0], 1
push eax
call fcn.006767a0
add esp, 4
cmp esi, ebx
jne 0x692287
mov dword [esp + 0x1c], ebx
jmp 0x69228e
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x1c], ecx
push edi
mov ecx, esi
call fcn.00736854
mov edx, dword [esi + 0x3c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x40]
mov edi, 1
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.0073228a
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x6922df
mov dword [esp + 0x14], ebx
jmp 0x6922e6
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x692301
mov eax, dword [eax + 0x3d0]
cmp eax, edi
je 0x6922fb
cmp eax, 2
jne 0x692301
mov dword [esp + 0x18], edi
jmp 0x692305
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x692313
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00733c1b
mov edi, eax
cmp edi, ebx
jne 0x692323
xor eax, eax
jmp 0x692326
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x69234e
mov ecx, esi
call fcn.00736854
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x69236a
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x692389
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x692389
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 0
call fcn.0073219d
lea ecx, [esp + 0xc]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0073219d
mov ecx, dword [esp + 0xa8]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x693ac0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x693b26
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x693b26
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x693b07
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x693eb0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x693ee8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x694b20
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x694b69
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x694fe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x74a1f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00694b90
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00694c10
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00694c10
lea ecx, [esi + 0xc]
call fcn.00732128
lea ecx, [esi + 0x10]
call fcn.00732128
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00696010
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00696010
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00696010
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0073219d
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0073219d
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x69cf40
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x10]
push eax
push ecx
push esi
mov byte [esi + 0x40], 1
call fcn.0071e868
mov al, byte [esi + 0x40]
add esp, 0xc
test al, al
je 0x69cf7a
lea edi, [esi + 0x20]
push 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jg 0x69cf7a
mov byte [edi], 0x30
mov byte [esi + 0x21], 0
mov eax, esi
pop edi
pop esi
ret 8

Function at 0x69d130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov edi, dword [0x1215d3c]
test edi, edi
jne 0x69d166
lea eax, [esp + 0x1c]
push 0x1c
push eax
push 0x69d2a0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov ecx, dword [esp + 0x20]
neg eax
sbb eax, eax
and eax, ecx
mov edi, eax
push 0x11b086c
push str.E2EE_IDR_DLL
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x69d18a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
jne 0x69d1a9
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x28
ret
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], ebp
jne 0x69d1c8
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x28
ret
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
jne 0x69d1e6
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x28
ret
mov ebx, dword [esp + 0x3c]
push ebx
push esi
push edi
call fcn.0069d2d0
add esp, 0xc
test al, al
jne 0x69d28a
mov eax, dword [ebx + 8]
mov ebp, esi
shr ebp, 6
inc ebp
shl ebp, 6
cmp ebp, eax
jbe 0x69d269
mov ecx, dword [ebx]
push ebp
mov dword [esp + 0x40], ecx
call fcn.0071d387
mov ecx, ebp
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x69d251
mov esi, dword [esp + 0x3c]
mov edi, dword [ebx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x69d262
push eax
call fcn.0071d29e
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [ebx + 8], ebp
mov ecx, dword [ebx]
mov dword [ebx + 4], esi
mov ebp, dword [esp + 0x18]
mov byte [ecx + esi], 0
mov ecx, esi
mov edx, ecx
mov esi, edi
mov edi, dword [ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
Function at 0x69d510
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0xc], bl
je 0x69d580
mov eax, dword [esi + 4]
sub eax, ebx
je 0x69d57d
dec eax
je 0x69d551
dec eax
jne 0x69d57d
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x69d57d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp eax, 1
jne 0x69d57d
mov byte [esi + 0xd], bl
mov dword [esi + 8], ebx
mov dword [esi + 4], 0xffffffff
mov byte [esi + 0xc], bl
mov byte [esi + 0xd], bl
pop esi
pop ebx
ret
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x69d57d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp eax, 1
jne 0x69d57d
lea eax, [esi + 0xd]
mov dword [esi + 8], ebx
push eax
mov byte [eax], bl
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 4], 0xffffffff
mov byte [esi + 0xc], bl
mov byte [esi + 0xd], bl
pop esi
pop ebx
ret

Function at 0x69d590
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [esp + 0xc]
mov edi, esi
push ecx
or ecx, 0xffffffff
xor eax, eax
push 0x11b0870
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, esi
push ecx
call fcn.0071e868
add esp, 0xc
mov eax, esi
pop edi
pop esi
ret 0xc

Function at 0x69d5d0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0xc]
test al, al
je 0x69d629
mov eax, dword [esi + 4]
push ebx
xor edi, edi
xor bl, bl
sub eax, edi
je 0x69d694
dec eax
je 0x69d66d
dec eax
jne 0x69d620
mov eax, dword [esi + 8]
cmp eax, edi
je 0x69d694
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp eax, 1
jne 0x69d694
mov dword [esi + 8], edi
mov byte [esi + 0xd], 0
mov bl, al
mov dword [esi + 4], 0xffffffff
mov byte [esi + 0xc], 0
test bl, bl
mov byte [esi + 0xd], 0
pop ebx
je 0x69d698
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 8], eax
je 0x69d698
or ecx, 0xffffffff
xor eax, eax
mov byte [esi + 0xc], 1
mov dword [esi + 4], 2
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esi + 0xd]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret 4
mov eax, dword [esi + 8]
cmp eax, edi
je 0x69d694
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp eax, 1
jne 0x69d694
lea eax, [esi + 0xd]
mov dword [esi + 8], edi
push eax
mov bl, 1
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x69d615
xor bl, bl
jmp 0x69d620
pop edi
xor al, al
pop esi
ret 4
Function at 0x69d6a0
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
xor bl, bl
mov al, byte [esi + 0xc]
test al, al
je 0x69d6e9
mov eax, dword [esi + 4]
sub eax, 0
je 0x69d72b
dec eax
je 0x69d6ee
dec eax
jne 0x69d6e5
mov eax, dword [esi + 8]
test eax, eax
je 0x69d72b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp eax, 1
jne 0x69d72b
mov byte [esi + 0xd], bl
mov dword [esi + 8], 0
mov bl, al
mov dword [esi + 4], 0xffffffff
mov byte [esi + 0xc], 0
mov byte [esi + 0xd], 0
mov al, bl
pop esi
pop ebx
ret
mov eax, dword [esi + 8]
test eax, eax
je 0x69d72b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp eax, 1
jne 0x69d72b
lea eax, [esi + 0xd]
mov dword [esi + 8], 0
push eax
mov bl, 1
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 4], 0xffffffff
mov byte [esi + 0xc], 0
mov byte [esi + 0xd], 0
mov al, bl
pop esi
pop ebx
ret
xor bl, bl
mov byte [esi + 0xd], bl
mov al, bl
pop esi
pop ebx
ret

Function at 0x6c5fc0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
jle 0x6c5fec
mov ecx, dword [esp + 8]
push ebx
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx]
mov bl, byte [edx + 0x1178ef4]
lea edx, [eax*8]
xor ebx, edx
xor eax, ebx
inc ecx
dec esi
jne 0x6c5fd0
pop ebx
pop esi
ret
Function at 0x6f6db0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x6f6dfc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x6f6dfc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x6f6de6
push eax
call ebp
test ax, ax
jl 0x6f6df4
inc esi
add edi, 4
cmp esi, 6
jb 0x6f6dd8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.006f6ab0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x6faae0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x6fab40
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x6fab40
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x6fab40
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x6fab40
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x6fab50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x706a20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x122a59c]
xor edx, edx
cmp eax, edx
jne 0x706a46
xor eax, eax
mov byte [eax + 0x122a49c], al
inc eax
cmp eax, 0x100
jl 0x706a2e
mov dword [0x122a59c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x122a49c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x706ad7
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 0x706aaa
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 0x706a78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x706ae0
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 0x706b33
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 0x706b1a
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 0x70d4f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x74b3ae
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.0070de10
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x117e124
call fcn.00731ede
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x70d583
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00731ede
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x70d57c
push 0
mov ecx, eax
call fcn.00704660
mov dword [esi + 0xc], eax
jmp 0x70d585
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x70d585
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 0x71f46d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x71f48d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0071df4a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x71f4b0
test byte [esp + 8], 2
je 0x71f4b0
call fcn.0071dfbd
mov dword [eax], 0xd
call fcn.0071dfc6
mov dword [eax], 5
jmp 0x71f489
xor eax, eax
ret

Function at 0x7345e6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x73461e
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.007325f8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.007325d0
jmp 0x73462a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x735f63
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 0x735fa5
call fcn.0073caa6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x735fa5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x735f9c
xor eax, eax
jmp 0x735fad
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00735fb3
pop edi
pop esi
pop ebx
ret 4

Function at 0x73cfd6
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 0x73d004
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x73d022
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0073cf3c
jmp 0x73d022
mov eax, dword [esi + 0x14]
test eax, eax
je 0x73d022
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0073cf3c
test edi, edi
mov eax, edi
jne 0x73d00c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x73f971
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x73f999
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x73f9aa
push 2
call edi
test ax, ax
jge 0x73f9aa
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00733c1b
cmp dword [esi + 0x30], ebx
jne 0x73fa84
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00733c1b
cmp eax, dword [esp + 0x34]
jne 0x73fa84
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x73fa20
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x73fa65
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x73fa84
cmp eax, 0x205
je 0x73fa84
cmp eax, 0x201
je 0x73fa84
cmp eax, 0x204
je 0x73fa84
cmp eax, ebx
jne 0x73fa4b
cmp dword [esp + 0x1c], 0x1b
je 0x73fa84
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x123c0a0]
jbe 0x73fa7a
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x73f9dd
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4