joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b8ccc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 0x14], 0
jne 0x4b8cdf
xor eax, eax
jmp 0x4b8e63
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x24], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
movzx eax, word [eax + 4]
cmp eax, 0x14c
jne 0x4b8d1d
mov eax, dword [ebp - 8]
add eax, 0xf8
mov dword [ebp - 0xc], eax
jmp 0x4b8d36
mov eax, dword [ebp - 8]
movzx eax, word [eax + 4]
cmp eax, 0x8664
jne 0x4b8d36
mov eax, dword [ebp - 8]
add eax, 0x108
mov dword [ebp - 0xc], eax
and dword [ebp - 0x10], 0
jmp 0x4b8d43
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x10], eax
je 0x4b8d7c
imul eax, dword [ebp - 0x10], 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x24]
push eax
push 0x40
imul eax, dword [ebp - 0x10], 0x28
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 8]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x4b8d3c
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x2c]
jae 0x4b8e1c
mov eax, dword [ebp + 0xc]
add eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
jmp 0x4b8dac
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x30]
je 0x4b8e0b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
test eax, eax
jne 0x4b8dc4
jmp 0x4b8da5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
and eax, 0xfff
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
add ecx, eax
add ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
sar eax, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
je 0x4b8dfc
jmp 0x4b8e09
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x4b8da5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
jmp 0x4b8d7c
and dword [ebp - 0x14], 0
jmp 0x4b8e29
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x14], eax
je 0x4b8e61
imul eax, dword [ebp - 0x14], 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x38], edx
push 0
push dword [ebp - 0x24]
imul eax, dword [ebp - 0x14], 0x28
mov ecx, dword [ebp - 0xc]
push dword [ecx + eax + 8]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x4b8e22
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4b900a
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x70]
push ebx
push esi
push edi
mov esi, dword [eax]
xor edi, edi
call fcn.004b8fcd
push esi
call fcn.004b91bb
push dword [esp + 0x84]
mov esi, eax
call fcn.004b91bb
push 0x58
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.004b1142
lea eax, [esp + 0x34]
push eax
push 5
push esi
call fcn.004b8ee7
mov ebx, eax
add esp, 0x20
cmp ebx, 5
jb 0x4b91a2
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call fcn.004b91f0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4b91a2
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [esp + 0x14], 0
mov ebp, eax
and dword [esp + 0x10], 0
lea eax, [esp + 0x14]
push eax
push 0x40
push ebx
push esi
push ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x4b9185
lea eax, [esp + 0x10]
push eax
push 0x40
push 0x6c
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x4b916a
xor edx, edx
lea ecx, [edi + 0x2c]
test ebx, ebx
je 0x4b90eb
mov ebp, esi
sub ebp, ecx
mov al, byte [ecx + ebp]
mov byte [ecx], al
mov byte [edi + edx + 0x4c], al
inc edx
inc ecx
cmp edx, ebx
jb 0x4b90d5
mov ebp, dword [esp + 0x20]
lea ecx, [edi + 0x2c]
lea eax, [ebx + esi]
push eax
lea eax, [ecx + ebx]
push eax
call fcn.004b8f88
mov edx, dword [esp + 0x20]
mov eax, edx
pop ecx
pop ecx
mov ecx, esi
sub eax, esi
sub ecx, edx
cmp edx, esi
cmovb eax, ecx
cmp eax, 0x7fff0000
jbe 0x4b9134
lea eax, [edi + 0xc]
push edx
push eax
call fcn.004b8f88
pop ecx
sub eax, edi
pop ecx
sub eax, 0xc
push eax
lea eax, [edi + 0xc]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [edi + 0xc]
jmp 0x4b9136
mov eax, edx
push eax
push esi
call fcn.004b8f88
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
mov dword [edi + 8], eax
lea eax, [edi + 0x2c]
push ebx
push eax
push ebp
mov dword [edi + 4], ebx
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push 0x6c
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp dword [edi], 0
pop ebp
je 0x4b9196
mov ecx, dword [esp + 0x7c]
lea eax, [edi + 0x2c]
mov dword [ecx], eax
jmp 0x4b91a2
push 1
push edi
call fcn.004b92e4
pop ecx
pop ecx
xor edi, edi
push 0x4bdd40
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
add esp, 0x6c
ret
Function at 0x4b91f0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x40
push ebx
xor ebx, ebx
cmp dword [0x4bdd34], 0x40
jae 0x4b92dd
mov ecx, dword [esp + 0x48]
push ebp
push esi
mov esi, dword [esp + 0x54]
mov ebp, 0xfff80000
add esi, ecx
add ecx, dword [esp + 0x5c]
push edi
cmp ecx, 0x80000000
lea edi, [esp + 0x2c]
push 9
lea eax, [ecx + 0x7ff80000]
cmovb ebp, eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
lea edi, [esi - 0x7fff0000]
inc eax
cmp esi, 0x80000000
cmovb edi, eax
cmp edi, ebp
jae 0x4b92da
push 0x1c
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4b92b5
cmp dword [esp + 0x20], 0x10000
jne 0x4b92a7
mov eax, dword [esp + 0x1c]
cmp eax, 0x6c
jb 0x4b92ab
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jb 0x4b92ab
lea eax, [ecx - 1]
xor edx, edx
add eax, edi
div ecx
push 0x20
imul eax, ecx
push 0x3000
push 0x6c
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4b92b9
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
add edi, eax
cmp edi, ebp
jb 0x4b9258
test ebx, ebx
je 0x4b92da
xor eax, eax
cmp dword [eax*4 + 0x4bdd58], 0
je 0x4b92cd
inc eax
cmp eax, 0x40
jb 0x4b92bb
jmp 0x4b92da
inc dword [0x4bdd34]
mov dword [eax*4 + 0x4bdd58], ebx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x40
ret
Function at 0x4ba94c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x10c
push ebp
mov ebp, dword [esp + 0x118]
push edi
lea edi, [eax + ebp]
cmp eax, 8
ja 0x4ba96f
push 0xffffffffffffffe2
pop eax
jmp 0x4bab04
push ebx
mov ebx, dword [esp + 0x11c]
push esi
push 0x800
lea esi, [ebp + 8]
lea eax, [ebx + 0x5410]
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [ebx + 0x140c]
push esi
push eax
call fcn.004bcc43
add esp, 0x14
cmp eax, 0xffffff88
ja 0x4baaff
add esi, eax
mov dword [esp + 0x18], 0x1c
mov eax, edi
sub eax, esi
push eax
push esi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004bab6e
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 0xffffff88
ja 0x4baaff
cmp dword [esp + 0x14], 8
ja 0x4baaff
push dword [esp + 0x14]
lea eax, [esp + 0x30]
push dword [esp + 0x1c]
push eax
lea eax, [ebx + 0x804]
push eax
call fcn.004bb029
add esp, 0x10
cmp eax, 0xffffff88
ja 0x4baaff
add esi, dword [esp + 0x10]
mov eax, edi
sub eax, esi
mov dword [esp + 0x20], 0x34
push eax
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.004bab6e
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 0xffffff88
ja 0x4baaff
cmp dword [esp + 0x1c], 9
ja 0x4baaff
push dword [esp + 0x1c]
lea eax, [esp + 0xb4]
push dword [esp + 0x24]
push eax
lea eax, [ebx + 0xc08]
push eax
call fcn.004bb029
add esp, 0x10
cmp eax, 0xffffff88
ja 0x4baaff
add esi, dword [esp + 0x10]
mov eax, edi
sub eax, esi
mov dword [esp + 0x10], 0x23
push eax
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004bab6e
add esp, 0x14
mov dword [esp + 0x28], eax
cmp eax, 0xffffff88
ja 0x4baaff
cmp dword [esp + 0x24], 9
ja 0x4baaff
push dword [esp + 0x24]
lea eax, [esp + 0x6c]
push dword [esp + 0x14]
push eax
push ebx
call fcn.004bb029
add esp, 0x10
cmp eax, 0xffffff88
ja 0x4baaff
add esi, dword [esp + 0x28]
lea eax, [esi + 0xc]
cmp eax, edi
ja 0x4baaff
sub edi, esi
xor edx, edx
sub edi, 0xc
add ebx, 0x5c10
mov ecx, dword [esi]
add esi, 4
test ecx, ecx
je 0x4baaff
cmp ecx, edi
jae 0x4baaff
mov dword [ebx], ecx
inc edx
add ebx, 4
cmp edx, 3
jl 0x4baae1
sub esi, ebp
mov eax, esi
jmp 0x4bab02
push 0xffffffffffffffe2
pop eax
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x10c
ret
Function at 0x401090
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0xc]
push 0
not esi
push edi
push 0x75aa8d
push esi
push 0
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
mov eax, dword [0x75aa3c]
push 0
push 0x75aa3c
push 0x400
or esi, 1
push 0x75aa88
push eax
mov dword [0x762a9c], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x75aa4c]
mov ecx, dword [0x7630b8]
mov dl, byte [0x75aa38]
mov bl, byte [eax + ecx]
xor bl, dl
mov byte [eax + ecx], bl
mov eax, dword [esp + 0xc]
and eax, 0xff
mov dword [0x762b08], eax
mov eax, dword [0x7630b8]
test eax, eax
je 0x40111f
mov ecx, dword [esp + 0xc]
mov eax, dword [0x762a98]
xor eax, ecx
mov dword [0x762a98], eax
call fcn.00401160
mov edx, dword [0x75aa30]
push 0
push 0
push 0x5a
push 0
push 0x2d
push edx
push edi
push 0x4e3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [0x75aa3c]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
pop edi
mov dword [0x7630b8], eax
mov eax, dword [0x762a98]
pop esi
pop ebx
pop ecx
ret
Function at 0x6e7130
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
test bl, 0xf
jne 0x6e7145
sub dword [ebp + 0x10], 0x10
mov esi, dword [ebp + 0x10]
xor edx, edx
mov cl, byte [esi]
mov dword [0x762b04], eax
mov eax, dword [0x75aa40]
inc esi
mov byte [ebp + 0xf], cl
mov dword [ebp + 0x10], esi
mov dl, byte [eax + 1]
sub edx, 0x4c
jne 0x6e71d1
push 0
call dword [sym.imp.ADVAPI32.dll_AllocateLocallyUniqueId]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [0x762b6c], eax
mov dword [0x762b70], 0x46af70
pushal
mov ecx, dword [ebp + 8]
shl ebx, cl
and ebx, 0
or ebx, dword [0x762b70]
add ebx, ecx
push ecx
ror ecx, 3
mov eax, dword [ebx]
ror ecx, 3
xor ebx, ebx
shl ebx, cl
or ebx, dword [0x762b04]
pop ecx
add ebx, ecx
mov byte [ebx], al
push eax
mov al, byte [ebp + 0xf]
nop
push ecx
ror ecx, 3
pop edx
xor byte [ebx], al
pop ecx
popal
mov eax, dword [ebp + 8]
inc eax
cmp eax, 0x67d
mov dword [ebp + 8], eax
jg 0x6e720b
mov eax, dword [0x762ad4]
jmp 0x6e7139
call fcn.004d5410
mov ecx, dword [0x75aa68]
push 0xa
push 0xc
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [0x762b04]
mov ecx, dword [0x762b70]
or ecx, edx
push ebx
mov dword [0x762b70], ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x1000462e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1000464d
xor eax, eax
jmp 0x100046c8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10004663
xor eax, eax
jmp 0x100046c8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x100046ab
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x100046ab
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x10004684
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x100046b7
xor eax, eax
jmp 0x100046c8
mov eax, dword [ebp - 4]
movzx eax, word [eax]
test eax, eax
jne 0x100046c5
xor eax, eax
jmp 0x100046c8
mov eax, dword [ebp - 4]
leave
ret

Function at 0x1000a0a3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x1000a0ac
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
shl eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and dword [eax], 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1000a0e9
mov eax, dword [ebp - 0xc]
jmp 0x1000a13f
cmp dword [ebp - 4], 1
je 0x1000a0fa
cmp dword [ebp - 4], 2
je 0x1000a0fa
push 0xd
pop eax
jmp 0x1000a13f
cmp dword [ebp + 0xc], 0
je 0x1000a133
cmp dword [ebp - 8], 0
je 0x1000a12c
mov eax, dword [ebp - 8]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x1000a125
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + eax*2 - 2]
test eax, eax
je 0x1000a12a
push 0xd
pop eax
jmp 0x1000a13f
jmp 0x1000a133
mov eax, dword [ebp + 0xc]
and word [eax], 0
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
leave
ret 0xc
Function at 0x1000a16a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x10]
call fcn.10012bd8
push 0x2001f
push dword [ebp + 8]
mov eax, dword [ebp - 0x228]
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.10009eae
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000a1c8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x10]
call fcn.10009f20
mov eax, dword [ebp - 0x21c]
jmp 0x1000a257
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1000a22d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000a16a
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1000a224
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x10]
call fcn.10009f20
mov eax, dword [ebp - 0x220]
jmp 0x1000a257
mov dword [ebp - 4], 0x100
jmp 0x1000a1cf
lea ecx, [ebp - 0x10]
call fcn.10009ef3
push dword [ebp + 8]
mov ecx, dword [ebp - 0x228]
call fcn.1000a009
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
call fcn.10009f20
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1006f271
leave
ret 4
Function at 0x1000fb07
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
and dword [eax], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0x10], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.10071ef0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x100cae08
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x1000fbbe
jmp 0x1000fc32
mov eax, dword [ebp - 0x218]
mov dword [eax], 1
push str.OpenThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 4], eax
push str.CloseThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 8], eax
push str.DrawThemeBackground
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0xc], eax
push str.SetWindowTheme
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f271
leave
ret

Function at 0x10013b6f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10020ec7
test eax, eax
je 0x10013bd4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x10013bca
cmp dword [ebp + 8], 0x1b
jne 0x10013bb0
push 0
push 2
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10020fae
jmp 0x10013bca
cmp dword [ebp + 8], 0xd
jne 0x10013bca
push 0
push 1
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.10020fae
push 0
mov ecx, dword [ebp - 4]
call fcn.10013c7e
leave
ret 0xc
Function at 0x1002976e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.1000fce3
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1002979f
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002979f
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret

Function at 0x10032b91
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x334], 0
je 0x10032bc2
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x34]
and dword [eax + 0x334], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x324], 0
je 0x10032ca0
mov eax, dword [ebp - 0x34]
push dword [eax + 0x324]
call fcn.1000f9d4
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10032c96
push 2
push 0
push dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
call fcn.10031f94
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0x324]
cmp eax, dword [ecx + 0x320]
jne 0x10032c96
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx eax, ax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx ecx, cx
shl ecx, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
push 0x202
mov ecx, dword [ebp - 8]
call fcn.1000fa5a
mov ecx, dword [ebp - 8]
call fcn.100257ae
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10032c78
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
test eax, eax
je 0x10032c78
push 1
push 0
push 0
push dword [ebp - 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
jmp 0x10032c96
mov ecx, dword [ebp - 8]
call fcn.10009817
test eax, eax
je 0x10032c96
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 8]
call fcn.10009817
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
and dword [eax + 0x324], 0
cmp dword [ebp - 0xc], 0
je 0x10032d01
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.100347f4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.10034853
mov ecx, eax
call fcn.10030677
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], eax
leave
ret 0xc
Function at 0x10034ce4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov dword [ebp - 0x30], ecx
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x10034db0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
je 0x10034dae
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
je 0x10034dae
push 0x4ff
push 0x64
push 0
mov eax, dword [ebp - 0x30]
add eax, 0xc
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10034d4c
mov byte [ebp - 1], 1
jmp 0x10034dae
cmp dword [ebp - 0x10], 0xffffffff
jne 0x10034d56
jmp 0x10034dae
and dword [ebp - 0x2c], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10034d91
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x28], 0x12
jne 0x10034d91
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x10034da9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x2710
jbe 0x10034da9
jmp 0x10034dae
jmp 0x10034d09
jmp 0x10034dd2
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
je 0x10034dd2
push 0xbb8
mov eax, dword [ebp - 0x30]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop edi
leave
ret 4