joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100bf3f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
movzx eax, byte [edx]
push ebx
push esi
xor eax, 0x811c9dc5
push edi
mov edi, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 8]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push edx
push eax
call fcn.100bfbd0
mov esi, dword [eax + 4]
test esi, esi
je 0x100bf4a5
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x100bf46c
cmp eax, esi
jne 0x100bf464
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x100bf474
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x100bf474
cmp eax, esi
jne 0x100bf474
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edi + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 0x50]
call fcn.10031020
push 0x5c
push esi
call fcn.100c2b66
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100c0190
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x100c01c1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.100313d0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100c02cc
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x100c0251
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100c02c2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x100c028b
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x100c0283
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x100c02bf
cmp edi, edx
je 0x100c029c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100c02d5
cmp edi, edx
jne 0x100c0290
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x100c0200
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100c02bf
Function at 0x10003610
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x101b9fe4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 0x2e484e5c
push eax
push 0
mov dword [ebp - 0x10c], 0x747874
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [ebp - 0x110]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10003663
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10003673
mov ecx, edx
lea eax, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0x80
push 3
push 0
push 1
mov ecx, edx
and ecx, 3
push SysReAllocStringLen
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100036ec
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.100057b3
add esp, 4
mov dword [ebp - 0x10c], 0
mov edi, eax
lea eax, [ebp - 0x10c]
push 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test edi, edi
je 0x100036ec
mov ecx, edi
call fcn.10002e30
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1013c93c
mov esp, ebp
pop ebp
ret
Function at 0x100085dd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x10159fd5
call fcn.1013d352
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x10008687
push dword [ebp + 8]
mov ecx, eax
call fcn.10008915
mov esi, eax
test esi, esi
je 0x1000871a
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x10008670
push edx
call fcn.100057b3
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10008670
xor edi, edi
inc edi
jmp 0x1000867a
push dword [ebx]
call fcn.100057bc
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.100084a2
jmp 0x10008718
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.1013d315
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x10008710
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.100057b3
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x1000870a
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.1005386a
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.1005386a
add al, bl
mov edx, edi
test edx, edx
jns 0x100086fb
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x100086d2
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.10006d7e
mov eax, edi
call fcn.1013d31b
ret 0x10

Function at 0x10008722
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x10008775
push esi
push dword [ebp + 8]
call fcn.10008915
mov edi, eax
test edi, edi
jne 0x10008745
mov eax, dword [ebp + 0x10]
jmp 0x10008787
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10008740
mov eax, dword [ebp - 8]
jmp 0x10008787
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10013e5b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x10013ea0
call fcn.1000a82a
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10013ea0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10013ebc
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1001ec03
mov ebx, eax
test edi, edi
je 0x10013eba
test esi, esi
je 0x10013eba
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100148c6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x10014984
cmp dword [esi + 0x20], 0
je 0x10014984
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10014984
cmp dword [ebp + 8], 0
je 0x10014984
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.1000a82a
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10014955
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10014984
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.1001f7d0
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x10014975
test edi, edi
je 0x10014975
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x10014980
mov ecx, esi
call fcn.10014669
mov eax, ebx
jmp 0x10014986
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10018e04
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1015d96a
call fcn.1013d352
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x10018e2a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x10018e89
call fcn.1000c282
push eax
lea ecx, [ebp - 0x10]
call fcn.100057d6
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.1013d315
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.1014477b
push eax
call fcn.10005dea
add esp, 0x14
test esi, esi
je 0x10018e7c
push esi
call fcn.10142873
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10006d7e
mov eax, ebx
call fcn.1013d31b
ret 8
Function at 0x1001fe09
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x1001fe34
cmp dword [ebx + 0x80], 0
jne 0x1001fe34
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.1000a82a
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.100200c7
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1001fe6e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.1000a82a
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1001fea5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.1001fec6
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10021fca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x10021fe4
mov edi, dword [esi + 0xc]
jmp 0x10022024
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10021ffd
call fcn.100112b6
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x10022012
call fcn.100112b6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x10022024
call fcn.100112b6
call fcn.1000a82a
cmp dword [eax + 0x3c], 0
je 0x10022039
push edi
mov ecx, ebx
call fcn.1002165e
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.10022216
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x10022062
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x1002206e
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100244bb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.10018d4e
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x100244f7
call fcn.100246dd
mov dword [esi + 0xc], 1
jmp 0x100244fc
call fcn.100246dd
cmp dword [esi], 0
je 0x10024545
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x1002451f
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.1000bf83
jmp 0x10024530
push 0xff
mov ecx, esi
call fcn.100069c9
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.10008a51
jmp 0x10024569
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x10024569
push dword [esi]
push dword [ebp - 4]
call fcn.1000d8cc
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10024632
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.100246dd
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1002467a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000bf83
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10008a51
jmp 0x10024685
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1000d8cc
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x100363c1
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10084ce0
call fcn.1000a87e
cmp dword [eax + 0x14], 0
jne 0x100363dc
mov ecx, esi
pop esi
jmp fcn.10035709
pop esi
ret

Function at 0x10037285
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.10004e50
call fcn.1000a87e
cmp dword [eax + 0x14], 0
jne 0x100372a0
mov ecx, esi
pop esi
jmp fcn.10036b03
pop esi
ret
Function at 0x10045b32
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x10045b4b
call fcn.1000a82a
mov esi, dword [eax + 0xc]
push 0x10171e94
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x10045ba1
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10045ba0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10045b81
xor esi, esi
jmp 0x10045b97
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.10045ba9
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1015557c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1015523c
Function at 0x403000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40305b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40305b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40304a
cmp esi, edx
jae 0x40305b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x403038
cmp esi, edx
jae 0x40305b
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x406af0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, ecx
push 0x11
call edi
test ax, ax
js 0x406b5b
push 0x10
call edi
test ax, ax
js 0x406b5b
mov ebx, dword [ebp + 0xc]
mov ecx, esi
mov eax, dword [esi]
push ebx
push dword [ebp + 8]
call dword [eax + 0x1bc]
mov edi, eax
test edi, edi
je 0x406b5b
push dword [ebp + 0x14]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
mov eax, dword [eax + 0x28]
push esi
call eax
test al, al
jne 0x406b5b
push dword [ebp + 0x18]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push esi
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x14

Function at 0x4072b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a33dd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x616780]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00432dfe
mov ecx, eax
test ecx, ecx
je 0x4073d1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push 1
push ecx
mov ecx, edi
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x238]
call eax
test al, al
je 0x40739d
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax - 0xc]
inc ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40739d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40739d
push ebx
push dword [ebp - 0x10]
push eax
call fcn.00579d70
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x40739d
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x407362
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40739d
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40737b
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40739d
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x407397
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40739d
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4073bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401ec0
int3
Function at 0x408c20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x616780]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push edi
mov edi, ecx
cmp eax, 0x51
ja case.0x408c49.33
movzx eax, byte [eax + 0x408e20]
jmp dword [eax*4 + 0x408e00]
mov eax, dword [edi]
push 1
call dword [eax + 0x250]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057837f
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
push 0
call dword [eax + 0x250]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057837f
mov esp, ebp
pop ebp
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x408c49.33
mov ecx, edi
call fcn.00435639
test al, 4
jne case.0x408c49.33
push 2
push 2
push 0xffffffffffffffff
mov ecx, edi
call fcn.0043e301
jmp case.0x408c49.33
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x408c49.33
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2a8]
jmp case.0x408c49.33
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x408c49.33
mov eax, dword [edi]
mov ecx, edi
push 0
push 0xffffffffffffffff
call dword [eax + 0x17c]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057837f
mov esp, ebp
pop ebp
ret 0xc
push 1
push 0xffffffffffffffff
push 0x100c
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [edi + 0x98]
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0x1b8]
jmp case.0x408c49.33
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js case.0x408c49.33
push esi
mov ecx, edi
call fcn.00405600
mov ecx, edi
test al, 4
je 0x408d90
call fcn.00435639
test eax, 0x1000
je 0x408de4
mov ecx, edi
call fcn.00405690
mov esi, eax
cmp esi, 0xffffffff
je 0x408de4
mov edx, dword [edi]
mov ecx, edi
push esi
mov edx, dword [edx + 0x240]
call edx
mov edx, dword [edi]
test al, al
mov ecx, edi
sete al
movzx eax, al
push eax
push esi
call dword [edx + 0x244]
jmp 0x408de4
call fcn.00405690
cmp eax, 0xffffffff
je 0x408de4
mov eax, dword [edi + 0x98]
cmp eax, 0xffffffff
je 0x408de4
lea ecx, [ebp - 0x14]
xorps xmm0, xmm0
push ecx
push 1
push eax
mov ecx, edi
movups xmmword [ebp - 0x14], xmm0
call fcn.00405690
push eax
mov ecx, edi
call fcn.004052e0
test eax, eax
je 0x408de4
push dword [ebp - 0x10]
mov esi, dword [edi]
mov ecx, edi
push dword [ebp - 0x14]
push dword [edi + 0x98]
call fcn.00405690
push eax
mov ecx, edi
call dword [esi + 0x1b4]
pop esi
mov ecx, edi
call fcn.00437957
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0057837f
mov esp, ebp
pop ebp
ret 0xc