joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f3b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
mov eax, edi
add eax, 4
mov ecx, esi
adc ecx, 0
push ecx
push eax
mov eax, dword [ebx + 4]
push 0x14
lea edx, [ebp - 0x20]
push edx
push ebx
call eax
add esp, 0x14
test eax, eax
js 0x43f785
mov ecx, dword [ebx + 0x18]
push ebx
call ecx
mov edx, dword [ebp + 0xc]
push edx
lea edx, [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.0043e9f0
add esp, 8
test eax, eax
js 0x43f785
jmp loc.004fa8c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bfe0
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x280], ecx
mov dword [eax + 0x284], ecx
mov dword [eax + 0x288], ecx
mov dword [eax + 0x28c], ecx
mov dword [eax + 0x290], 0xc1059ed8
mov dword [eax + 0x294], 0xcbbb9d5d
mov dword [eax + 0x298], 0x367cd507
mov dword [eax + 0x29c], 0x629a292a
mov dword [eax + 0x2a0], 0x3070dd17
mov dword [eax + 0x2a4], 0x9159015a
mov dword [eax + 0x2a8], 0xf70e5939
mov dword [eax + 0x2ac], 0x152fecd8
mov dword [eax + 0x2b0], 0xffc00b31
mov dword [eax + 0x2b4], 0x67332667
mov dword [eax + 0x2b8], 0x68581511
mov dword [eax + 0x2bc], 0x8eb44a87
mov dword [eax + 0x2c0], 0x64f98fa7
jmp loc.004f4c90

Function at 0x45f610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov cl, byte [eax + 0x3f]
lea esi, [edi + 2]
sub edi, eax
mov dword [ebp - 4], 4
mov dl, byte [edi + eax]
movzx ebx, byte [eax]
xor bl, dl
mov byte [eax + 0x10], dl
movzx ecx, cl
movzx edx, dl
xor edx, ecx
mov byte [eax + 0x20], bl
movzx ecx, byte [edx + str._.C]
movzx edx, byte [eax + 0x30]
movzx ebx, byte [eax + 1]
xor ecx, edx
mov byte [eax + 0x30], cl
mov dl, byte [esi - 1]
xor bl, dl
mov byte [eax + 0x11], dl
movzx ecx, cl
movzx edx, dl
xor ecx, edx
movzx edx, byte [eax + 0x31]
mov byte [eax + 0x21], bl
movzx ecx, byte [ecx + str._.C]
movzx ebx, byte [eax + 2]
xor ecx, edx
mov byte [eax + 0x31], cl
mov dl, byte [esi]
xor bl, dl
mov byte [eax + 0x12], dl
movzx ecx, cl
movzx edx, dl
xor ecx, edx
movzx edx, byte [eax + 0x32]
mov byte [eax + 0x22], bl
movzx ecx, byte [ecx + str._.C]
movzx ebx, byte [eax + 3]
xor ecx, edx
mov byte [eax + 0x32], cl
mov dl, byte [esi + 1]
mov byte [eax + 0x13], dl
xor bl, dl
movzx ecx, cl
movzx edx, dl
xor ecx, edx
movzx edx, byte [eax + 0x33]
mov byte [eax + 0x23], bl
movzx ecx, byte [ecx + str._.C]
xor ecx, edx
mov byte [eax + 0x33], cl
add eax, 4
add esi, 4
dec dword [ebp - 4]
jne 0x45f628
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f6e0
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [esi + 0x3f]
xor eax, eax
push ebx
movzx ebx, byte [eax + esi]
mov dl, byte [eax + esi + 0x10]
xor bl, dl
movzx ecx, cl
movzx edx, dl
xor edx, ecx
mov byte [eax + esi + 0x20], bl
movzx ecx, byte [edx + str._.C]
movzx edx, byte [eax + esi + 0x30]
movzx ebx, byte [eax + esi + 1]
xor ecx, edx
mov dl, byte [eax + esi + 0x11]
xor bl, dl
mov byte [eax + esi + 0x30], cl
movzx ecx, cl
movzx edx, dl
xor ecx, edx
movzx edx, byte [eax + esi + 0x31]
mov byte [eax + esi + 0x21], bl
movzx ecx, byte [ecx + str._.C]
movzx ebx, byte [eax + esi + 2]
xor ecx, edx
mov dl, byte [eax + esi + 0x12]
mov byte [eax + esi + 0x31], cl
xor bl, dl
movzx ecx, cl
movzx edx, dl
xor ecx, edx
movzx edx, byte [eax + esi + 0x32]
mov byte [eax + esi + 0x22], bl
movzx ecx, byte [ecx + str._.C]
movzx ebx, byte [eax + esi + 3]
xor ecx, edx
mov dl, byte [eax + esi + 0x13]
mov byte [eax + esi + 0x32], cl
xor bl, dl
movzx ecx, cl
movzx edx, dl
xor ecx, edx
movzx edx, byte [eax + esi + 0x33]
mov byte [eax + esi + 0x23], bl
movzx ecx, byte [ecx + str._.C]
xor ecx, edx
mov byte [eax + esi + 0x33], cl
add eax, 4
cmp eax, 0x10
jb 0x45f6e6
pop ebx
ret

Function at 0x45f7a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor cl, cl
xor ebx, ebx
mov esi, eax
jmp 0x45f7b0
jmp loc.004fa348

Function at 0x4606b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add ecx, 0xf
and ecx, 0xfffffff0
jbe 0x4606d8
mov edx, dword [0x4a0620]
dec ecx
shr ecx, 2
inc ecx
lea esp, [esp]
xor dword [eax], edx
add eax, 4
dec ecx
jne 0x4606d0
xor eax, eax
pop ebp
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x2db941df
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x13811df9
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10002cfc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10007460
cmp edx, dword [eax]
je 0x10002d1e
add eax, 8
inc ecx
cmp eax, 0x100074f0
jl 0x10002d0f
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10007460]
jne 0x10002e4c
mov eax, dword [0x10009e5c]
cmp eax, 1
je 0x10002e26
test eax, eax
jne 0x10002d4f
cmp dword [0x10009e60], 1
je 0x10002e26
cmp edx, 0xfc
je 0x10002e4c
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10002d86
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.100032c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.100033b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10002dc9
lea eax, [ebp - 0x1a4]
push eax
call fcn.100033b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10006408
push edi
call fcn.10004e40
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.100032c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.100032d0
lea eax, [ebp - 0xa0]
push 0x100063e8
push eax
call fcn.100032d0
push dword [esi + 0x10007464]
lea eax, [ebp - 0xa0]
push eax
call fcn.100032d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10004db4
add esp, 0x2c
pop edi
jmp 0x10002e4c
lea eax, [ebp + 8]
lea esi, [esi + 0x10007464]
push 0
push eax
push dword [esi]
call fcn.100033b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
nop
push 1
nop
pop eax
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
sub ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
push esi
pop edi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
push edi
pop ecx
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x100d35e
Capabilities:
Set registry value

Disassembly:
mov esi, esi
push ebp
mov ebp, esp
push edi
push ebx
mov edi, dword [ebp + 0xc]
test edi, edi
push esi
mov ebx, ecx
jne 0x100d379
push 0x80004005
call fcn.0100cef1
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add edi, ecx
add esi, ecx
cmp eax, 1
jne 0x100d37b
push esi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebx
pop edi
pop ebp
ret 8

Function at 0x100dec1
Capabilities:
Create thread

Disassembly:
mov ebx, ebx
push ebp
mov ebp, esp
push ecx
push esi
push ebx
mov ebx, ecx
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [ebx + 0x30], eax
jne 0x100dee2
xor eax, eax
jmp 0x100df08
push edi
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 0x100d96a
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
jne 0x100df05
push dword [ebx + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret
Function at 0x100f663
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10541c6
call fcn.01034c02
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
call dword [0x1066c5c]
xor ebx, ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x428], edi
cmp edi, ebx
jne 0x100f6d2
call fcn.0100d022
mov esi, eax
jmp 0x100f7e2
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x100f6f5
call fcn.0100d022
jmp 0x100f7d4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x100f6eb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x100f758
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100f73a
lea ecx, [ebp - 0x418]
call fcn.0100d913
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.0100d896
mov eax, esi
call fcn.01034c5e
ret 0x10
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.0100e5e8
mov dword [ebp - 4], 1
jmp 0x100f786
mov edi, dword [ebp - 0x418]
cmp edi, ebx
jne 0x100f797
mov esi, 0x8007000e
jmp 0x100f7d6
call dword [0x1066c5c]
push esi
push edi
push esi
push dword [ebp - 0x420]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x100f6eb
mov ecx, dword [ebp - 0x418]
mov word [ecx + eax*2], bx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.0100f4cd
mov esi, eax
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100f73f
lea ecx, [ebp - 0x418]
call fcn.0100d913
jmp 0x100f73f

Function at 0x100fc67
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100fcc1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100fcb2
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x100fcae
cmp esi, eax
jae 0x100fcb2
dec ecx
movzx ebp, word [esi]
lea esi, [esi + ebp*2 + 2]
jne 0x100fca0
cmp esi, eax
jb 0x100fcb6
xor eax, eax
jmp 0x100fcc0
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x10164ae
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1066c80]
sub esp, 0x20c
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov edi, edi
lea eax, [ebp - 0x20c]
push edi
mov ebx, ecx
push eax
push 0
push 0
push 0x801c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jl 0x1016505
push 0x1002850
lea eax, [ebp - 0x20c]
add ebx, 0x84
push eax
push 0x1002844
push ebx
call fcn.01015cb2
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop edi
pop ebx
call fcn.01034b54
leave
ret
Function at 0x101ab4b
Capabilities:
Create process on windows

Disassembly:
push esi
mov edi, edi
mov esi, ecx
push dword [esi + 4]
or dword [esi + 0x4c], 1
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
push 1
push eax
push eax
push dword [esi + 0x44]
push 0x1002ea8
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
xor eax, eax
ret 0x10

Function at 0x101ab78
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push 0x800
mov edi, ecx
call fcn.0103560f
mov dword [esp], 0x400
lea esi, [edi + 4]
push eax
push dword [esi]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi]
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push dword [esi]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 4]
call ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x101abd3
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
lea eax, [ebp - 0x30]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [edi + 0x48], 0
jne 0x101ac0c
mov eax, dword [ebp - 0x30]
sub eax, 2
jmp 0x101ac0f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov ecx, esi
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0101aac0
push 1
lea ecx, [ebp - 0x18]
push ecx
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, esi
push 1
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0101aaa0
push dword [ebp - 0xc]
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
push dword [esi]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 8]
call fcn.01034c6d
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101b803
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x20
je 0x101b81d
cmp dword [ebp + 0xc], 0xd
je 0x101b81d
mov eax, dword [ebp + 0x14]
and dword [eax], 0
xor eax, eax
inc eax
jmp 0x101b834
push 1
xor eax, eax
push eax
push eax
push dword [ecx + 0x44]
push 0x1002ea8
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop ebp
ret 0x10

Function at 0x101b863
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push esi
mov esi, esp
cmp dword [esi + 8], 7
push ebp
mov ebp, ecx
jne 0x101b882
push 9
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x101b882
or dword [ebp + 0x4c], 1
xor eax, eax
cmp dword [esi + 8], 7
push 1
sete al
push 0
push dword [ebp + 4]
add eax, eax
xor eax, dword [ebp + 0x4c]
and eax, 2
xor dword [ebp + 0x4c], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x14]
and dword [eax], 0
xor eax, eax
inc eax
pop ebp
pop esi
ret 0x10

Function at 0x101b8ba
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
cmp dword [ecx + 0x40], eax
je 0x101b8d9
mov ecx, dword [ecx + 0x44]
cmp ecx, eax
je 0x101b8d9
push 1
push eax
push eax
push ecx
push 0x1002ea8
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
inc eax
ret 0x10
Function at 0x10201e2
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x1055bc0
push 0xc
call fcn.01034b63
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 8]
call fcn.0101274d
mov dword [ebp - 4], esi
cmp dword [ebp + 0xc], esi
mov ebx, 0x1003260
mov dword [ebp - 0x10], 1
je 0x1020282
lea eax, [ebp + 0xc]
sub esp, 0x10
mov edi, esp
mov esi, 0x1002e74
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0102bac7
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x1020260
lea eax, [ebp + 0xc]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.01016762
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push eax
call fcn.010166b8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0102e513
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.0102e513
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x1020282
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10202e7
lea eax, [ebp - 0x18]
push dword [0x1069080]
push eax
call fcn.0102ba56
mov dword [ebp - 4], 3
push 0x1002e24
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.01016762
mov byte [ebp - 4], 4
push ebx
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.01016762
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 8]
push eax
call fcn.010166b8
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
call fcn.0102e513
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0102e513
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0102e513
mov eax, dword [ebp + 8]
call fcn.01034c3b
ret 8

Function at 0x1020604
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x5c
mov eax, 0x1055ce4
call fcn.01034b63
lea ecx, [ebp - 0x14]
call fcn.0101274d
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x10]
call fcn.0101274d
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push 0x10032b0
push eax
call fcn.01015cb2
push 0x40
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.01035620
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
add esp, 0x1c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea esi, [ebp - 0x24]
push esi
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x68], 0x44
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.0102e513
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0102e513
xor eax, eax
call fcn.01034c3b
ret 4
Function at 0x1020b02
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x1055dc5
call fcn.01034b63
lea ecx, [ebp - 0x14]
call fcn.0101274d
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1c]
call fcn.0101274d
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
push 0x10033e0
lea ecx, [ebp - 0x14]
call fcn.010161f7
push 0x10033d0
lea ecx, [ebp - 0x1c]
call fcn.010161f7
mov edi, 0x2001f
push edi
push dword [ebp - 0x14]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
lea ecx, [ebp - 0x10]
call fcn.0100d2cb
or eax, eax
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push esi
jg 0x1020b72
call fcn.0100d2cb
jmp 0x1020b81
call fcn.0100d2cb
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
jl 0x1020c16
mov esi, 0x104
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], esi
call fcn.0101274d
mov byte [ebp - 4], 3
push esi
lea ecx, [ebp - 0x18]
call fcn.01012865
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.0101e8a3
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.01011a69
cmp esi, ebx
jl 0x1020c0a
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], ebx
je 0x1020c0a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.0102e513
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0100d262
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.0102e513
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0102e513
mov eax, esi
jmp 0x1020c3b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.0102e513
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0100d262
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.0102e513
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0102e513
xor eax, eax
call fcn.01034c3b
ret