joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e9b00
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x52a098]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push ebx
push esi
push edi
lea ecx, [eax + 2]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], ecx
lea esi, [ebp - 0x124]
lea ecx, [eax + 3]
xor bl, bl
mov dword [ebp - 0x130], ecx
mov edi, 0x10
nop dword [eax]
movzx ecx, bl
lea esi, [esi + 4]
add bl, 4
movzx edx, byte [ecx + eax]
movzx eax, byte [eax + ecx + 1]
shl edx, 8
or edx, eax
mov eax, dword [ebp - 0x12c]
shl edx, 8
movzx eax, byte [eax + ecx]
or edx, eax
mov eax, dword [ebp - 0x130]
shl edx, 8
movzx eax, byte [eax + ecx]
or edx, eax
mov eax, dword [ebp - 0x128]
mov dword [esi - 4], edx
sub edi, 1
jne 0x4e9b40
lea eax, [ebp - 0x120]
mov ebx, 0x30
nop
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax + 0x30]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax + 0x1c]
add edi, dword [eax - 8]
mov dword [eax + 0x38], edi
sub ebx, 1
jne 0x4e9b90
mov ebx, dword [ebp - 0x128]
add ebx, 0x50
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], 0x40
movups xmm0, xmmword [ebx]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [ebp - 0x14], xmm0
mov ebx, dword [ebp - 0x14]
nop
mov edx, dword [ebp - 0x1c]
mov edi, ebx
mov esi, dword [ebp - 0x20]
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror edi, 0xb
not ecx
and ecx, dword [ebp - 0xc]
xor edi, eax
mov eax, ebx
ror eax, 6
xor edi, eax
mov eax, dword [ebp - 0x10]
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 0x128]
add edi, ecx
add dword [ebp - 0x128], 4
add edi, dword [eax + 0x520000]
add edi, dword [ebp + eax - 0x124]
add edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, edx
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
add ebx, edi
mov eax, esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov ecx, eax
mov dword [ebp - 0x20], eax
rol eax, 0xa
ror ecx, 0xd
xor ecx, eax
mov eax, dword [ebp - 0x24]
ror eax, 2
xor ecx, eax
mov eax, esi
or eax, edx
and esi, edx
and eax, dword [ebp - 0x24]
add ecx, edi
or eax, esi
add eax, ecx
sub dword [ebp - 0x12c], 1
mov dword [ebp - 0x24], eax
jne 0x4e9c00
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x24]
mov ebx, dword [ebp - 0x130]
mov edx, 8
nop dword [eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
add dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x4e9cb0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049ca2c
mov esp, ebp
pop ebp
ret
Function at 0x4ea610
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8008
call fcn.0049d520
mov eax, dword [0x52a098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov bl, byte [edi]
cmp bl, 0x41
jl 0x4ea63a
cmp bl, 0x5a
jle 0x4ea644
cmp bl, 0x61
jl 0x4ea656
cmp bl, 0x7a
jg 0x4ea656
cmp byte [edi + 1], 0x3a
jne 0x4ea656
mov dword [ebp - 0x8008], 1
jmp 0x4ea65e
xor eax, eax
mov dword [ebp - 0x8008], eax
push 0x8000
lea eax, [ebp - 0x8004]
push 0
push eax
call fcn.004b5640
mov ecx, dword [ebp - 0x8008]
add esp, 0xc
test ecx, ecx
je 0x4ea692
mov al, byte [edi + 1]
mov esi, 2
mov byte [ebp - 0x8004], bl
mov byte [ebp - 0x8003], al
mov al, byte [edi + esi]
add edi, esi
test al, al
je 0x4ea6f5
nop dword [eax + eax]
cmp esi, 0x7fff
jge 0x4ea6f5
cmp al, 0x2f
je 0x4ea6b0
cmp al, 0x5c
jne 0x4ea6e3
test ecx, ecx
jne 0x4ea6ba
test esi, esi
jg 0x4ea6bf
jmp 0x4ea6e3
cmp esi, 2
jle 0x4ea6e3
lea eax, [ebp - 0x8004]
push eax
call fcn.004bd477
add esp, 4
cmp eax, 0xffffffff
jne 0x4ea6dd
call fcn.004bcfb2
cmp dword [eax], 0x11
jne 0x4ea708
mov ecx, dword [ebp - 0x8008]
movzx eax, byte [edi]
inc edi
mov byte [ebp + esi - 0x8004], al
inc esi
mov al, byte [edi]
test al, al
jne 0x4ea6a0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049ca2c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049ca2c
mov esp, ebp
pop ebp
ret
Function at 0x4eb0f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
test ecx, ecx
je 0x4eb215
mov esi, dword [ecx + 0x48]
test esi, esi
je 0x4eb215
cmp edx, dword [ecx + 0x10]
jae 0x4eb215
cmp dword [ecx + 0x14], 1
jne 0x4eb215
mov eax, dword [esi + 0x10]
mov edi, dword [eax + edx*4]
add edi, dword [esi]
je 0x4eb215
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4eb215
mov dword [ebx], edx
mov eax, dword [ecx + 0x48]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx*4]
mov dword [ebx + 4], eax
movzx eax, word [edi + 4]
mov word [ebx + 8], ax
movzx eax, word [edi + 6]
mov word [ebx + 0xa], ax
movzx eax, word [edi + 8]
mov word [ebx + 0xc], ax
movzx eax, word [edi + 0xa]
mov word [ebx + 0xe], ax
movzx edx, word [edi + 0xe]
movzx ecx, word [edi + 0xc]
call fcn.004ec1b0
mov dword [ebx + 0x10], eax
mov esi, 0x103
mov dword [ebx + 0x14], edx
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], 0
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 0
movzx eax, word [edi + 0x24]
mov word [ebx + 0x30], ax
mov eax, dword [edi + 0x26]
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x2a]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
movzx eax, word [edi + 0x1c]
cmp eax, esi
cmovb esi, eax
lea eax, [edi + 0x2e]
push esi
push eax
lea eax, [ebx + 0x44]
push eax
call fcn.004b5a10
mov byte [esi + ebx + 0x44], 0
mov esi, 0xff
movzx eax, word [edi + 0x20]
cmp eax, esi
cmovb esi, eax
mov dword [ebx + 0x40], esi
movzx ecx, word [edi + 0x1e]
movzx eax, word [edi + 0x1c]
add ecx, edi
add eax, 0x2e
add eax, ecx
push esi
push eax
lea eax, [ebx + 0x148]
push eax
call fcn.004b5a10
add esp, 0x18
mov byte [esi + ebx + 0x148], 0
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4edf40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
test esi, esi
jne 0x4edf4f
xor eax, eax
pop esi
pop ebp
ret
push edi
mov edi, dword [ebp + 8]
not ecx
test edi, edi
je 0x4edf92
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
movzx edx, al
mov eax, edx
shr edx, 4
xor eax, ecx
shr ecx, 4
and eax, 0xf
xor ecx, dword [eax*4 + 0x51f600]
mov eax, ecx
shr ecx, 4
and eax, 0xf
xor edx, eax
xor ecx, dword [edx*4 + 0x51f600]
sub edi, 1
jne 0x4edf60
not ecx
pop edi
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x8d0058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008d01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8d007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8d006a
add dl, dl
jne 0x8d0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8d00dc
xor eax, eax
add dl, dl
jne 0x8d0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8d017d
add dl, dl
jne 0x8d00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8d00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8d00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8d00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8d00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8d0075
mov eax, 1
add dl, dl
jne 0x8d00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8d00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8d00e1
sub eax, ebx
mov ebx, 1
jne 0x8d0128
mov ecx, 1
add dl, dl
jne 0x8d010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8d0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8d0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8d0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8d013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8d014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8d0136
cmp eax, 0x7d00
jae 0x8d016d
cmp eax, 0x500
jb 0x8d0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8d0075
cmp eax, 0x7f
ja 0x8d0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8d0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8d019e
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 0x8d0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402f40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x45dcf0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
mov esi, ecx
mov dword [ebp - 0x21c], 0
call fcn.00438060
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x402fd5
lea eax, [ebp - 0x218]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x218]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x402fc9
mov eax, dword [ebp - 0x214]
push dword [ebp - 0x218]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call fcn.00409a7c
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00437a1e
mov esp, ebp
pop ebp
ret

Function at 0x403000
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448bf6
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x45dcf0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x456564
mov ecx, 0x460b18
mov dword [ebp - 0x21c], 0
call fcn.00409c4d
test al, al
je 0x403125
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00438060
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push str._APPDATA_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x460b18
call fcn.00409c29
push str.7road_
mov ecx, 0x460b18
call fcn.00409ca2
lea ecx, [ebp - 0x2a0]
call fcn.00401320
push eax
mov ecx, 0x460b18
mov dword [ebp - 4], 0
call fcn.00409c85
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 4], 0xffffffff
call fcn.00409b93
push 0x4568a4
mov ecx, 0x460b18
call fcn.00409ca2
lea ecx, [ebp - 0x324]
call fcn.00401340
push eax
mov ecx, 0x460b18
mov dword [ebp - 4], 1
call fcn.00409c85
lea ecx, [ebp - 0x324]
mov dword [ebp - 4], 0xffffffff
call fcn.00409b93
push 0x4568a4
push 0x4568a8
mov ecx, 0x460b18
call fcn.0040a3ea
push 0x460b18
mov ecx, esi
call fcn.00409a57
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00437a1e
mov esp, ebp
pop ebp
ret
Function at 0x4035e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448c68
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x45dcf0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x44
lea eax, [ebp - 0x5c]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00438060
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0x80
push 0
push 0
push 0
push esi
lea ecx, [ebp + 8]
call fcn.0040a0d2
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [ebp - 0x64]
test eax, eax
je 0x403661
push dword [ebp - 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x6c]
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00409b93
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00437a1e
mov esp, ebp
pop ebp
ret
Function at 0x404540
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x45dcf0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x4568cc
push 0x67
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x402a40
mov edx, esi
mov ecx, eax
call fcn.00402b30
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x110]
call fcn.00403000
lea ecx, [ebp - 0x110]
call fcn.00409b93
push ebx
call fcn.00409320
add esp, 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x404739
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], 0
call fcn.00403000
push 0x456d48
lea ecx, [ebp - 0x88]
call fcn.00409ca2
lea ecx, [ebp - 0x88]
call fcn.0040a0d2
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40469b
call fcn.004026c0
test al, al
je 0x4046a6
push 0x384
call fcn.00437acd
mov esi, eax
add esp, 4
test esi, esi
je 0x404640
push ecx
mov ecx, esi
call fcn.00404750
mov ecx, esi
call fcn.004059a0
mov esi, eax
jmp 0x404642
xor esi, esi
push 0
push SysReAllocString
push SysReAllocString
push 0
push 0
push 0
push 0x96c80000
push 0x456564
push 0
mov ecx, esi
call fcn.0040a961
mov ecx, esi
call fcn.0040a805
sub esp, 0x84
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
call fcn.00409a57
sub esp, 0x84
mov ecx, esp
call fcn.00404520
mov ecx, esi
call fcn.00405b70
jmp 0x404723
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00402310
lea ecx, [ebp - 0x88]
mov bl, al
call fcn.0040a0d2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00402da0
test bl, bl
jne 0x404728
push 0x284
call fcn.00437acd
mov esi, eax
add esp, 4
test esi, esi
je 0x40472e
push ecx
mov ecx, esi
call fcn.004047b0
mov ecx, esi
call fcn.00403eb0
mov esi, eax
test esi, esi
je 0x40472e
push 0
push SysReAllocString
push SysReAllocString
push 0
push 0
push 0
push 0x96c80000
push 0x456564
push 0
mov ecx, esi
call fcn.0040a961
mov ecx, esi
call fcn.0040a805
mov ecx, esi
call fcn.004040f0
call fcn.004087bb
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x88]
call fcn.00409b93
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00437a1e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x404940
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4490db
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x45dcf0]
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
mov edi, edx
mov ebx, ecx
push 0x40
lea eax, [ebp - 0x46c]
push 0
push eax
mov dword [ebp - 0x474], 0
mov dword [ebp - method.CMd5Checksum.virtual_0], vtable.CMd5Checksum.0
call fcn.00438060
add esp, 0xc
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x424], 0x67452301
mov dword [ebp - 0x420], 0xefcdab89
mov dword [ebp - 0x41c], 0x98badcfe
mov dword [ebp - 0x418], 0x10325476
push 0
lea eax, [ebp - 0x414]
push eax
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
push edi
mov dword [ebp - 0x414], 0
call esi
test eax, eax
je 0x404a49
jmp 0x404a10
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x404a49
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x470]
call fcn.00405370
push 0
lea eax, [ebp - 0x414]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push edi
call esi
test eax, eax
jne 0x404a10
push ebx
lea ecx, [ebp - 0x470]
call fcn.00405180
mov eax, ebx
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.00437a1e
mov esp, ebp
pop ebp
ret
Function at 0x405420
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x45dcf0]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push eax
push dword [ebp + 0x10]
mov ebx, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040b321
push 0
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x14], eax
call fcn.00408fa1
push str.pnlMenu
lea ecx, [ebx + 0x2c]
call fcn.00406813
mov dword [ebx + 0x270], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [esp + 0x1c]
call fcn.00409a47
push 0x456564
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [esp + 0x20], 0xa
jle 0x4054dd
mov esi, dword [ebx + 0x270]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x60]
mov edi, dword [esp + 0x18]
sub edi, eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x60]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
push eax
lea ecx, [esp + 0x28]
call fcn.0040a0d5
sub edi, eax
push edi
push dword [esp + 0x24]
jmp 0x40557d
cmp dword [esp + 0x1c], 0xa
jle 0x40551b
mov esi, dword [ebx + 0x270]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x58]
mov edi, dword [esp + 0x14]
sub edi, eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x60]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
push eax
push dword [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.0040a0e5
sub edi, eax
push edi
jmp 0x40557d
lea ecx, [esp + 0x1c]
call fcn.0040a0e5
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0040a0d5
cmp esi, eax
mov esi, dword [ebx + 0x270]
push 1
mov eax, dword [esi]
mov ecx, esi
jle 0x40555f
call dword [eax + 0x60]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
push eax
lea ecx, [esp + 0x28]
call fcn.0040a0d5
add eax, dword [esp + 0x24]
push eax
push dword [esp + 0x24]
jmp 0x40557d
call dword [eax + 0x60]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
push eax
push dword [esp + 0x24]
lea ecx, [esp + 0x2c]
call fcn.0040a0e5
add eax, dword [esp + 0x24]
push eax
mov ecx, ebx
call fcn.0040a801
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, ebx
call fcn.0040a801
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00437a1e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405b70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4491d3
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x45dcf0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x27c]
mov dword [ebp - 4], 1
call fcn.00409c0a
lea eax, [ebp + 0x8c]
push eax
lea ecx, [esi + 0x300]
call fcn.00409c0a
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x405780
push 0
push 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.00409b93
lea ecx, [ebp + 0x8c]
mov dword [ebp - 4], 0xffffffff
call fcn.00409b93
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00437a1e
mov esp, ebp
pop ebp
ret 0x108

Function at 0x406f05
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor esi, esi
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x406f28
or esi, 1
push 1
call edi
test ax, ax
jns 0x406f34
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x406f40
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x406f4c
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x408813
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xd0]
xor ebx, ebx
call fcn.0040a801
mov edi, dword [ebp + 8]
test eax, eax
jle 0x408869
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp + 0xb], 0
call fcn.00409c76
mov edx, dword [eax]
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x4088c4
lea ecx, [esi + 0xd0]
inc ebx
call fcn.0040a801
cmp ebx, eax
jl 0x408832
sub edi, 0x100
je 0x40891c
sub edi, 4
je 0x4088c8
dec edi
dec edi
jne 0x408913
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.004383ac
pop ecx
mov ecx, dword [esi + 0x50]
push 0x8000000a
lea edx, [ebp + 8]
mov word [ebp + 8], ax
mov eax, dword [ecx]
push edx
push 0x40993c
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x408913
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x408915
cmp dword [esi + 0x54], 0
je 0x408913
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.00406f05
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x408913
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x408969
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x408969
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x408969
mov ecx, dword [esi + 0x54]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004384bc
pop ecx
pop ecx
test eax, eax
je 0x408969
mov ecx, dword [esi + 0x54]
call fcn.0041663f
test al, al
jne 0x408913
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call fcn.00409353
jmp 0x4088c4