joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4202bb
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x14
mov eax, 0x4a85a7
call fcn.00471cf0
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call fcn.0040c756
pop ecx
push eax
push 0x4abc54
push 1
push esi
push 0x4b1794
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
cmp ebx, esi
jl 0x420419
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
lea esi, [edi + 4]
mov eax, dword [esi]
push eax
push ecx
call dword [edx + 0x50]
mov ebx, eax
test ebx, ebx
jl 0x420419
push esi
lea ecx, [ebp - 0x18]
call fcn.0040b6c4
push 0x5c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0041e168
xor esi, esi
cmp eax, esi
jle 0x420364
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.00416730
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004168eb
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040b453
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], esi
jle 0x420376
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x4b1c84
push eax
mov byte [ebp - 4], 3
call dword [ecx]
mov ebx, eax
cmp ebx, esi
jl 0x4203fd
push edi
lea ecx, [ebp - 0x14]
call fcn.0040b6c4
push 0x5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0041e168
cmp eax, esi
jle 0x4203e2
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.00416730
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004168eb
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.0040b453
push dword [ebp - 0x14]
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edi, dword [edi]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 1
push edi
push eax
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov ebx, eax
call fcn.0040b453
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x42040e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040b453
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x42042a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
call fcn.00471dc8
ret

Function at 0x421256
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
mov esi, ecx
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x20], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x18], eax
lea eax, [esi + 0x1c]
push eax
push ebx
push esi
push 0x421244
push ebx
push ebx
call fcn.00477653
mov dword [esi + 0x14], eax
mov esi, dword [esi + 0x18]
add esp, 0x18
cmp esi, ebx
je 0x4212a9
push 1
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebx
ret
Function at 0x421dc5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x421dd0
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x421e8b
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4af400]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4af400]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4af400]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4af400]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4af400]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4af400]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4af400]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4af400]
inc edx
sub edi, 8
dec esi
jne 0x421df0
pop ebx
test edi, edi
je 0x421ea4
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4af400]
inc edx
dec edi
jne 0x421e8f
pop edi
not eax
pop esi
ret

Function at 0x422352
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x422386
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x422381
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4223ae
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x422397
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00472050
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x424712
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x42478f
cmp dword [ebx + 4], 0xffffffff
jne 0x42478f
push esi
push edi
lea edi, [ebx + 0x138]
push edi
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4ab9cc
push esi
push edi
call fcn.004246a2
cmp dword [ebp + 0x10], 1
pop edi
pop esi
jne 0x424761
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x424761
mov eax, 0x2000000
jmp 0x424794
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00422168
add esp, 0x10
test eax, eax
jne 0x42477f
mov eax, dword [ebp + 0x10]
jmp 0x424794
push eax
call fcn.00424195
mov dword [ebx], eax
mov eax, dword [0x4d7810]
pop ecx
jmp 0x424794
mov eax, 0x1000000
pop ebx
pop ebp
ret 0xc
Function at 0x424b99
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4d4218]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x424c4b
movzx ecx, word [esi]
test cx, cx
je 0x424c4b
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x424bdb
cmp cx, 0x5c
jne 0x424bdd
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x424bcf
push edi
cmp eax, esi
je 0x424c1a
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004780de
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00424b99
add esp, 0x14
push ebx
mov edi, 0x208
push edi
lea eax, [ebp - 0x414]
push eax
call fcn.0042466f
push esi
push edi
lea eax, [ebp - 0x414]
push eax
call fcn.004246a2
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004717cc
leave
ret
Function at 0x42691d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x426928
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x4269e3
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4afee0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4afee0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4afee0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4afee0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4afee0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4afee0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4afee0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4afee0]
inc edx
sub edi, 8
dec esi
jne 0x426948
pop ebx
test edi, edi
je 0x4269fc
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4afee0]
inc edx
dec edi
jne 0x4269e7
pop edi
not eax
pop esi
ret

Function at 0x426c2d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x18], edi
je 0x426ce7
mov eax, dword [esi + 0x1c]
mov ebx, dword [ebp + 0xc]
lea ecx, [ebx + eax]
mov eax, dword [esi + 0x20]
cmp ecx, eax
jb 0x426ccd
add eax, eax
mov dword [ebp - 4], eax
cmp eax, ecx
ja 0x426c5d
mov dword [ebp - 4], ecx
push edi
push dword [ebp - 4]
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
cmp ebx, edi
jne 0x426c7d
mov eax, 0x300
jmp 0x426d10
push dword [ebp - 4]
push edi
push edi
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x426c9d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x426c73
push dword [esi + 0x20]
push dword [esi + 0x18]
push edi
call fcn.00472050
add esp, 0xc
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [esi + 4], ebx
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
mov dword [esi + 0x18], edi
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x18]
push ebx
push dword [ebp + 8]
push eax
call fcn.00472050
add esp, 0xc
add dword [esi + 0x1c], ebx
mov eax, ebx
jmp 0x426d10
mov eax, dword [esi]
cmp eax, edi
je 0x426d07
push edi
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
jmp 0x426d10
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x426d6a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x64]
push edi
test ecx, ecx
je 0x426db4
mov eax, dword [esi + 0x6c]
mov edi, dword [esi + 0x68]
cmp eax, edi
jae 0x426df0
sub edi, eax
cmp edi, dword [ebp + 0xc]
jbe 0x426d8c
mov edi, dword [ebp + 0xc]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00472050
add dword [esi + 0x6c], edi
add dword [esi + 0x54], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x58]
call fcn.0042691d
add esp, 0x18
mov dword [esi + 0x58], eax
mov eax, edi
jmp 0x426df2
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x426de9
push 0
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x426df0
mov edi, dword [ebp + 0xc]
add dword [esi + 0x54], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x58]
call fcn.0042691d
add esp, 0xc
jmp 0x426dad
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebp
ret 8

Function at 0x427714
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
push 7
pop ecx
lea eax, [edi - 1]
cmp ecx, eax
sbb al, al
inc al
push str.bad_pack_level
push eax
push esi
call fcn.00425564
xor ebx, ebx
lea ecx, [esi + 0x6af70]
add esp, 0xc
lea eax, [esi + 0x6af78]
mov dword [eax], ebx
cmp dword [ecx], ebx
jne 0x42775a
mov dword [eax], 1
mov dword [ecx], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push ebx
push eax
mov dword [esi + 0x6af6c], ebx
call fcn.00472400
mov eax, edi
shl eax, 3
movzx ecx, word [eax + 0x4afe92]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax + 0x4afe90]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax + 0x4afe94]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax + 0x4afe96]
add esp, 0xc
cmp edi, 2
mov dword [esi + 0x6af94], eax
jg 0x4277bd
mov eax, dword [esp + 0x18]
or word [eax], 4
jmp 0x4277ca
cmp edi, 8
jl 0x4277ca
mov eax, dword [esp + 0x18]
or word [eax], 2
push 0x10000
lea edi, [esi + 0x1af70]
push edi
push esi
mov dword [esi + 0x6af84], ebx
mov dword [esi + 0x6af74], ebx
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, ebx
je 0x427834
cmp eax, 0xffffffff
je 0x427834
mov dword [esi + 0x6af8c], ebx
cmp eax, 0x106
jae 0x42780c
push esi
call fcn.00426028
pop ecx
mov dword [esi + 0x6af7c], ebx
movzx eax, byte [edi + ebx]
mov ecx, dword [esi + 0x6af7c]
shl ecx, 5
xor eax, ecx
and eax, 0x7fff
inc ebx
mov dword [esi + 0x6af7c], eax
cmp ebx, 2
jb 0x427812
jmp 0x427844
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4282f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x428507
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x42836c
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x4283ad
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x4283ad
mov ecx, dword [esi + 0x6af90]
lea eax, [esi + 0x6afa0]
cmp dword [eax], ecx
jbe 0x428394
mov dword [eax], ecx
push dword [ebp - 4]
push esi
call fcn.00425e66
mov ebx, eax
mov eax, dword [esi + 0x6af90]
pop ecx
pop ecx
cmp ebx, eax
jbe 0x4283ad
mov ebx, eax
cmp ebx, 3
jb 0x428481
lea eax, [ebx - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.00425947
sub dword [esi + 0x6af90], ebx
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x42843f
cmp eax, 3
jb 0x42843f
dec ebx
inc dword [esi + 0x6af84]
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [esi + ecx + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
dec ebx
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x4283ed
jmp 0x4284a4
add dword [esi + 0x6af84], ebx
mov eax, dword [esi + 0x6af84]
lea ecx, [eax + esi]
movzx eax, byte [ecx + 0x1af70]
lea edx, [esi + 0x6af7c]
mov dword [edx], eax
movzx ecx, byte [ecx + 0x1af71]
shl eax, 5
push str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
xor ecx, eax
and ecx, edi
push 1
push esi
xor ebx, ebx
mov dword [edx], ecx
call fcn.00425564
add esp, 0xc
jmp 0x4284aa
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push 0
push esi
call fcn.00425947
add esp, 0xc
dec dword [esi + 0x6af90]
mov dword [ebp + 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp + 8], 0
je 0x4284e6
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x4284c3
lea ecx, [eax + esi + 0x1af70]
jmp 0x4284c5
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.00428146
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x4284f9
push esi
call fcn.00426028
pop ecx
cmp dword [esi + 0x6af90], 0
jne 0x42831c
pop edi
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x42851a
lea ecx, [eax + esi + 0x1af70]
jmp 0x42851c
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.00428146
add esp, 0x10
pop esi
pop ebx
leave
ret
Function at 0x429002
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
lea ebp, [esp - 0x7fc]
sub esp, 0x87c
mov eax, dword [0x4d4218]
xor eax, ebp
mov dword [ebp + 0x7f8], eax
mov eax, dword [ebp + 0x808]
push ebx
mov ebx, dword [ebp + 0x80c]
push esi
push edi
mov edi, dword [ebp + 0x804]
mov dword [ebp - 0x78], eax
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp + 0x3e8], ax
lea eax, [ebp + 0x3ea]
push eax
mov dword [ebp - 0x80], edi
call fcn.00472400
add esp, 0xc
test ebx, ebx
je 0x42906b
push 4
push 0
push 0
push ebx
push edi
call fcn.00428ec2
add esp, 0x14
push dword [ebp - 0x78]
lea eax, [ebp + 0x3e8]
push eax
call fcn.0047857f
mov edi, 0x4ab9cc
lea eax, [ebp + 0x3e8]
push edi
push eax
call fcn.00478551
lea eax, [ebp + 0x3e8]
push ebx
push eax
call fcn.00478551
lea eax, [ebp + 0x3e8]
push 0x4b04b8
push eax
call fcn.00478551
add esp, 0x20
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x3e8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
jne 0x4290e0
xor eax, eax
mov ecx, dword [ebp + 0x7f8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004717cc
add ebp, 0x7fc
leave
ret
mov byte [ebp - 0x71], 1
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x429217
lea eax, [ebp - 0x44]
push 0x4b04b4
push eax
call fcn.00472016
pop ecx
pop ecx
test eax, eax
je 0x429226
lea eax, [ebp - 0x44]
push 0x4b04ac
push eax
call fcn.00472016
pop ecx
pop ecx
test eax, eax
je 0x429226
xor eax, eax
push esi
push eax
mov word [ebp + 0x5f0], ax
lea eax, [ebp + 0x5f2]
push eax
call fcn.00472400
test byte [ebp - 0x70], 0x10
push ebx
lea eax, [ebp + 0x5f0]
push eax
je 0x429192
call fcn.00478551
lea eax, [ebp + 0x5f0]
push edi
push eax
call fcn.00478551
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x5f0]
push eax
call fcn.00478551
lea eax, [ebp + 0x5f0]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x80]
call fcn.00429002
add esp, 0x30
test eax, eax
je 0x4290c6
jmp 0x429226
call fcn.0047857f
lea eax, [ebp + 0x5f0]
push edi
push eax
call fcn.00478551
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x5f0]
push eax
call fcn.00478551
xor eax, eax
push esi
push eax
mov word [ebp + 0x1e0], ax
lea eax, [ebp + 0x1e2]
push eax
call fcn.00472400
push dword [ebp - 0x78]
lea eax, [ebp + 0x1e0]
push eax
call fcn.00478551
lea eax, [ebp + 0x5f0]
push eax
lea eax, [ebp + 0x1e0]
push eax
call fcn.00478551
add esp, 0x40
push 2
push 0
lea eax, [ebp + 0x1e0]
push eax
lea eax, [ebp + 0x5f0]
push eax
push dword [ebp - 0x80]
call fcn.00428ec2
add esp, 0x14
test eax, eax
jne 0x4290c6
jmp 0x429226
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x429235
mov byte [ebp - 0x71], 0
cmp byte [ebp - 0x71], 0
jne 0x4290e4
xor esi, esi
inc esi
jmp 0x429237
xor esi, esi
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
jmp 0x4290c8
Function at 0x42b970
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x42b986
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x42b992
or edi, 1
push 1
call esi
test ax, ax
jge 0x42b99e
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x42b9aa
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x42b9b6
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x42dd4c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x42dd7a
cmp ebx, dword [esi + 0x50]
je 0x42dd7a
cmp byte [esi + 0xb4], 0
jne 0x42dd7a
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x50]
cmp ebx, eax
je 0x42de3c
push edi
test eax, eax
je 0x42ddcd
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x50]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xfc]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x50]
mov ecx, esi
call fcn.0042d566
mov dword [esi + 0x50], edi
test ebx, ebx
je 0x42de3b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x42de3b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc4]
test al, al
je 0x42de3b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd0]
test al, al
je 0x42de3b
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x50], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x50]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xfc]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x50]
mov ecx, esi
call fcn.0042d566
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42e048
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xd0]
mov ecx, edi
xor ebx, ebx
call fcn.0042a637
test eax, eax
jle 0x42e097
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call fcn.0042a657
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x42e0f8
mov ecx, edi
inc ebx
call fcn.0042a637
cmp ebx, eax
jl 0x42e066
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x42e151
sub eax, 4
je 0x42e0fc
dec eax
dec eax
jne 0x42e148
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.004790ae
pop ecx
mov ecx, dword [esi + 0x4c]
push 0x8000000a
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x42ce60
call dword [eax + pe_nt_image_headers32]
mov esi, eax
test esi, esi
je 0x42e148
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x42e14a
cmp dword [esi + 0x50], 0
je 0x42e148
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.0042b970
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x50]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xfc]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x42e148
cmp dword [esi + 0x50], 0
je 0x42e1a0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
call dword [eax + 0xc4]
test al, al
je 0x42e1a0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
call dword [eax + 0xd0]
test al, al
je 0x42e1a0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.00477c57
pop ecx
pop ecx
test eax, eax
je 0x42e1a0
mov ecx, dword [esi + 0x50]
call fcn.0044a8be
test al, al
jne 0x42e148
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
mov ecx, esi
call fcn.0042defc
jmp 0x42e0f8