joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43111a
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.00431bc1
mov byte [esi], 0x80
pop esi
ret

Function at 0x418400
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x418422
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x418429
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418418
mov eax, 1
add ebx, ebx
jne 0x41843b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x418430
jne 0x41844c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x418430
xor ecx, ecx
sub eax, 3
jb 0x418460
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4184d2
mov ebp, eax
add ebx, ebx
jne 0x41846b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x418478
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41849c
inc ecx
add ebx, ebx
jne 0x418488
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41847d
jne 0x418499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41847d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4184bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4184ad
jmp 0x41841e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4184bc
add edi, ecx
jmp 0x41841e
pop esi
mov edi, esi
mov ecx, 0x170
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4184da
cmp byte [edi], 5
jne 0x4184da
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 0x4184df
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x418557
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1881c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18880]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41850c
mov ecx, edi
jns 0x41853b
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 + 0x18884]
or eax, eax
je 0x418551
mov dword [ebx], eax
add ebx, 4
jmp 0x418529
call dword [esi + 0x1888c]
mov ebp, dword [esi + 0x18888]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x41858b
sub esp, 0xffffff80
jmp 0x40b05f
Function at 0x100142c0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x100142fb
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100142e2
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x100142f3
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x100142fd
inc edi
add eax, 0x28
cmp edi, esi
jb 0x100142d8
xor eax, eax
pop edi
pop esi
ret
Function at 0x10027bfa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10039f20
cmp edx, dword [eax]
je 0x10027c1c
add eax, 8
inc ecx
cmp eax, 0x10039fb0
jl 0x10027c0d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10039f20]
jne 0x10027d4a
mov eax, dword [0x100535bc]
cmp eax, 1
je 0x10027d24
test eax, eax
jne 0x10027c4d
cmp dword [0x100535c0], 1
je 0x10027d24
cmp edx, 0xfc
je 0x10027d4a
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10027c84
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1002b3b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10026760
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10027cc7
lea eax, [ebp - 0x1a4]
push eax
call fcn.10026760
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10036470
push edi
call fcn.10023b80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1002b3b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1002b3c0
lea eax, [ebp - 0xa0]
push 0x10036450
push eax
call fcn.1002b3c0
push dword [esi + 0x10039f24]
lea eax, [ebp - 0xa0]
push eax
call fcn.1002b3c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1002c4b8
add esp, 0x2c
pop edi
jmp 0x10027d4a
lea eax, [ebp + 8]
lea esi, [esi + 0x10039f24]
push 0
push eax
push dword [esi]
call fcn.10026760
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 0x5a17a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x166000]
push edi
or ebp, 0xffffffff
jmp 0x5a17c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5a17c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a17b8
mov eax, 1
add ebx, ebx
jne 0x5a17db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5a17ec
jne 0x5a180b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a180b
dec eax
add ebx, ebx
jne 0x5a17f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5a17d0
add ebx, ebx
jne 0x5a1807
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5a185d
xor ecx, ecx
sub eax, 3
jb 0x5a1823
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5a1892
sar eax, 1
mov ebp, eax
jmp 0x5a182e
add ebx, ebx
jne 0x5a182e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a17fc
inc ecx
add ebx, ebx
jne 0x5a183c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a17fc
add ebx, ebx
jne 0x5a1849
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5a183e
jne 0x5a185a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5a183e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5a187c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5a186e
jmp 0x5a17be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5a187c
add edi, ecx
jmp 0x5a17be
pop esi
lea edi, [esi + 0x19e000]
mov eax, dword [edi]
or eax, eax
je 0x5a18e4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a11f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a12bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5a1899
mov ecx, edi
jns 0x5a18c8
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 + 0x1a12c0]
or eax, eax
je 0x5a18de
mov dword [ebx], eax
add ebx, 4
jmp 0x5a18b6
call dword [esi + 0x1a12c8]
mov ebp, dword [esi + 0x1a12c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x5a1918
sub esp, 0xffffff80
jmp 0x4556a8
Function at 0x401d10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x198
mov eax, dword [str.processPrompt.txt]
mov edx, dword [0x413084]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [0x413080]
mov eax, dword [0x413088]
mov dword [esp + 0x18], ecx
mov cx, word [0x41308c]
push esi
mov dword [esp + 0x20], edx
mov dl, byte [0x41308e]
push edi
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], cx
mov ecx, 0x3c
xor eax, eax
lea edi, [esp + 0x2f]
mov byte [esp + 0x2e], dl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 0x120]
push 0
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov esi, eax
cmp esi, 0xffffffff
je 0x401e7a
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push 0
push 0
push esi
call edi
push 0
push 0
push 0
push esi
mov ebx, eax
call edi
lea edx, [ebx + 1]
push edx
call fcn.00408ed9
add esp, 4
mov edi, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x10], edi
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov byte [edi + ebx], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
test ebx, ebx
jle 0x401e7a
add ebp, 0x728
jmp 0x401de3
mov edi, dword [esp + 0x10]
mov dl, byte [edi + ecx]
add edi, ecx
xor eax, eax
cmp dl, 0xd
je 0x401dfd
mov edx, ecx
cmp edx, ebx
jge 0x401dfd
inc eax
inc edx
cmp byte [edi + eax], 0xd
jne 0x401df1
add eax, ecx
cmp eax, ebx
mov dword [esp + 0x14], eax
jge 0x401e0f
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx], 0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
dec ecx
je 0x401e65
cmp byte [edx + ebp], 0x7e
jne 0x401e52
cmp byte [edx + ebp + 1], 0x7e
jne 0x401e52
mov byte [edx + ebp], 0xd
mov byte [edx + ebp + 1], 0xa
inc edx
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
cmp edx, ecx
jb 0x401e3b
mov eax, dword [esp + 0x14]
add ebp, 0x80
lea ecx, [eax + 2]
cmp ecx, ebx
jl 0x401ddf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x198
ret
Function at 0x40c055
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4138c8
cmp edx, dword [eax]
je 0x40c077
add eax, 8
inc ecx
cmp eax, 0x413958
jl 0x40c068
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4138c8]
jne 0x40c1a5
mov eax, dword [0x4144a8]
cmp eax, 1
je 0x40c17f
test eax, eax
jne 0x40c0a8
cmp dword [0x4136f4], 1
je 0x40c17f
cmp edx, 0xfc
je 0x40c1a5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40c0df
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040b230
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040b320
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40c122
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040b320
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x411664
push edi
call fcn.0040b130
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040b230
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040b240
lea eax, [ebp - 0xa0]
push 0x411644
push eax
call fcn.0040b240
push dword [esi + 0x4138cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b240
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040e6a5
add esp, 0x2c
pop edi
jmp 0x40c1a5
lea eax, [ebp + 8]
lea esi, [esi + 0x4138cc]
push 0
push eax
push dword [esi]
call fcn.0040b320
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 0x100d35e
Capabilities:
Set registry value

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

Function at 0x100dec1
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [edi + 0x30], eax
jne 0x100dee2
xor eax, eax
jmp 0x100df08
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x100d96a
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x100df05
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
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 edx, word [esi]
lea esi, [esi + edx*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:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1066c80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x801c
push 0
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jl 0x1016505
push 0x1002850
lea eax, [ebp - 0x20c]
push eax
push 0x1002844
add ebx, 0x84
push ebx
call fcn.01015cb2
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.01034b54
leave
ret
Function at 0x101ab4b
Capabilities:
Create process on windows

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

Function at 0x101ab4d
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 4]
or dword [esi + 0x4c], 1
call dword [sym.imp.USER32.dll_SetFocus]
push 1
xor eax, eax
push eax
push eax
push dword [esi + 0x44]
push 0x1002ea8
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
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
push eax
lea esi, [edi + 4]
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
lea ecx, [ebp - 0x20]
push ecx
sar eax, 1
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]
add eax, 0xfffffffe
jmp 0x101ac0f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.0101aac0
push 1
lea ecx, [ebp - 0x18]
push ecx
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
push dword [ebp - 0x1c]
mov ecx, esi
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 0x101b801
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 ebp
mov ebp, esp
cmp dword [ebp + 8], 7
push esi
mov esi, ecx
jne 0x101b882
push 9
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x101b882
or dword [esi + 0x4c], 1
xor eax, eax
cmp dword [ebp + 8], 7
push 1
sete al
push 0
push dword [esi + 4]
add eax, eax
xor eax, dword [esi + 0x4c]
and eax, 2
xor dword [esi + 0x4c], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp + 0x14]
and dword [eax], 0
xor eax, eax
inc eax
pop esi
pop ebp
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:
push 0xc
mov eax, 0x1055bc0
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 dword [ebp - 0x10], 1
mov ebx, 0x1003260
je 0x1020282
sub esp, 0x10
mov edi, esp
mov esi, 0x1002e74
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0xc]
push eax
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
push ebx
lea eax, [ebp + 0xc]
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
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0102e513
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
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
push dword [0x1069080]
lea eax, [ebp - 0x18]
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
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
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 eax, [ebp - 0x24]
push eax
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