joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406fc8
Capabilities:
Access peb ldr_data
Create thread
Get kernel32 base address

Disassembly:
push ebx
push esi
push edi
mov eax, 0x1a1
cmp eax, 0x24
ja 0x406fd7
call 0x8566fb2
jo 0x40701e
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
add byte [ebx + ecx*4 + 0x3d], ah
xor byte [eax], al
add byte [eax], al
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x459e0c], eax
sub eax, eax
je 0x406ffc
jmp 0xa97b58f2
call 0x40193b
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteAce]
push 8
call fcn.00409abb
push 4
mov esi, eax
call fcn.00409abb
lea edi, [esi + 4]
push edi
push ebx
push eax
push 0x407952
push ebx
push ebx
mov dword [eax], 0x406d8b
call fcn.0040e511
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x407072
cmp dword [edi], ebx
jne 0x407044
push 1
jmp 0x407076
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi], eax
jne 0x407051
push 5
jmp 0x407076
push ebx
push dword [esi + 4]
push dword [esi]
call fcn.004095b1
add esp, 0xc
test eax, eax
je 0x407067
push 2
jmp 0x407076
pop edi
mov dword [esi], ebx
xor eax, eax
mov dword [esi + 4], ebx
pop esi
pop ebx
ret
mov dword [edi], ebx
push 6
call fcn.00407abf
int3

Function at 0x408b4f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x408b70
jl 0x408b67
test edi, edi
jne 0x408b70
xor eax, eax
xor edx, edx
jmp 0x408c31
cmp dword [ebx + 0x38], 0
je 0x408b85
push eax
push edi
push dword [ebp + 8]
call fcn.00408c37
jmp 0x408c31
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x408bcc
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x408bcc
cmp eax, edi
jb 0x408ba6
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040a920
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x408bd2
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x408c26
mov ecx, ebx
call fcn.004083b7
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x408c11
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0041119d
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x408c26
jmp 0x408be4
test edx, edx
je 0x408c26
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0041119d
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x419882
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004196f3

Function at 0x419c7c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a870
mov eax, dword [0x435018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004184a8
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x419cbe
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x419e1a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425f30
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x459ae0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041ac73
mov ecx, dword [esi*4 + 0x459ae0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x419e13
cmp eax, dword [edi + ecx + 0x24]
jne 0x419e13
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x419e13
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041ac73
add esp, 0x14
test edx, edx
jl 0x419e13
jg 0x419d89
test eax, eax
jb 0x419e13
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x419e13
jl 0x419da3
cmp dword [ebp - 0x1008], eax
ja 0x419e13
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x419dc1
test ebx, ebx
je 0x419dfa
cmp ecx, edi
jae 0x419dfa
mov al, byte [ecx]
cmp al, 0xd
jne 0x419ddb
lea eax, [edi - 1]
cmp ecx, eax
jae 0x419de7
cmp byte [ecx + 1], 0xa
jne 0x419de7
inc ecx
jmp 0x419de7
movzx eax, al
movsx eax, byte [eax + 0x4352b8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x419dc1
cmp edx, ebx
jne 0x419dc1
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x419e18
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409aa8
leave
ret
Function at 0x41a111
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x459ae0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41a151
cmp byte [ebx], 0xa
jne 0x41a151
or byte [eax + edi + 0x28], 4
jmp 0x41a156
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41a254
mov al, byte [edx]
cmp al, 0x1a
je 0x41a236
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41a185
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41a1aa
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41a1b4
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41a167
jmp 0x41a254
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a231
cmp dword [ebp - 0xc], 0
je 0x41a231
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x459ae0]
test byte [eax + edi + 0x28], 0x48
je 0x41a20b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41a1f6
mov byte [esi], dl
jmp 0x41a207
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x459ae0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41a254
cmp byte [ebp - 1], 0xa
jne 0x41a21a
cmp esi, ebx
jne 0x41a21a
mov byte [esi], 0xa
jmp 0x41a253
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041ac91
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41a254
mov byte [esi], 0xd
jmp 0x41a253
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x459ae0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41a250
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41a254
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41a25d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x459ae0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41a2a0
cmp word [esi], dx
jne 0x41a2a0
or byte [edi + eax + 0x28], 4
jmp 0x41a2a5
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41a3f8
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41a3d8
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41a2e7
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41a31d
cmp eax, edx
jae 0x41a329
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41a2bf
jmp 0x41a3f8
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a3d4
cmp dword [ebp - 0x14], 0
je 0x41a3d4
mov eax, dword [ebx*4 + 0x459ae0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41a3ac
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41a375
mov word [esi], cx
jmp 0x41a3a8
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x459ae0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x459ae0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x459ae0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41a3f8
pop ebx
cmp word [ebp - 4], bx
jne 0x41a3bd
cmp esi, dword [ebp + 0xc]
jne 0x41a3bd
mov word [esi], bx
jmp 0x41a3f5
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041ac91
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41a3f8
push 0xd
jmp 0x41a3f1
mov ecx, dword [ebx*4 + 0x459ae0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41a3ef
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41a3f8
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10004ba0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call sub.mfc100.dll_Ordinal_9475
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.mfc100.dll_Ordinal_4340
push 0
push 0
push 0
push 0x10004900
push 0
push 0
mov dword [0x100ae910], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop esi
ret
Function at 0x10018d60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 1
cmp dword [0x1019aa88], esi
jne 0x10018d8b
call fcn.10018130
cmp eax, dword [0x1019aa84]
jle 0x10018daf
cmp dword [0x1019aa90], esi
jne 0x10018df9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1019aa8c]
sub eax, dword [0x101a34bc]
imul ecx, ecx, 0xea60
cmp eax, ecx
jbe 0x10018df9
cmp dword [0x12abfc8], esi
jne 0x10018dcd
call fcn.1003a170
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [0x101a46dc]
mov eax, dword [0x100eaf2c]
add edx, 0x52
push edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.10016780
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret 0x10
push ebx
push edi
mov edi, dword [0x35f30a4]
xor ebx, ebx
xor esi, esi
call fcn.10006a90
test eax, eax
je 0x10018e31
add edi, 0x53c
mov eax, dword [edi]
test eax, eax
je 0x10018e24
cmp dword [eax + 0x334], 1
jne 0x10018e24
inc ebx
inc esi
add edi, 4
call fcn.10006a90
cmp esi, eax
jb 0x10018e14
cmp ebx, dword [0x1019a9e8]
pop edi
pop ebx
mov esi, 1
jge 0x10018e48
cmp dword [0x1019a9ec], esi
je 0x10018e6c
cmp dword [0x1019a9f0], esi
jne 0x10018e95
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1019a9f4]
sub eax, dword [0x101a34b4]
imul ecx, ecx, 0xea60
cmp eax, ecx
jb 0x10018e95
cmp dword [0x12abfc8], esi
je 0x10018db7
mov edx, dword [0x101a46dc]
mov eax, dword [0x100eaf2c]
add edx, 0x52
push edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x10097780
jmp 0x10018efc
push 0x32
lea ecx, [ebp - 0x38]
push ecx
mov ecx, 0x1019a9f8
call sub.mfc100.dll_Ordinal_6969
mov edx, 0x10097778
lea ecx, [ebp - 0x38]
lea ecx, [ecx]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10018ed0
test al, al
je 0x10018ecc
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10018ed0
add ecx, 2
add edx, 2
test al, al
jne 0x10018eb0
xor eax, eax
jmp 0x10018ed5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10018f0e
cmp dword [0x12abfc8], eax
jne 0x10018f0e
mov edx, dword [0x101a46dc]
mov eax, dword [0x100eaf2c]
add edx, 0x52
push edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x1009776c
call fcn.10008090
push 0x10097764
call fcn.10018c00
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10085dc6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10018f30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1012d3e4]
push edi
mov edi, ecx
cmp eax, 1
je 0x100190a8
cmp eax, 3
je 0x100190a8
push ebx
push 1
call sub.mfc100.dll_Ordinal_13219
push 0xa
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x300]
call sub.mfc100.dll_Ordinal_6969
mov ecx, 0x100977a4
lea eax, [ebp - 0x2c]
jmp 0x10018f80
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10018fa0
test dl, dl
je 0x10018f9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10018fa0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10018f80
xor eax, eax
jmp 0x10018fa5
sbb eax, eax
sbb eax, 0xffffffff
push esi
test eax, eax
jne 0x10019037
mov ecx, 0x101917c0
mov dword [0x1012d3e4], 2
call fcn.1000b100
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 0x10097778
lea ecx, [edi + 0x300]
mov dword [0x101a34b4], eax
call sub.mfc100.dll_Ordinal_12868
push 0
lea ecx, [edi + 0x264]
call sub.mfc100.dll_Ordinal_3970
call fcn.1003a170
call esi
push 0
push 0
push 0
push 0
mov dword [0x101a34bc], eax
call fcn.10018d60
mov ecx, dword [0x101a46dc]
mov edx, dword [0x100eaf2c]
push fcn.10018d60
push 0x1388
add ecx, 0x52
push ecx
push edx
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
push 0x100977a4
lea ecx, [edi + 0x300]
mov dword [0x1012d3e4], 0
call sub.mfc100.dll_Ordinal_12868
mov eax, dword [0x101a46dc]
mov ecx, dword [0x100eaf2c]
mov esi, dword [sym.imp.USER32.dll_KillTimer]
add eax, 0x52
push eax
push ecx
call esi
mov edx, dword [0x101a46dc]
mov eax, dword [0x100eaf2c]
add edx, 0x44
push edx
push eax
call esi
push 1
lea ecx, [edi + 0x264]
call sub.mfc100.dll_Ordinal_3970
call fcn.1003a170
pop esi
pop ebx
mov dword [0x1011d17c], 0
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
push 8
push 0x1009778c
call fcn.1003a930
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
Function at 0x1001b6d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e0fc
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x100ae8c8]
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
push 0x1f4
mov esi, ecx
call sub.mfc100.dll_Ordinal_265
push 0x1011c4d0
mov edi, eax
push str._sCollect__
push edi
mov dword [ebp - 0x15c], edi
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [esi + 0x3e8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x10
push 0
push 0
push 0x14b
push eax
call ebx
push edi
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0x10097d08
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x158]
push edx
mov dword [ebp - 4], 0
call fcn.1001a330
add esp, 0xc
lea ecx, [ebp - 0x150]
push ecx
mov ecx, eax
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x158]
mov edi, eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea eax, [ebp - 0x124]
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001b7a0
sub eax, ecx
mov byte [ebp + eax - 0x128], dl
mov eax, dword [esi + 0x3e8]
lea edx, [ebp - 0x124]
push edx
push 0
push 0x143
push eax
call ebx
lea ecx, [ebp - 0x150]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1001b829
lea esp, [esp]
lea eax, [ebp - 0x124]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001b7f0
sub eax, edx
lea edx, [ebp - 0x124]
push edx
push 0
mov byte [ebp + eax - 0x128], cl
mov eax, dword [esi + 0x3e8]
push 0x143
push eax
call ebx
lea ecx, [ebp - 0x150]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001b7e0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x15c]
push edx
call sub.mfc100.dll_Ordinal_1296
add esp, 4
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc100.dll_Ordinal_901]
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.10085dc6
mov esp, ebp
pop ebp
ret
Function at 0x1001c0f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1012d3e4]
push esi
mov esi, ecx
cmp eax, 1
je 0x1001c278
cmp eax, 2
je 0x1001c278
push 1
call sub.mfc100.dll_Ordinal_13219
add esi, 0x268
push 0x32
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
mov dword [ebp - 0x3c], esi
call sub.mfc100.dll_Ordinal_6969
mov ecx, 0x10097dc0
lea eax, [ebp - 0x38]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1001c160
test dl, dl
je 0x1001c15c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1001c160
add eax, 2
add ecx, 2
test dl, dl
jne 0x1001c140
xor eax, eax
jmp 0x1001c165
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1001c1fa
mov ecx, 0x101a34cc
mov dword [0x1012d3e4], 3
mov dword [0x101a34c0], 0xff922300
call fcn.10001060
mov ecx, 0x101a34d8
call fcn.10001060
push 0
call fcn.1003b210
add esp, 4
mov ecx, 0x101917c0
call fcn.1000b100
push 0x10097778
mov ecx, esi
call sub.mfc100.dll_Ordinal_12868
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x101a46dc]
mov edx, dword [0x100eaf2c]
push 0x1001bce0
push 0x3e8
add ecx, 0x53
push ecx
push edx
mov dword [0x1012d248], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x1011cd68], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
push 0
push 0x1001b930
push 0
push 0
mov dword [0x1012d3e4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
xor esi, esi
lea esp, [esp]
mov eax, dword [0x101a46dc]
mov edx, dword [0x100eaf2c]
lea ecx, [eax + esi + 0x44]
push ecx
push edx
call edi
inc esi
cmp esi, 0xa
jl 0x1001c230
mov eax, dword [0x101a46dc]
mov ecx, dword [0x100eaf2c]
add eax, 0x53
push eax
push ecx
call edi
mov ecx, dword [ebp - 0x3c]
push 0x10097dc0
call sub.mfc100.dll_Ordinal_12868
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
push 8
push 0x10097da8
call fcn.1003a930
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop esi
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
Function at 0x10029230
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1019dd98]
push esi
mov esi, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10029363
mov ecx, dword [0x1019de2c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1042
push ecx
call edi
cmp eax, 5
jle 0x10029294
mov edx, dword [0x1019de2c]
push 0
push 0
push 0x1042
push edx
call edi
cmp eax, 0x15
jl 0x10029362
mov eax, dword [ebp + 0xc]
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0x32
lea ecx, [ebp - 0x6c]
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea edx, [ebp - 0x6c]
push edx
push esi
lea eax, [ebp - 0x38]
push 0x1009b360
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, dword [0x1019de2c]
add esp, 0x10
xor esi, esi
push esi
push esi
push 0x1004
push ecx
call edi
test eax, eax
jle 0x1002933f
lea ecx, [ecx]
push 0x32
lea edx, [ebp - 0xa0]
push edx
push 1
push esi
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_5176
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xa0]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10029320
test dl, dl
je 0x1002931c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10029320
add eax, 2
add ecx, 2
test dl, dl
jne 0x10029300
xor eax, eax
jmp 0x10029325
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10029372
mov eax, dword [0x1019de2c]
push 0
push 0
push 0x1004
push eax
inc esi
call edi
cmp esi, eax
jl 0x100292e0
mov edx, dword [0x1019de2c]
lea ecx, [ebp - 0x38]
push ecx
push 1
push 0
push 0
push 0x1042
push edx
call edi
push eax
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_12440
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
push 8
push 0x1009b354
call fcn.1003a930
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
xor ecx, ebp
pop esi
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
Function at 0x100293a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0x32
lea ecx, [ebp - 0x6c]
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea edx, [ebp - 0x6c]
push edx
push esi
lea eax, [ebp - 0x38]
push 0x1009b360
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ecx, dword [0x1019de2c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x10
xor esi, esi
push esi
push esi
push 0x1004
push ecx
call edi
test eax, eax
jle 0x100294e5
jmp 0x10029410
push 0x32
lea edx, [ebp - 0xa0]
push edx
push 1
push esi
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_5176
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xa0]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10029450
test dl, dl
je 0x1002944c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10029450
add eax, 2
add ecx, 2
test dl, dl
jne 0x10029430
xor eax, eax
jmp 0x10029455
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1002947f
mov eax, dword [0x1019de2c]
push 0
push 0
push 0x1004
push eax
inc esi
call edi
cmp esi, eax
jl 0x10029410
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1019de2c]
push 3
push 0
push 0
push 0
push 0x1042
push ecx
call edi
push eax
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_12438
mov edx, dword [0x1019de2c]
push esi
push 0
push 0x1043
push edx
call edi
push 3
push 3
push esi
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_12438
mov ecx, 0x1019dd78
call fcn.100289d0
mov eax, dword [0x1019dea0]
push 0
push 0
push 0x14e
push eax
call edi
mov ecx, 0x1019dd78
call fcn.10027fa0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10085dc6
mov esp, ebp
pop ebp
ret