joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40df5e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x44bda1
call fcn.00439f6c
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40df83
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40dfc9
lea ecx, [ebp - 0x10]
call fcn.00410101
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040c94d
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040310e
mov eax, esi
call fcn.0043a044
ret 8

Function at 0x410851
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x44ab63
call fcn.00439f6c
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040be61
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4108b3
call fcn.004145e4
cmp eax, 1
jne 0x4108b3
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00410371
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040d592
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040310e
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040310e
mov eax, esi
call fcn.0043a044
ret 0x10

Function at 0x4108dc
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x44ab63
call fcn.00439f6c
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040be61
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x41093e
call fcn.004145e4
cmp eax, 1
jne 0x41093e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00410371
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040d592
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040310e
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040310e
mov eax, esi
call fcn.0043a044
ret 0x14
Function at 0x41096a
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x44ab63
call fcn.00439f6c
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040be61
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4109cc
call fcn.004145e4
cmp eax, 1
jne 0x4109cc
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00410371
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040d592
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040310e
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040310e
mov eax, esi
call fcn.0043a044
ret 8

Function at 0x4129c5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x412a0d
call fcn.00414d0a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x412a0d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x412a50
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x412a39
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x412a39
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x412a4d
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x414427
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00414d0a
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x414460
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00414078
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4144be
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4144e2
cmp dword [edi + 0x54], 0
jne 0x4144e2
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00414d0a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041447f
push ebx
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 0x4378f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x464a70]
jne 0x437900
repz ret
jmp fcn.0043c8d1

Function at 0x445071
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043cd73
and dword [ebp - 4], 0
cmp dword [0x4688e4], 0
mov ebx, eax
jne 0x445122
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4451d3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x455d28
push edi
call esi
test eax, eax
je 0x4451d3
push eax
call fcn.0043cd01
mov dword [esp], 0x455d18
push edi
mov dword [0x4688e4], eax
call esi
push eax
call fcn.0043cd01
mov dword [esp], 0x455d04
push edi
mov dword [0x4688e8], eax
call esi
push eax
call fcn.0043cd01
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4688ec], eax
call esi
push eax
call fcn.0043cd01
pop ecx
mov dword [0x4688f4], eax
test eax, eax
je 0x445122
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043cd01
pop ecx
mov dword [0x4688f0], eax
mov eax, dword [0x4688f0]
cmp eax, ebx
je 0x44517a
cmp dword [0x4688f4], ebx
je 0x44517a
push eax
call fcn.0043cd7c
push dword [0x4688f4]
mov esi, eax
call fcn.0043cd7c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44517a
test edi, edi
je 0x44517a
call esi
test eax, eax
je 0x445171
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x445171
test byte [ebp - 0xc], 1
jne 0x44517a
or dword [ebp + 0x10], 0x200000
jmp 0x4451b3
mov eax, dword [0x4688e8]
cmp eax, ebx
je 0x4451b3
push eax
call fcn.0043cd7c
pop ecx
test eax, eax
je 0x4451b3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4451b3
mov eax, dword [0x4688ec]
cmp eax, ebx
je 0x4451b3
push eax
call fcn.0043cd7c
pop ecx
test eax, eax
je 0x4451b3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4688e4]
call fcn.0043cd7c
pop ecx
test eax, eax
je 0x4451d3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4451d5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10e2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.010e21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10e207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10e206a
add dl, dl
jne 0x10e2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10e20dc
xor eax, eax
add dl, dl
jne 0x10e2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10e217d
add dl, dl
jne 0x10e20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10e20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10e2075
mov eax, 1
add dl, dl
jne 0x10e20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10e20e1
sub eax, ebx
mov ebx, 1
jne 0x10e2128
mov ecx, 1
add dl, dl
jne 0x10e210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10e2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10e2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10e2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10e213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10e214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10e2136
cmp eax, 0x7d00
jae 0x10e216d
cmp eax, 0x500
jb 0x10e2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10e2075
cmp eax, 0x7f
ja 0x10e2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10e2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10e219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10e2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x300090dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 4]
push edi
push eax
mov edi, 0x80000000
push 0x30009048
push edi
call esi
test eax, eax
jne 0x3000921f
cmp dword [ebp - 4], eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x3000911b
push dword [ebp - 4]
call ebx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x30009058
push edi
call esi
test eax, eax
jne 0x3000921f
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x10c]
push eax
push 0x30009088
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [ebp - 0xc], eax
mov eax, 0x104
mov dword [ebp - 8], eax
push eax
lea eax, [ebp - 0x210]
push eax
push dword [0x300338cc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.MSO9.DLL_Ordinal_610]
test eax, eax
jbe 0x30009192
lea eax, [ebp - 0x210]
push 1
push eax
lea eax, [ebp - 0x10c]
push eax
call edi
test eax, eax
jne 0x300091eb
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x300091de
push dword [ebp - 8]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x300091de
lea eax, [ebp - 0x210]
push 1
push eax
lea eax, [ebp - 0x10c]
push eax
call edi
test eax, eax
jne 0x300091eb
cmp dword [ebp - 4], 0
je 0x3000921f
push dword [ebp - 4]
call ebx
jmp 0x3000921f
xor edi, edi
cmp dword [ebp - 4], edi
je 0x300091f7
push dword [ebp - 4]
call ebx
cmp dword [ebp - 0xc], edi
jne 0x3000921f
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x30009098
push 0x80000001
call esi
cmp dword [ebp - 4], edi
mov esi, eax
je 0x3000921b
push dword [ebp - 4]
call ebx
cmp esi, edi
je 0x30009226
push 1
call fcn.3000922e
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x3000b09c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb1c
push ebx
push esi
push edi
mov ebx, ecx
push 0xa
mov esi, 0x3000b05e
pop ecx
lea edi, [ebp - 0x50c]
rep movsd dword es:[edi], dword [esi]
push 0x76
xor eax, eax
pop ecx
lea edi, [ebp - 0x4e4]
rep stosd dword es:[edi], eax
mov esi, 0x100
lea eax, [ebp - 0xb1c]
push esi
push eax
push 0x6000c
call fcn.3002909e
lea eax, [ebp - 0xb1c]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x30033184], eax
mov eax, dword [ebx + 0x260]
and dword [0x30033198], 0
push 0
mov eax, dword [eax + 0x18]
mov dword [0x30033168], 0x48
mov dword [0x3003316c], eax
lea eax, [ebp - 0x50c]
mov dword [0x30033170], eax
lea eax, [ebp - 0x714]
mov dword [0x30033174], eax
lea eax, [ebp - 0xb1c]
mov dword [0x30033178], 0x104
mov dword [0x3003317c], eax
mov dword [0x30033180], esi
mov dword [0x30033188], 0x30033d3c
mov dword [0x3003318c], esi
call edi
push 1
mov esi, eax
call edi
sar esi, 1
push 1
mov dword [0x300331a4], esi
pop esi
sar eax, 1
push esi
mov dword [0x300331a8], eax
call fcn.30007abe
push dword [0x30035438]
push 0
push 0x30033168
call dword [sym.imp.MSO9.DLL_Ordinal_663]
push esi
mov edi, eax
call fcn.30007a96
cmp edi, esi
je 0x3000b198
test edi, edi
jne 0x3000b27a
mov ecx, dword [ebx + 0x264]
cmp dword [ecx + 0x460], 2
je 0x3000b1e9
cmp dword [ecx + 0x464], 0
jne 0x3000b1e9
call fcn.3000ffb4
test eax, eax
je 0x3000b1e9
cmp edi, esi
je 0x3000b1e9
lea eax, [ebp - 0x714]
push 0
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.MSO9.DLL_Ordinal_312]
test eax, eax
jl 0x3000b27a
push 9
mov ecx, ebx
push dword [ebp - 4]
call fcn.30025a0e
jmp 0x3000b27a
mov ebx, 0x104
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.3002a78c
test eax, eax
je 0x3000b27a
cmp edi, esi
jne 0x3000b217
lea eax, [ebp - 0x208]
push 0x3000b086
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x3000b26b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x208]
push 0x3000b092
push eax
call esi
lea eax, [ebp - 0x208]
push 0x3000b096
push eax
call esi
lea eax, [ebp - 0x208]
push 0x3000b09a
push eax
call esi
lea eax, [ebp - 0x30c]
push ebx
push eax
lea eax, [ebp - 0x714]
push eax
call fcn.30029288
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x208]
push eax
call esi
lea eax, [ebp - 0x208]
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x3000b29a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x72c
mov ax, word [0x3000b280]
push esi
mov esi, ecx
push edi
mov word [ebp - 0x72c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x72a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
xor edi, edi
push eax
lea eax, [ebp - 8]
push eax
push 2
push dword [esi + 0x264]
lea eax, [ebp - 0x72c]
mov dword [ebp - 4], edi
push edi
push eax
push edi
push edi
push edi
call fcn.3000a3d6
test eax, eax
jne 0x3000b431
mov ecx, dword [esi + 0x264]
cmp dword [ecx + 0x460], 2
je 0x3000b33f
cmp dword [ecx + 0x464], edi
jne 0x3000b33f
call fcn.3000ffb4
test eax, eax
je 0x3000b33f
mov eax, dword [ebp - 8]
cmp eax, 2
je 0x3000b324
cmp eax, 3
je 0x3000b324
cmp eax, 5
jne 0x3000b33f
push 8
cmp eax, 5
pop ecx
jne 0x3000b32f
push 0xa
pop ecx
push ecx
mov ecx, esi
push dword [ebp - 4]
call fcn.30025a0e
jmp 0x3000b431
lea eax, [ebp - 0xc]
test eax, eax
jne 0x3000b35e
lea eax, [ebp - 0x524]
test eax, eax
je 0x3000b357
mov word [ebp - 0x524], di
mov eax, 0x80004003
jmp 0x3000b37f
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xc]
push 3
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x524]
push edx
push eax
mov dword [ebp - 0xc], 0x82
call dword [ecx + 0x20]
cmp eax, edi
jge 0x3000b398
push 0x1001a
push eax
call fcn.3002ab66
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x3000b431
mov esi, 0x104
lea eax, [ebp - 0x31c]
push esi
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.30029288
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.3002a78c
test eax, eax
je 0x3000b431
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp eax, 2
jl 0x3000b404
cmp eax, 3
jle 0x3000b3f6
cmp eax, 5
je 0x3000b3ef
cmp eax, 7
jne 0x3000b404
push 0x3000b294
jmp 0x3000b3fb
push 0x3000b290
jmp 0x3000b3fb
push 0x3000b284
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push 0x3000b298
push eax
call esi
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
leave
ret

Function at 0x3000bfc0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
je 0x3000c002
mov eax, dword [0x30035678]
test eax, eax
je 0x3000bfe5
mov eax, dword [eax + 0x13c]
test eax, eax
je 0x3000bfe5
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x70]
push 5
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0xc], 0
je 0x3000c035
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x3000c035
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x3000c035
mov eax, dword [0x30035678]
test eax, eax
je 0x3000c02a
mov eax, dword [eax + 0x13c]
test eax, eax
je 0x3000c02a
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x70]
push 0
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 8
Function at 0x3000f3e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
cmp edi, eax
mov esi, ecx
je 0x3000f488
cmp dword [ebp + 0xc], eax
jne 0x3000f406
test byte [edi + 0x2e4], 1
je 0x3000f488
push ebx
mov ebx, dword [edi + 0x2d8]
push ebx
mov ecx, esi
call fcn.3000f328
test eax, eax
mov dword [ebp + 8], eax
jne 0x3000f427
push ebx
mov ecx, esi
call fcn.3000f35a
mov dword [ebp + 8], eax
cmp dword [esi + 0x474], edi
lea ebx, [esi + 0x474]
jne 0x3000f441
push dword [ebp + 8]
mov ecx, esi
call fcn.3000ec8c
mov dword [ebx], eax
dec dword [esi + 0x468]
pop ebx
jne 0x3000f458
push 0
push dword [esi + 0x48c]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [edi + 0x2e4], 0xfffffff8
mov ecx, edi
call fcn.30014b6e
mov eax, dword [esi + 0x4b4]
push 1
push 0
push dword [eax + 0x9c]
call dword [sym.imp.USER32.dll_InvalidateRect]
or dword [esi + 0x504], 2
mov eax, dword [ebp + 8]
jmp 0x3000f498
mov esi, dword [esi + 0x470]
cmp esi, eax
je 0x3000f498
mov eax, dword [esi + 0x2d8]
pop edi
pop esi
pop ebp
ret 8

Function at 0x3000f6bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
push 1
pop ebx
mov eax, dword [esi + 0x504]
test bl, al
jne 0x3000f761
cmp dword [esi + 0x460], 0
je 0x3000f761
push dword [esi + 0x488]
or eax, ebx
mov dword [esi + 0x504], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x3000f72c
cmp dword [esi + 0x718], eax
je 0x3000f70a
mov ecx, dword [esi + 0x4b8]
push ebx
call fcn.30007d90
push 5
push dword [esi + 0x488]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebx
mov ecx, esi
call fcn.3000f7b6
push 0
push ebx
mov ecx, esi
call fcn.3000edf8
push dword [esi + 0x470]
mov ecx, esi
call fcn.3000efe4
mov ecx, esi
call fcn.30010580
mov ecx, dword [0x30033ce8]
push ebx
call fcn.3000b436
mov eax, dword [esi + 0x4b8]
and dword [esi + 0x504], 0xfffffffe
mov ecx, dword [eax + 0xc]
call fcn.3001b98b
pop esi
pop ebx
ret

Function at 0x3000f764
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x488]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x3000f7b1
cmp dword [esp + 0xc], 0
je 0x3000f78b
push dword [esp + 8]
mov ecx, esi
push 0
call fcn.3000edf8
push dword [esp + 8]
mov ecx, esi
push 0
call fcn.3000f7b6
push 0
push dword [esi + 0x488]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x30033ce8]
call fcn.3000b47c
pop esi
ret 8
Function at 0x3001963c
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.300175fc
mov eax, dword [esi + 0x254]
lea ecx, [esi + 0x254]
mov edx, eax
and edx, 0x20
test dl, dl
je 0x30019686
and dword [esi + 0x2c], 0
and al, 0xdf
cmp dword [esp + 8], 0
mov dword [ecx], eax
je 0x3001966f
mov ecx, esi
call fcn.300197d6
push 0
push dword [esi + 0xa4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, esi
call fcn.30019b5c
pop esi
ret 4

Function at 0x30019b5c
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.300175fc
cmp dword [esp + 8], 0
je 0x30019b80
push 2
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_KillTimer]
and byte [esi + 0x255], 0xf3
mov eax, dword [esi + 0x254]
lea ecx, [esi + 0x254]
test al, 0x10
je 0x30019ba6
and dword [esi + 0x2c], 0
push 0
push dword [esi + 0xa0]
and al, 0xef
mov dword [ecx], eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x3001a74e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
xor eax, eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.3002aa4e
test eax, eax
je 0x3001a7e9
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, 0x100
mov ebx, 0x108
lea eax, [ebp - 0x1c]
push eax
push dword [0x30035438]
call dword [sym.imp.MSO9.DLL_Ordinal_800]
mov eax, dword [ebp - 0x18]
cmp eax, 0x200
je 0x3001a81e
cmp eax, 0x202
je 0x3001a81e
cmp eax, 0x201
je 0x3001a81e
cmp eax, 0x203
je 0x3001a81e
cmp eax, 0x101
je 0x3001a7c5
cmp eax, esi
je 0x3001a7c5
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSO9.DLL_Ordinal_326]
jmp 0x3001a7d5
push 1
push ebx
push esi
lea eax, [ebp - 0x38]
push 0
push eax
call edi
test eax, eax
jne 0x3001a7c5
xor eax, eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.3002aa4e
test eax, eax
jne 0x3001a77b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call esi
test ax, ax
jl 0x3001a845
push 2
call esi
test ax, ax
jl 0x3001a845
xor eax, eax
jmp 0x3001a848
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
push eax
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebp - 0x18], 0x202
je 0x3001a81a
jmp 0x3001a802
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x3001a950
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
call esi
xor edi, edi
test ax, ax
mov dword [esp + 0x10], 4
jl 0x3001a972
mov dword [esp + 0x10], edi
push 0x11
call esi
test ax, ax
jge 0x3001a980
push 8
pop ebx
jmp 0x3001a982
xor ebx, ebx
push 0x12
call esi
test ax, ax
jge 0x3001a98e
push 0x20
pop edi
push 0x14
call esi
mov bp, ax
push 0x90
and ebp, 1
shl ebp, 1
call esi
and eax, 1
push 0x91
or ebp, eax
shl ebp, 2
call esi
and eax, 1
or ebp, eax
shl ebp, 8
or ebp, edi
pop edi
or ebp, ebx
pop esi
or ebp, dword [esp + 8]
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x3001f760
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
test byte [esi], 1
je 0x3001f776
push 0
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esi], 0xfffffffe
pop esi
ret
Function at 0x300231d0
Capabilities:
Clear file content

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x6ec]
cmp eax, 0xffffffff
je 0x30023218
push edi
mov edi, dword [sym.imp.KERNEL32.dll__lclose]
push eax
call edi
push 2
push dword [esi + 0x6f0]
call dword [sym.imp.KERNEL32.dll__lopen]
cmp eax, 0xffffffff
mov dword [esi + 0x6ec], eax
je 0x30023210
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push dword [esi + 0x6ec]
call edi
or dword [esi + 0x6ec], 0xffffffff
pop edi
pop esi
ret