joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10063790
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x100638ad
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100638ad
mov eax, dword [esi + 0x3c]
push eax
call fcn.10098ad8
mov esi, eax
test esi, esi
je 0x100638ad
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x100638ad
mov ecx, esi
call fcn.10063700
cmp edi, eax
jge 0x100638ad
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x10063833
mov dword [esp + 0x34], 1
jmp 0x1006388e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x100638ad
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.10061f40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x1006af40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1006afb3
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1006afa8
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.10087dff
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x1007c0c0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x100a9d26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x1019e630]
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 + 0xac], ebx
call fcn.1009947c
cmp dword [0x101c7764], ebx
je 0x1007c130
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.1009706f
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0x1019e630]
push ebp
push edi
mov edi, 1
mov dword [0x101c7764], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x1007c159
mov dword [esp + 0x20], ebx
jmp 0x1007c160
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.1009b5c6
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], edx
call fcn.1009715c
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 0x1007c1be
mov dword [esp + 0x14], ebx
jmp 0x1007c1c5
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x1007c1df
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x1007c1d9
cmp eax, 2
jne 0x1007c1df
mov dword [esp + 0x18], edi
jmp 0x1007c1e3
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x1007c1f1
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.10098ab1
mov edi, eax
cmp edi, ebx
jne 0x1007c201
xor eax, eax
jmp 0x1007c204
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 0x1007c22c
mov ecx, esi
call fcn.1009b5c6
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x1007c244
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x101c7764], 0
test eax, eax
je 0x1007c26d
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x1007c26d
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.1009706f
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.1009706f
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x1007e170
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100a9f18
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.1009dccd
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.1007e0b0
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.1009dbfb
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 0x1007e237
cmp dword [esp + 0x40], 1
jne 0x1007e235
cmp ecx, eax
jge 0x1007e237
mov eax, ecx
cmp eax, 0x12c
jge 0x1007e243
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.1007e290
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.1009dd3f
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x10082560
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x100aa406
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x1019e630]
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 + 0xb0], ebx
call fcn.1009947c
mov edx, dword [0x1019e630]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x100825ba
mov dword [esp + 0x1c], ebx
jmp 0x100825c1
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.1009b5c6
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.1009715c
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x10082612
mov dword [esp + 0x14], ebx
jmp 0x10082619
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x10082634
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x1008262e
cmp eax, 2
jne 0x10082634
mov dword [esp + 0x18], edi
jmp 0x10082638
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x10082646
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.10098ab1
mov edi, eax
cmp edi, ebx
jne 0x10082656
xor eax, eax
jmp 0x10082659
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 0x10082681
mov ecx, esi
call fcn.1009b5c6
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 0x1008269d
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 0x100826bc
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x100826bc
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.1009706f
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.1009706f
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x10082840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100aa423
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.10098686
mov dword [esi], method.CButton.virtual_0
mov eax, dword [0x1019e630]
lea ecx, [esi + 0x44]
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [ecx], eax
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
push ebx
mov byte [esp + 0x30], 1
mov dword [esi], method.CButton.virtual_0
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], eax
call fcn.100971ac
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x50], edi
mov edi, dword [esp + 0x3c]
mov dword [esi + 0x48], 0x101c77c0
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 4]
mov edi, dword [edi + 8]
mov ebp, edx
sub ebp, eax
or ecx, 0x50000000
cmp ebp, 0x14
jle 0x100828e9
mov dword [esp + 0x18], eax
lea edx, [edi - 0x14]
add eax, 0x14
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
jmp 0x100828ff
mov ebp, edi
mov dword [esp + 0x1c], edi
sub ebp, edx
mov dword [esp + 0x18], eax
add ebp, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
lea eax, [esp + 0x18]
push edx
push eax
push ecx
push ebx
mov ecx, esi
call fcn.1009fbc5
test eax, eax
je 0x10082922
mov ecx, esi
call fcn.1009b6da
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x1c
Function at 0x10082d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100aa4d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
call fcn.10098686
mov dword [esi], method.CEdit.virtual_0
mov eax, dword [0x1019e630]
lea edi, [esi + 0x44]
mov dword [edi], eax
mov dword [esi + 0xac], ebx
mov dword [esi + 0xa8], 0x10182d1c
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xb8], 0x10182d10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1c], 4
push ecx
mov ecx, edi
mov dword [esi], method.CEdit.virtual_0
call fcn.1009715c
mov edx, dword [esp + 0x34]
mov dword [esi + 0x48], ebx
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
xor ecx, ecx
cmp ebx, 1
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x3c], edx
mov edx, dword [esp + 0x44]
mov dword [esi + 0x40], eax
setne cl
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x60], edx
mov edx, ecx
mov dword [esi + 0x64], ebx
lea eax, [esi + 0x50]
mov ebp, dword [edx]
mov dword [eax], ebp
mov ebp, dword [edx + 4]
mov dword [eax + 4], ebp
mov ebp, dword [edx + 8]
mov dword [eax + 8], ebp
mov edx, dword [edx + 0xc]
mov dword [esi + 0x68], 0
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
or eax, 0x50801084
push ebx
push ecx
push eax
mov ecx, esi
call fcn.1009fd9b
test eax, eax
je 0x10082f0d
mov eax, dword [ebx + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push eax
call ebx
push eax
call fcn.1009df60
test eax, eax
je 0x10082e35
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x1c]
push 1
push eax
push 0x30
push ecx
call ebx
mov edx, dword [esp + 0x3c]
mov ecx, esi
push edx
call fcn.1009b59f
mov ecx, esi
call fcn.1009b6da
mov ebp, dword [esp + 0x40]
lea eax, [ebp - 1]
cmp eax, 0x27
ja case.0x10082e67.4
xor ecx, ecx
mov cl, byte [eax + 0x10082f48]
jmp dword [ecx*4 + 0x10082f38]
mov edi, dword [edi]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0xffffffffffffffff
push ecx
push 0xb1
push edx
call ebx
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
jmp 0x10082f0b
mov edi, dword [edi]
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esi + 0x1c]
push 0xb1
push ecx
call ebx
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push edx
jmp 0x10082ef6
mov eax, dword [esi + 0x1c]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call ebx
push 0
push 0
push 0xb7
jmp 0x10082f07
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
push 0
push 0xb1
push edx
call ebx
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebx
push 0
push ebp
mov dword [esi + 0x68], 1
push 0x102
mov ecx, dword [esi + 0x1c]
push ecx
call ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1009706f
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x24
Function at 0x1009947c
Capabilities:
Get graphical window text

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

Function at 0x1009acf2
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 0x1009ad34
call fcn.100a1222
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1009ad34
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1009ad2b
xor eax, eax
jmp 0x1009ad3c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1009ad42
pop edi
pop esi
pop ebx
ret 4
Function at 0x13598b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x37b000]
push edi
or ebp, 0xffffffff
jmp 0x13598d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x13598d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x13598c8
mov eax, 1
add ebx, ebx
jne 0x13598eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x13598fc
jne 0x135991b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x135991b
dec eax
add ebx, ebx
jne 0x1359908
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x13598e0
add ebx, ebx
jne 0x1359917
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x135996d
xor ecx, ecx
sub eax, 3
jb 0x1359933
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x13599a2
sar eax, 1
mov ebp, eax
jmp 0x135993e
add ebx, ebx
jne 0x135993e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x135990c
inc ecx
add ebx, ebx
jne 0x135994c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x135990c
add ebx, ebx
jne 0x1359959
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x135994e
jne 0x135996a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x135994e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x135998c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x135997e
jmp 0x13598ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x135998c
add edi, ecx
jmp 0x13598ce
pop esi
mov edi, esi
mov ecx, 0x10f44
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x13599aa
cmp byte [edi], 0x24
jne 0x13599aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x13599af
lea edi, [esi + 0x4cf000]
mov eax, dword [edi]
or eax, eax
je 0x1359a1e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4fd7f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4fd964]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x13599dc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4fd96c]
or eax, eax
je 0x1359a18
mov dword [ebx], eax
add ebx, 4
jmp 0x13599f9
call dword [esi + 0x4fd968]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1359a4f
cmp al, 0xef
ja 0x1359a42
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1359a24
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1359a31
mov ebp, dword [esi + 0x4fd970]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1359a83
sub esp, 0xffffff80
jmp 0x11c9b84
Function at 0x100f1ab
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [0x10414b4], ebx
jne 0x100f1bf
xor eax, eax
jmp 0x100f220
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
call esi
mov edi, 0x8000
mov ecx, edi
test cx, ax
je 0x100f1da
xor ebx, ebx
inc ebx
push 0x11
call esi
mov ecx, edi
test cx, ax
je 0x100f1e8
or ebx, 2
push 0x12
call esi
test di, ax
je 0x100f1f4
or ebx, 4
mov edx, dword [0x104140c]
xor eax, eax
test edx, edx
jle 0x100f21c
mov ecx, dword [0x10414b4]
mov esi, ecx
cmp dword [esi + 4], ebx
jne 0x100f214
mov edi, dword [esi]
cmp edi, dword [ebp + 8]
je 0x100f225
inc eax
add esi, 0xc
cmp eax, edx
jl 0x100f208
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
imul eax, eax, 0xc
mov eax, dword [eax + ecx + 8]
mov ecx, dword [0x10414c4]
push dword [ecx + eax*4 + 4]
call fcn.0100916e
xor eax, eax
inc eax
jmp 0x100f21e
Function at 0x100fb69
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
test esi, esi
je 0x100fd13
movzx eax, word [esi]
test ax, ax
jl 0x100fd13
cmp ax, word [esi + 2]
jge 0x100fd13
mov ecx, dword [ebp + 8]
cwde
imul eax, eax, 0x16
mov dword [eax + esi + 0x10], ecx
movsx eax, word [esi]
mov ecx, dword [ebp + 0xc]
inc eax
imul eax, eax, 0x16
mov dword [eax + esi], ecx
movsx eax, word [esi]
mov ecx, dword [ebp + 0x10]
imul eax, eax, 0x16
push ebx
push edi
push 0x26
push dword [ebp + 0x14]
mov dword [eax + esi + 0x1a], ecx
call fcn.0100bd56
mov ebx, eax
test ebx, ebx
je 0x100fcd3
cmp dword [0x104382c], 0
je 0x100fcbb
push dword [ebp + 0x14]
call fcn.0103232b
push dword [0x1043828]
mov dword [ebp + 0xc], eax
push dword [ebp + 0x14]
call dword [sym.imp.msvcrt.dll_strstr]
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
mov edi, eax
jne 0x100fc12
push dword [0x10413bc]
push 1
push 0x1004768
call fcn.0103d72e
push 0xe
call dword [sym.imp.msvcrt.dll_exit]
test edi, edi
je 0x100fc3a
inc edi
push edi
mov byte [edi], 0x26
lea ebx, [edi + 1]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
dec eax
push eax
add edi, 3
push edi
push ebx
call dword [sym.imp.msvcrt.dll_memmove]
movzx eax, byte [ebx]
add esp, 0xc
jmp 0x100fc3e
movzx eax, byte [ebx + 1]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
movsx ecx, word [esi]
imul ecx, ecx, 0x16
mov word [ecx + esi + 0x14], ax
push dword [0x104382c]
push dword [ebp + 0x14]
call dword [sym.imp.msvcrt.dll_strstr]
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100fc80
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, 3
push eax
lea eax, [edi + 4]
push eax
push edi
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100fca4
test dl, dl
je 0x100fca0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100fca4
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x100fc86
xor eax, eax
jmp 0x100fca9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100fce0
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x100fce0
movzx eax, byte [ebx + 1]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
movsx ecx, word [esi]
imul ecx, ecx, 0x16
mov word [ecx + esi + 0x14], ax
jmp 0x100fce0
movsx eax, word [esi]
imul eax, eax, 0x16
xor ecx, ecx
mov word [eax + esi + 0x14], cx
push dword [ebp + 0x14]
lea edi, [esi + 4]
push edi
call fcn.0100f81a
movsx ecx, word [esi]
push dword [ebp + 0x18]
imul ecx, ecx, 0x16
push edi
mov dword [ecx + esi + 8], eax
call fcn.0100f81a
movsx ecx, word [esi]
imul ecx, ecx, 0x16
mov dword [ecx + esi + 0xc], eax
inc word [esi]
xor eax, eax
pop edi
inc eax
pop ebx
jmp 0x100fd15
xor eax, eax
pop ebp
ret 0x14
Function at 0x10105c2
Capabilities:
Encrypt data using rc4 prga
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, eax
push 0x26
push ebx
call fcn.0100bd56
cmp dword [ebp + 8], 0
mov esi, eax
je 0x10106a7
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
test esi, esi
jne 0x1010605
push ebx
call edi
inc eax
push eax
lea eax, [ebx + 1]
push ebx
push eax
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
mov byte [ebx], 0x26
mov esi, ebx
mov ebx, dword [sym.imp.USER32.dll_VkKeyScanA]
lea eax, [esi + 1]
mov dword [ebp - 0xc], eax
movzx eax, byte [eax]
push eax
mov dword [ebp - 0x10], esi
call ebx
mov edx, dword [ebp + 8]
and dword [ebp - 8], 0
xor ecx, ecx
cmp cx, word [edx]
movzx eax, ax
jge 0x10106a6
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
imul ecx, ecx, 0x16
mov cl, byte [ecx + edx + 0x14]
xor cl, al
jne 0x101067e
push esi
call edi
push dword [ebp - 4]
inc eax
push eax
push esi
call fcn.0100e041
inc esi
inc dword [ebp - 4]
cmp byte [esi], 0
je 0x101068e
push esi
call edi
inc eax
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_memmove]
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
add esp, 0xc
push eax
mov byte [esi], 0x26
call ebx
or dword [ebp - 8], 0xffffffff
movzx eax, ax
mov ecx, dword [ebp + 8]
movsx ecx, word [ecx]
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x1010631
jmp 0x10106a6
mov esi, dword [ebp - 0x10]
push esi
call edi
inc eax
push eax
push esi
push dword [ebp - 0xc]
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
mov byte [esi], 0x26
pop edi
pop esi
pop ebx
leave
ret 4