joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100010fb
Capabilities:
Check if file exists
Get common file path
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
push 0x54
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.10001dd6
mov eax, dword [ebp + 0xc]
mov dword [0x10005028], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10005024], eax
mov eax, dword [ebp + 0x10]
mov dword [0x1000502c], eax
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x5c], eax
push 5
lea eax, [ebp - 8]
mov ebx, 0x10004400
mov edi, 0x10004800
mov esi, 0x400
push eax
mov dword [ebp - 0x60], 0x58
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x2c], 0x82000
call fcn.10001e06
push esi
push edi
call fcn.10001e06
push esi
push ebx
call fcn.10001e06
push str.save
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov edi, eax
neg edi
sbb edi, edi
push 0x10004800
inc edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100011b9
test al, 0x10
je 0x100011b9
push 0x10004800
push section..data
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x34], 0x10004000
mov byte [0x10004800], 0
cmp byte [0x10004400], 0
jne 0x100011ce
push str.All_Files.
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [0x10004400], 0
mov eax, ebx
je 0x100011f0
cmp byte [eax], 0x7c
jne 0x100011e4
mov byte [eax], 0
inc eax
jmp 0x100011eb
push eax
call dword [sym.imp.USER32.dll_CharNextA]
cmp byte [eax], 0
jne 0x100011d9
mov ebx, 0x10004c00
push ebx
push esi
mov byte [eax + 1], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
lea eax, [ebp - 0x60]
push eax
test edi, edi
je 0x10001217
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
jmp 0x10001219
call esi
test eax, eax
je 0x10001224
push 0x10004800
jmp 0x10001253
call dword [sym.imp.COMDLG32.dll_CommDlgExtendedError]
cmp eax, 0x3002
jne 0x1000124e
lea eax, [ebp - 0x60]
mov byte [0x10004800], 0
push eax
test edi, edi
je 0x10001248
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
jmp 0x1000124a
call esi
test eax, eax
jne 0x1000121d
push 0x100030f2
call fcn.10001e55
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6fe058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.006fe1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x6fe07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6fe06a
add dl, dl
jne 0x6fe089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6fe0dc
xor eax, eax
add dl, dl
jne 0x6fe096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6fe17d
add dl, dl
jne 0x6fe0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6fe0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6fe0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6fe0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x6fe0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x6fe075
mov eax, 1
add dl, dl
jne 0x6fe0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6fe0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6fe0e1
sub eax, ebx
mov ebx, 1
jne 0x6fe128
mov ecx, 1
add dl, dl
jne 0x6fe10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6fe119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6fe105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6fe075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x6fe13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6fe14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6fe136
cmp eax, 0x7d00
jae 0x6fe16d
cmp eax, 0x500
jb 0x6fe168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6fe075
cmp eax, 0x7f
ja 0x6fe170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6fe075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x6fe19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x6fe075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x43ebb0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x43ebce
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x43ebc3
pop esi
ret

Function at 0x43ed10
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x43eda2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x43ed94
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x43ed8c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x43ed55
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0xfe8efc
Capabilities:
Encode data using xor

Disassembly:
out 0x90, eax
cmp byte [ecx - 0x25], ch
insb byte es:[edi], dx
xchg edx, eax
mov eax, eax
xor eax, 0xbca1854c
pop edx
or byte [edi], dh
mov eax, 0xb42b0ca1
lodsd eax, dword [esi]
add byte [edi], bl
sub eax, 0x7a837bee
mov al, 0x7a
add byte [eax], al
add bl, ch
jmp 0xfe8f06
add byte [esp + eax], bh
add byte [eax], al
add byte [eax], al
add byte [eax - 0x18], ah
add byte [eax], al
add byte [eax], al
jmp 0xfe8f06
pushal
call 0xfe8f0c
pop ebp
sub ebp, 0x10
sub ebp, 0xbe8efc
jmp 0xfe8f22
mov eax, 0xbe8efc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5df
mov edx, 0x35be8b81
xor byte [eax], dl
inc eax
dec ecx
jne 0xfe8f39
jmp 0xfe8f4c
or cl, byte [edx + ecx + 8]
mov ebp, 0x818181
inc eax
jns 0xfe8ed9
add dword [ecx - 0x7ac6b37e], 0x3b818181
test eax, 0x76818181
arpl word [edx - 0x72fff5b7], ax
add dword [ecx + 0xc448281], 0x87da5e5
test dword [ebp + 0x7da5e50c], esp
or byte [ebp + 0xdd5e9a5], al
mov al, byte [0x8324e981]
sbb al, 0x81
sub byte [ebp + 0x4dbde9a5], 0x31
sti
imul eax, dword [ecx + eax*4 - 0x56977e7f], 0xd4818181
or ch, byte [ebp + 0xa]
add al, 0x89
add dword [ecx - 0x72ebf57f], 0xa818181
or al, 0x91
add dword [ecx - 0x7c97bf7f], 0x430283b0
test eax, ecx
mov es, word [esi*2 - 0x23818182]
inc ebx
lea eax, [ecx - 0x7a5af2f6]
add dword [ecx + 0xdd5e981], 0x24e981a0
sbb dword [ecx + eax*4], 0xffffff80
lodsd eax, dword [esi]
movsd dword es:[edi], dword [esi]
or al, 0xe5
movsd dword es:[edi], dword [esi]
jge 0xfe8fe5
lea esp, [ebp - 0x7e7e7b97]
sub dword [eax - 0x2a], 0xc818183
in eax, 0xa5
jge 0xfe8ff6
salc
add dword [ecx - 0x5a1af37f], 0x7d
or byte [ebp + 0x7e6d0aa5], ch
lodsd eax, dword [esi]
movsd dword es:[edi], dword [esi]
or ch, byte [ebp + 0x7e]
hlt
hlt
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401e40
Capabilities:
Create service

Disassembly:
mov eax, 0x1008
call fcn.00406b60
push ebx
push ebp
push esi
push 0xf003f
push 0
mov ebx, ecx
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], ebp
jne 0x401e74
pop esi
pop ebp
pop ebx
add esp, 0x1008
ret 8
push edi
lea eax, [esp + 0x18]
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
or ecx, 0xffffffff
mov edi, str.__S__
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add ebx, 4
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x412420
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x101c]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jle 0x401f8d
mov edx, dword [esp + 0x1020]
mov dword [esp + 0x10], eax
mov edi, 0x41241c
or ecx, 0xffffffff
xor eax, eax
lea ebp, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add edx, 4
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebp, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [edx - 4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebp
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, ebp
and ecx, 3
dec eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x10], eax
jne 0x401f23
mov ebp, dword [esp + 0x14]
mov eax, dword [0x416308]
pop edi
test eax, eax
je 0x401fc6
lea eax, [esp + 0x14]
push 0x412418
push eax
push str._is_registered_as__
push ebx
mov ecx, 0x416738
call fcn.004054d2
mov ecx, eax
call fcn.004054d2
mov ecx, eax
call fcn.004054d2
mov ecx, eax
call fcn.004054d2
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push 0
push ecx
push 1
push 3
push 0x110
push 0xf01ff
push ebx
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
test eax, eax
jne 0x402005
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1008
ret 8
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call esi
push ebp
call esi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1008
ret 8
Function at 0x402030
Capabilities:
Delete service

Disassembly:
push esi
push edi
push 0xf003f
push 0
mov esi, ecx
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x40204c
pop edi
pop esi
ret
push ebx
push ebp
add esi, 4
push 0x10000
push esi
push edi
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x40207f
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x40207c
mov ebx, 1
push esi
call ebp
push edi
call ebp
mov eax, ebx
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x40be38
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x415dc8
cmp edx, dword [eax]
je 0x40be5a
add eax, 8
inc ecx
cmp eax, 0x415e58
jl 0x40be4b
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x415dc8]
jne 0x40bf88
mov eax, dword [0x416838]
cmp eax, 1
je 0x40bf62
test eax, eax
jne 0x40be8b
cmp dword [0x4138b4], 1
je 0x40bf62
cmp edx, 0xfc
je 0x40bf88
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40bec2
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040b510
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004073e0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40bf05
lea eax, [ebp - 0x1a4]
push eax
call fcn.004073e0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x410714
push edi
call fcn.00407140
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040b510
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040b520
lea eax, [ebp - 0xa0]
push 0x4106f4
push eax
call fcn.0040b520
push dword [esi + 0x415dcc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b520
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040d65a
add esp, 0x2c
pop edi
jmp 0x40bf88
lea eax, [ebp + 8]
lea esi, [esi + 0x415dcc]
push 0
push eax
push dword [esi]
call fcn.004073e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4197e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x419805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x419878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x41983a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x41986d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x41986b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x419831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4197fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x407281
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461124], 0
jne 0x4072bf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407295
mov dword [ecx*4 + 0x461120], eax
inc ecx
cmp ecx, 0x100
jl 0x407290
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4072ec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461120]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072cd
not eax
pop ebp
ret 0xc

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x32027bef
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
mov eax, section..tls
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x62c47690
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x426f18
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x426e64
call sub.user32.dll_EnumWindows
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4270b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00426a98
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42705d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00426698
cmp dword [ebp - 4], 0
je 0x42709f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046a0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4270bc
lea eax, [ebp - 4]
call fcn.004041e0
ret

Function at 0x42a04c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x450ae8], 0
je 0x42a19b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44ef3c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42a19b
mov eax, dword [0x450aec]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x450ae8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42a16a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x450ae8]
call fcn.00413bd8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42a162
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42a162
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42a162
mov eax, dword [ebp - 0x14]
call fcn.00432be4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42a162
push ebp
call fcn.0042a008
pop ecx
test al, al
jne 0x42a162
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42a11e
mov eax, dword [ebp - 0x14]
call fcn.00431714
dec eax
jle 0x42a162
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403674
cmp byte [ebp - 1], 0
je 0x42a162
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42a162
mov edx, dword [ebp - 0x14]
mov eax, dword [0x450aec]
call fcn.004297d4
inc edi
dec ebx
jne 0x42a0b1
mov eax, dword [0x450aec]
cmp dword [eax + 8], 0
jle 0x42a182
mov eax, dword [0x450aec]
call fcn.00429864
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42a19b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00429e70
pop ecx
test al, al
jne 0x42a19b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d754
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x42d7a0
mov eax, esi
call fcn.00442de4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d7a0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42d7a0
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x42d8df
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42d7e0
cmp eax, 0x108
ja 0x42d7e0
mov eax, esi
call fcn.00442de4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d8d6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42d8df
jmp 0x42d8d6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42d8bf
cmp eax, 0x20a
ja 0x42d8bf
test byte [esi + 0x50], 0x80
jne 0x42d812
sub eax, 0x203
je 0x42d80f
sub eax, 3
je 0x42d80f
sub eax, 3
jne 0x42d812
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42d826
dec eax
je 0x42d83b
dec eax
je 0x42d858
dec eax
je 0x42d83b
jmp 0x42d85f
mov ecx, ebx
mov eax, dword [0x44ef3c]
mov eax, dword [eax]
mov edx, esi
call fcn.0044c6ac
jmp 0x42d8d6
cmp byte [esi + 0x5d], 1
jne 0x42d851
mov eax, esi
mov si, 0xffed
call fcn.00403674
jmp 0x42d8df
or word [esi + 0x54], 1
jmp 0x42d8d6
and word [esi + 0x54], 0xfffe
jmp 0x42d8d6
mov eax, dword [0x450aa4]
cmp byte [eax + 0x20], 0
je 0x42d8d6
mov eax, dword [0x450aa4]
cmp dword [eax + 0x1c], 0
je 0x42d8d6
mov eax, dword [ebx]
mov edx, dword [0x450aa4]
cmp eax, dword [edx + 0x1c]
jne 0x42d8d6
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00442d28
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403674
jmp 0x42d8df
cmp eax, 0xb00b
jne 0x42d8d6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042c0b0
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437370
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44f094]
cmp byte [eax + 0xc], 0
je 0x4374dd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4374d6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x450af8], 0
jne 0x4373c4
push 0x4374e4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4374ec
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450af8], eax
cmp dword [0x44eaa4], 0
jne 0x4374bf
push 0x4374fc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44eaa4], eax
cmp dword [0x44eaa4], 0
je 0x4374bf
push 0x437508
mov eax, dword [0x44eaa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450afc], eax
push 0x437518
mov eax, dword [0x44eaa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b00], eax
push 0x43752c
mov eax, dword [0x44eaa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b04], eax
push 0x437544
mov eax, dword [0x44eaa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b08], eax
push 0x43755c
mov eax, dword [0x44eaa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b0c], eax
push 0x437570
mov eax, dword [0x44eaa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b10], eax
push 0x437588
mov eax, dword [0x44eaa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b14], eax
push 0x4375a0
mov eax, dword [0x44eaa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b18], eax
push 0x4375bc
mov eax, dword [0x44eaa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b1c], eax
push 0x4375c8
mov eax, dword [0x44eaa4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4374dd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43b4a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004041e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43b4ef
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404450
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442c98
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442ce8]
test si, 4
je 0x442cac
or bl, 1
test si, 8
je 0x442cb6
or bl, 4
test si, 1
je 0x442cc0
or bl, 8
test si, 2
je 0x442cca
or bl, 0x10
test si, 0x10
je 0x442cd4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442ce3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret