joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001214c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x1016cc34
call fcn.1014b863
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [esi], edi
cmp dword [eax + 0x58], edi
je 0x100121f4
push dword [ebp + 8]
call fcn.10012469
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1001227b
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
push ecx
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push ecx
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x14]
mov dword [esi], ecx
test eax, eax
jne 0x100121dd
push ecx
call fcn.1001c289
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 dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100121dd
xor edi, edi
inc edi
jmp 0x100121e7
push dword [ebx]
call fcn.1000516a
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.10012013
jmp 0x10012279
mov eax, dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0x84]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call dword [0x1017b9f0]
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x10012271
mov esi, dword [ebp + 0x14]
shr ecx, 1
push ecx
mov dword [esi], ecx
call fcn.1001c289
mov dword [ebx], eax
pop ecx
cmp dword [esi], edi
jbe 0x1001226b
lea esi, [edi + edi]
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.10011ff0
push esi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.10011ff0
mov ecx, dword [ebp + 0x10]
add al, bl
mov ecx, dword [ecx]
mov byte [edi + ecx], al
inc edi
mov eax, dword [ebp + 0x14]
cmp edi, dword [eax]
jb 0x10012238
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.100045aa
mov eax, edi
call fcn.1014b831
ret 0x10

Function at 0x10012283
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 0x100122d6
push esi
push dword [ebp + 8]
call fcn.10012469
mov edi, eax
test edi, edi
je 0x100122d1
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_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100122d1
mov eax, dword [ebp - 8]
jmp 0x100122e8
mov eax, dword [ebp + 0x10]
jmp 0x100122e8
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc
Function at 0x100122ee
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016cc61
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.1014ba10
mov eax, dword [0x101c9e80]
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, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edi
mov dword [ebp - 0x1024], eax
cmp dword [ecx + 0x58], ebx
je 0x1001241c
push ebx
push edx
call fcn.10012469
mov ebx, eax
test ebx, ebx
jne 0x10012356
push esi
jmp 0x10012444
lea ecx, [ebp - 0x1014]
call fcn.10002c96
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x1024]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x101c], eax
test eax, eax
jne 0x100123db
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.10004168
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x1024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x101c], eax
call fcn.100125a5
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x101c], 0
jne 0x10012409
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.10003630
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.100045aa
jmp 0x1001244b
push esi
mov ecx, edi
call fcn.10002bec
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x10012402
test esi, esi
jne 0x10012425
mov esi, 0x1017be21
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.10002bec
mov eax, edi
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.1014b0c0
leave
ret 0x10
Function at 0x1001263a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edi
mov edi, ecx
cmp dword [edi + 0x58], ebx
je 0x10012682
push ebx
push dword [ebp + 8]
call fcn.10012469
mov edi, eax
test edi, edi
je 0x100126e3
push dword [ebp + 0x14]
push esi
push 3
push ebx
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
jmp 0x100126e3
mov eax, dword [ebp + 0x14]
lea eax, [eax*2 + 1]
push eax
call fcn.1001c289
mov edx, dword [ebp + 0x14]
mov ebx, eax
pop ecx
xor ecx, ecx
test edx, edx
je 0x100126b9
mov al, byte [esi + ecx]
and al, 0xf
add al, 0x41
mov byte [ebx + ecx*2], al
mov al, byte [esi + ecx]
shr al, 4
add al, 0x41
mov byte [ebx + ecx*2 + 1], al
inc ecx
cmp ecx, edx
jb 0x1001269e
mov byte [ebx + ecx*2], 0
mov eax, dword [edi]
push ebx
push dword [ebp + 0xc]
mov esi, dword [eax + 0x88]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1017b9f0]
mov ecx, edi
call esi
push ebx
mov esi, eax
call fcn.1000516a
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x1001606d
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x1016cea7
call fcn.1014b8cc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x1c]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
test edi, edi
jle 0x10016164
cmp edi, dword [ebx + 0xc]
jge 0x10016164
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x100160c4
cmp edi, dword [esi + 8]
jl 0x10016152
cmp dword [ebp + 0xc], 0
je 0x10016152
xor edi, edi
jmp 0x100160f6
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.10015c7f
mov esi, eax
test esi, esi
je 0x100160de
mov dword [esi], vtable.CThreadData.0
jmp 0x100160e0
mov esi, edi
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
mov dword [esi + eax], ecx
mov dword [ebx + 0x14], esi
push 4
push dword [ebx + 0xc]
call fcn.100157de
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
jne 0x10016112
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x1001611e
push 2
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x1001618b
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push edi
push eax
call fcn.1014d4d0
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10016164
cmp edi, dword [esi + 8]
jge 0x10016164
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.1014b831
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.10014bb8
int3
Function at 0x1001742c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101c9e80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [0x101ceb5c]
mov dword [ebp - 0x20], ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
test eax, eax
jne 0x10017485
push 0x1017f0e4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100174aa
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x101ceb5c], eax
jmp 0x1001748e
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x100174aa
mov eax, dword [ebp - 0x18]
mov ecx, esi
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [0x1017b9f0]
call esi
jmp 0x100175ec
and dword [ebx], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ebx, ax
lea eax, [ebp - 0x14]
push 7
push eax
push ebx
call fcn.100177a3
lea eax, [ebp - 0x14]
push eax
call fcn.10150c8c
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.10155d16
mov eax, dword [ebp - 0x20]
lea edi, [esi + 1]
push 7
and ebx, 0x3ff
inc dword [eax]
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.100177a3
lea eax, [ebp - 0x14]
push eax
call fcn.10150c8c
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx + edi*2]
push ecx
call fcn.10155d16
mov eax, dword [ebp - 0x20]
add esp, 0x38
add edi, esi
inc dword [eax]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ebx, ax
lea eax, [ebp - 0x14]
push 7
push eax
push ebx
call fcn.100177a3
lea eax, [ebp - 0x14]
push eax
call fcn.10150c8c
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.10155d16
mov eax, dword [ebp - 0x20]
add edi, esi
push 7
and ebx, 0x3ff
inc dword [eax]
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.100177a3
lea eax, [ebp - 0x14]
push eax
call fcn.10150c8c
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.10155d16
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push 7
push eax
add edi, esi
inc dword [ebx]
push 0x800
call fcn.100177a3
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.10150c8c
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.10155d16
mov ecx, dword [ebp - 0x1c]
lea eax, [edi + esi]
add esp, 0x10
xor edx, edx
inc dword [ebx]
mov word [ecx + eax*2 + 2], dx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1014b0c0
leave
ret
Function at 0x10019759
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x234
mov eax, 0x1016d1f2
call fcn.1014b896
mov ebx, ecx
mov dword [ebp - 0x224], ebx
and dword [ebp - 0x228], 0
call fcn.10016552
push 0
mov ecx, dword [eax + 4]
call fcn.1001202d
mov edi, eax
xor eax, eax
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov eax, dword [ebx]
mov byte [ebp - 4], 1
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call dword [0x1017b9f0]
mov ecx, ebx
call esi
push 0x2001f
lea ecx, [ebp - 0x234]
push dword [eax]
push edi
call fcn.1001950a
mov ecx, dword [ebp - 0x21c]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.100045aa
test esi, esi
jne 0x1001994b
xor ebx, ebx
lea eax, [ebp - 0x113]
push 0x103
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.1014d4d0
mov edi, dword [ebp - 0x234]
lea eax, [ebp - 0x21c]
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x114]
push eax
push ecx
jmp 0x100198e7
push 0x103
lea eax, [ebp - 0x217]
mov dword [ebp - 0x21c], 0x104
push 0
push eax
inc ebx
mov byte [ebp - 0x218], 0
call fcn.1014d4d0
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.100196fa
test eax, eax
jne 0x100198d2
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ecx + 4]
call fcn.1001832d
mov esi, eax
lea eax, [ebp - 0x218]
push eax
call fcn.10151020
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10004741
mov dword [ebp - 0x228], 1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x1001983f
test edi, edi
je 0x10019909
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x234], edi
mov ebx, dword [ebp - 0x224]
and dword [ebp - 0x230], 0
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
call dword [0x1017b9f0]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x240]
push dword [eax]
call fcn.10018b7e
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.100045aa
jmp 0x10019951
mov edi, dword [ebp - 0x234]
test edi, edi
je 0x1001995c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x240]
call fcn.10012013
mov eax, dword [ebp - 0x228]
call fcn.1014b845
ret
Function at 0x1001df34
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1016bffb
call fcn.1014b863
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x1001df5a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1001dfb4
lea ecx, [ebp - 0x10]
call fcn.10002c96
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 dword [0x1017b9f0]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.10155d7a
push eax
call fcn.1000333d
add esp, 0x14
test esi, esi
je 0x1001dfa7
push esi
call fcn.10151020
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.100045aa
mov eax, ebx
call fcn.1014b831
ret 8
Function at 0x1002a388
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x1002a3c7
call fcn.10016552
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1002a3c7
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1002a3cf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.100a44f9
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1002adc3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x1002ae4f
cmp dword [esi + 0x20], 0
je 0x1002ae4f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002ae4f
cmp dword [ebp + 8], 0
je 0x1002ae4f
xor edi, edi
mov ebx, edi
call fcn.10016552
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
test eax, eax
je 0x1002ae33
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1002ae4f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.100a4ff8
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1002ae4b
mov ecx, esi
call fcn.1002ab61
mov eax, edi
jmp 0x1002ae51
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10034c08
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x10034c21
call fcn.10016552
mov esi, dword [eax + 0xc]
push 0x10180d88
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10034c63
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10034c63
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10034c63
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.10034c6c
jmp 0x10034c65
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10052c96
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x10052df4
push esi
push edi
push 0x1018d744
call fcn.10015527
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x10052d2f
mov edi, dword [ebx + 0x168]
jmp 0x10052d1b
mov esi, dword [edi + 8]
mov edi, dword [edi]
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10052d1b
push esi
call fcn.1002a3f5
push eax
push 0x101c9430
call fcn.10015488
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x10052d1b
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x1017b9f0]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x10052d1b
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x10052cca
lea ecx, [ebx + 0x164]
call fcn.10005f9e
jmp 0x10052df2
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10052df2
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10005d38
mov edi, dword [eax]
test edi, edi
jne 0x10052d5b
xor esi, esi
jmp 0x10052d5e
mov esi, dword [edi + 0x20]
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10052de2
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10052de2
cmp dword [ebp - 0x10], 0
jne 0x10052db7
push edi
push 0x101c9430
call fcn.10015488
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x1017b9f0]
mov ecx, edi
call esi
push eax
push 0x101840f0
call fcn.10015488
pop ecx
pop ecx
test eax, eax
je 0x10052de2
mov esi, dword [ebp - 4]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea eax, [ebp - 8]
lea esi, [ebx + 0x164]
push eax
mov ecx, esi
call fcn.10051e07
test eax, eax
jne 0x10052de2
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.1004ff3d
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x10052d46
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10092bd4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x10092c73
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x10092c6f
mov eax, dword [eax + 0x20]
test eax, eax
je 0x10092c6f
cmp dword [ebx], eax
jne 0x10092c6f
mov eax, dword [ebx + 4]
sub eax, 1
je 0x10092c49
sub eax, 1
je 0x10092c19
sub eax, 1
jne 0x10092c6f
mov edi, 0x428e
jmp 0x10092c4e
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10092c4e
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x1017b9f0]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x10092c4e
add edi, 3
jmp 0x10092c4e
mov edi, 0x3ea0
push edi
mov ecx, 0x101d1c6c
call fcn.10003ee0
test eax, eax
je 0x10092c73
mov eax, dword [0x101d1c6c]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x10092c68
call fcn.10014b9e
int3

Function at 0x1009b421
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x1009b44b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1009b451
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
leave
ret
lea ecx, [esi + 0xc]
call fcn.10003267
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.100a06e0
int3

Function at 0x1009b72c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x1009b73d
xor eax, eax
jmp 0x1009b759
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1009b75e
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.10003267
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.100a06e0
int3

Function at 0x1009b7d0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0
push dword [ebp + 0xc]
mov eax, dword [edi]
push dword [ebp + 8]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x1017b9f0]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1009b803
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.10003267
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.100a06e0
int3
Function at 0x1009b8d7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x1009b902
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1009b908
cmp dword [ebp - 4], esi
jne 0x1009b91f
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.10003267
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.100a06e0
lea ecx, [edi + 0xc]
call fcn.10003267
push eax
push 0xffffffffffffffff
push 0xd
call fcn.100a0336
int3