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

Disassembly:
push 0x18
mov eax, 0x10179e14
call fcn.1014f0c0
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 0x10014c0e
push dword [ebp + 8]
call fcn.10014e83
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10014c95
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 0x10014bf7
push ecx
call fcn.1001b096
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 0x10014bf7
xor edi, edi
inc edi
jmp 0x10014c01
push dword [ebx]
call fcn.10006c1e
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.10014a2d
jmp 0x10014c93
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 [0x10188a08]
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 0x10014c8b
mov esi, dword [ebp + 0x14]
shr ecx, 1
push ecx
mov dword [esi], ecx
call fcn.1001b096
mov dword [ebx], eax
pop ecx
cmp dword [esi], edi
jbe 0x10014c85
lea esi, [edi + edi]
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.10014a0a
push esi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.10014a0a
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 0x10014c52
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.10001e9f
mov eax, edi
call fcn.1014f08e
ret 0x10

Function at 0x10014c9d
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 0x10014cf0
push esi
push dword [ebp + 8]
call fcn.10014e83
mov edi, eax
test edi, edi
je 0x10014ceb
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 0x10014ceb
mov eax, dword [ebp - 8]
jmp 0x10014d02
mov eax, dword [ebp + 0x10]
jmp 0x10014d02
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 0x10014d08
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10179e41
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.1014f270
mov eax, dword [0x101dbe80]
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 0x10014e36
push ebx
push edx
call fcn.10014e83
mov ebx, eax
test ebx, ebx
jne 0x10014d70
push esi
jmp 0x10014e5e
lea ecx, [ebp - 0x1014]
call fcn.10004d09
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 0x10014df5
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.1000567f
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.10014fbf
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x101c], 0
jne 0x10014e23
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.10007ba2
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.10001e9f
jmp 0x10014e65
push esi
mov ecx, edi
call fcn.100074d4
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x10014e1c
test esi, esi
jne 0x10014e3f
mov esi, 0x101bb5e8
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.100074d4
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.1014f080
leave
ret 0x10
Function at 0x10015054
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 0x1001509c
push ebx
push dword [ebp + 8]
call fcn.10014e83
mov edi, eax
test edi, edi
je 0x100150fd
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 0x100150fd
mov eax, dword [ebp + 0x14]
lea eax, [eax*2 + 1]
push eax
call fcn.1001b096
mov edx, dword [ebp + 0x14]
mov ebx, eax
pop ecx
xor ecx, ecx
test edx, edx
je 0x100150d3
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 0x100150b8
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 [0x10188a08]
mov ecx, edi
call esi
push ebx
mov esi, eax
call fcn.10006c1e
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x10015e69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x10015eb1
call fcn.10024e5d
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10015eb1
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10015ebe
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x10015efa
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x10015edd
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x10015ee6
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x10015ef8
test di, di
jne 0x10015ef8
test dx, dx
je 0x10015efa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10015eff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x84], edi
test edi, 0xffff0000
jne 0x10015f2a
cmp dword [esi + 0x80], 0
jne 0x10015f2a
movzx eax, di
mov dword [esi + 0x80], eax
call fcn.10024e5d
push 5
push edi
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10015f5a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10015f5a
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.100161c1
jmp 0x10015f5c
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10015f63
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.10024e5d
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10015fa3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10015fa3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.10015fab
jmp 0x10015fa5
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x10016296
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x10179f3d
call fcn.1014f129
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
call fcn.10024e5d
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x100162f5
call fcn.10024e5d
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10016309
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x10016305
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x10016311
or eax, 0xffffffff
jmp 0x10016463
mov ecx, edi
call fcn.100168a0
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.1001cb61
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x1001639d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x1001639d
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1001639d
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.1000690c
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x1001639a
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x10188a08]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x1001639a
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.100234bc
test eax, eax
je 0x1001639a
push 0
mov ecx, esi
call fcn.10022dda
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.1001c82e
push ebx
call fcn.1001df23
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.10016239
test eax, eax
jne 0x100163e6
cmp dword [edi + 0x9c], eax
jne 0x100163e6
call fcn.10024e5d
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.1001df23
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.10016239
and dword [edi + 0x9c], 0
jmp 0x10016411
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x10016425
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.10022dda
test esi, esi
je 0x10016432
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x10016448
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x10016448
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x10188a08]
mov ecx, edi
call esi
mov ecx, edi
call fcn.10016857
mov eax, dword [edi + 0x68]
call fcn.1014f08e
ret
Function at 0x1001863a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x1001867f
call fcn.10024e5d
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1001867c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100186c6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x100186a2
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10188a08]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x100186c3
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x10188a08]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x1001deb6
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 0x1001def5
call fcn.10024e5d
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1001def5
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001defd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.10097cd4
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1001e8f9
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 0x1001e985
cmp dword [esi + 0x20], 0
je 0x1001e985
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001e985
cmp dword [ebp + 8], 0
je 0x1001e985
xor edi, edi
mov ebx, edi
call fcn.10024e5d
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 0x1001e969
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 0x1001e985
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.100aa0f4
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1001e981
mov ecx, esi
call fcn.1001e697
mov eax, edi
jmp 0x1001e987
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1002337c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x10179d69
call fcn.1014f0c0
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x100233a2
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x100233fc
lea ecx, [ebp - 0x10]
call fcn.10004d09
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 [0x10188a08]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.1015b562
push eax
call fcn.10007a56
add esp, 0x14
test esi, esi
je 0x100233ef
push esi
call fcn.1015a500
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001e9f
mov eax, ebx
call fcn.1014f08e
ret 8
Function at 0x10024978
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x1017a6dc
call fcn.1014f129
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 0x10024a6f
cmp edi, dword [ebx + 0xc]
jge 0x10024a6f
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x100249cf
cmp edi, dword [esi + 8]
jl 0x10024a5d
cmp dword [ebp + 0xc], 0
je 0x10024a5d
xor edi, edi
jmp 0x10024a01
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.1002458a
mov esi, eax
test esi, esi
je 0x100249e9
mov dword [esi], vtable.CThreadData.0
jmp 0x100249eb
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.10017088
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
jne 0x10024a1d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x10024a29
push 2
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x10024a96
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.101511d0
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 0x10024a6f
cmp edi, dword [esi + 8]
jge 0x10024a6f
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.1014f08e
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.100197cb
int3
Function at 0x1002c3c5
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 0x1002c3de
call fcn.10024e5d
mov esi, dword [eax + 0xc]
push 0x1018d7e0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x1002c420
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1002c420
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x1002c420
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.1002c429
jmp 0x1002c422
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1004a3e8
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 0x1004a546
push esi
push edi
push 0x1019a5e4
call fcn.100244ce
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x1004a481
mov edi, dword [ebx + 0x168]
jmp 0x1004a46d
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 0x1004a46d
push esi
call fcn.1001df23
push eax
push 0x101db418
call fcn.1002442f
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x1004a46d
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x10188a08]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x1004a46d
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x1004a41c
lea ecx, [ebx + 0x164]
call fcn.1000f972
jmp 0x1004a544
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1004a544
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.100085a3
mov edi, dword [eax]
test edi, edi
jne 0x1004a4ad
xor esi, esi
jmp 0x1004a4b0
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 0x1004a534
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1004a534
cmp dword [ebp - 0x10], 0
jne 0x1004a509
push edi
push 0x101db418
call fcn.1002442f
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x10188a08]
mov ecx, edi
call esi
push eax
push 0x10190b40
call fcn.1002442f
pop ecx
pop ecx
test eax, eax
je 0x1004a534
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.10049559
test eax, eax
jne 0x1004a534
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.1004768f
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x1004a498
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1008a39b
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 0x1008a43a
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x1008a436
mov eax, dword [eax + 0x20]
test eax, eax
je 0x1008a436
cmp dword [ebx], eax
jne 0x1008a436
mov eax, dword [ebx + 4]
sub eax, 1
je 0x1008a410
sub eax, 1
je 0x1008a3e0
sub eax, 1
jne 0x1008a436
mov edi, 0x428e
jmp 0x1008a415
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1008a415
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x10188a08]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x1008a415
add edi, 3
jmp 0x1008a415
mov edi, 0x3ea0
push edi
mov ecx, 0x101e40c4
call fcn.10004caa
test eax, eax
je 0x1008a43a
mov eax, dword [0x101e40c4]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x1008a42f
call fcn.100197b1
int3
Function at 0x10092df6
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101dbe80]
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 [0x101e40e4]
mov dword [ebp - 0x20], ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
test eax, eax
jne 0x10092e4f
push 0x1018a9e8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10092e74
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 [0x101e40e4], eax
jmp 0x10092e58
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x10092e74
mov eax, dword [ebp - 0x18]
mov ecx, esi
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [0x10188a08]
call esi
jmp 0x10092fb6
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.1009316d
lea eax, [ebp - 0x14]
push eax
call fcn.1015aee6
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.1015b4fe
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.1009316d
lea eax, [ebp - 0x14]
push eax
call fcn.1015aee6
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.1015b4fe
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.1009316d
lea eax, [ebp - 0x14]
push eax
call fcn.1015aee6
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.1015b4fe
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.1009316d
lea eax, [ebp - 0x14]
push eax
call fcn.1015aee6
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.1015b4fe
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push 7
push eax
add edi, esi
inc dword [ebx]
push 0x800
call fcn.1009316d
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.1015aee6
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.1015b4fe
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.1014f080
leave
ret