joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409ee0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.00409bc9
push eax
push edi
push dword [ebp + 8]
call fcn.00409b7e
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], 0xfb
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], 0x52
mov byte [ebp - 0x17], 0x6d
mov byte [ebp - 0x16], 0x76
mov byte [ebp - 0x15], 0x70
mov byte [ebp - 0x14], 0x71
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0x11], 0x42
mov byte [ebp - 0x10], 0x76
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0xd], 4
call fcn.00409bc9
push eax
push edi
push dword [ebp + 8]
call fcn.00409b7e
add esp, 0x20
mov dword [ebp - 0xc], eax
call fcn.00409bb9
std
and bh, byte [esi]
sub dword [ebp + 0x5d889445], ecx
xchg esp, eax
push eax
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xd2
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x7b
mov byte [ebp - 0x67], 0x44
mov byte [ebp - 0x66], 0x5f
mov byte [ebp - 0x65], 0x59
mov byte [ebp - 0x64], 0x58
mov byte [ebp - 0x63], 0x4c
mov byte [ebp - 0x62], 0x41
mov byte [ebp - 0x61], 0x7d
mov byte [ebp - 0x60], 0x5f
mov byte [ebp - 0x5f], 0x42
mov byte [ebp - 0x5e], 0x59
mov byte [ebp - 0x5d], 0x48
mov byte [ebp - 0x5c], 0x4e
mov byte [ebp - 0x5b], 0x59
mov byte [ebp - 0x5a], 0x2d
call fcn.00409bc9
push eax
push edi
push dword [ebp + 8]
call fcn.00409b7e
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0x44], bl
lea eax, [ebp - 0x44]
mov byte [ebp - 0x43], bl
push eax
mov byte [ebp - 0x42], 0xfd
mov byte [ebp - 0x41], bl
mov byte [ebp - 0x40], 0x4e
mov byte [ebp - 0x3f], 0x6d
mov byte [ebp - 0x3e], 0x63
inc ebp
ret 0xc663
inc ebp
ret
mov byte [ebp - 0x3c], 0x4e
mov byte [ebp - 0x3b], 0x6b
mov byte [ebp - 0x3a], 0x60
mov byte [ebp - 0x39], 0x70
mov byte [ebp - 0x38], 0x63
mov byte [ebp - 0x37], 0x70
mov byte [ebp - 0x36], 0x7b
mov byte [ebp - 0x35], 0x43
mov byte [ebp - 0x34], 2
call fcn.00409bc9
push eax
push edi
push dword [ebp + 8]
call fcn.00409b7e
add esp, 0x20
mov dword [ebp - 0xc8], eax
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0x7b
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0xc3
mov byte [ebp - 0x7f], 0xe1
mov byte [ebp - 0x7e], 0xf0
mov byte [ebp - 0x7d], 0xc9
mov byte [ebp - 0x7c], 0xeb
mov byte [ebp - 0x7b], 0xe0
mov byte [ebp - 0x7a], 0xf1
mov byte [ebp - 0x79], 0xe8
mov byte [ebp - 0x78], 0xe1
mov byte [ebp - 0x77], 0xcc
mov byte [ebp - 0x76], 0xe5
mov byte [ebp - 0x75], 0xea
mov byte [ebp - 0x74], 0xe0
mov byte [ebp - 0x73], 0xe8
mov byte [ebp - 0x72], 0xe1
mov byte [ebp - 0x71], 0xc5
mov byte [ebp - 0x70], 0x84
call fcn.00409bb9
fist dword [esi]
sub eax, 0x7c858d1a
invalid
Function at 0x40686f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x4068ad
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406883
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x40687e
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4068da
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4068bb
not eax
pop ebp
ret 0xc

Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
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 eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748
Function at 0x413440
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x411
lea ecx, [ebp - 4]
mov byte [0x4dd0fb], 1
call fcn.00444f8a
push 0x822
push 0
push dword [ebp - 4]
call fcn.004ae820
mov edi, dword [ebp - 4]
add esp, 0xc
push 0x104
add edi, 0x410
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.PE_IDBASE
push 0x1000
mov esi, 0x4dd0f0
push esi
call fcn.00447664
push str.WM_PE_BASE
push 0x5000
push esi
call fcn.00447664
push str.PE_MENU_IDBASE
push 0x100
push esi
call fcn.00447664
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add esp, 0x24
push edi
push 0x4c44aa
call esi
push edi
mov ebx, 0x4dd0f0
push str.MyName
mov ecx, ebx
call fcn.00444692
push 0x5c
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
xor edi, edi
cmp eax, edi
je 0x413507
lea edi, [eax + 2]
push edi
push 0x4c4496
call esi
push edi
push str.MyName0
mov ecx, ebx
call fcn.00444692
xor edi, edi
push edi
push edi
push str.Desktop
call fcn.0041338d
push edi
push edi
push str.Favorites
call fcn.0041338d
push edi
push edi
push 0x4c3a28
call fcn.0041338d
push edi
push edi
push str.SendTo
call fcn.0041338d
push edi
push edi
push str.Personal
call fcn.0041338d
push edi
push str.Start_Menu
push 0x4c3a50
call fcn.0041338d
add esp, 0x48
push edi
push str.Cache
push str.IECache
call fcn.0041338d
push edi
push edi
push str.Startup
call fcn.0041338d
push str.MicrosoftInternet_ExplorerQuick_Launch
push str.AppData
push str.QuickLaunch
call fcn.0041338d
add esp, 0x24
lea ecx, [ebp - 4]
call fcn.0043e825
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4135f2
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14b8
call fcn.004aec00
push esi
mov esi, 0x4db2d8
and word [ebp - 0x14b8], 0
mov edx, dword [esi]
mov word [ebp - 0x64], 0x26
lea ecx, [ebp - 0x62]
movsx ax, byte [edx]
mov word [ecx], ax
inc ecx
inc ecx
inc edx
test ax, ax
jne 0x413618
push 0xa28
lea eax, [ebp - 0x14b8]
push eax
lea eax, [ebp - 0x62]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x14b8]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x4dd0f0
call fcn.00444692
add esi, 4
cmp esi, 0x4db2ec
jl 0x413605
pop esi
leave
ret
Function at 0x4140f7
Capabilities:
Check if file exists
Unmount volume via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp ebx, edi
je 0x4141f7
cmp dword [ebp + 8], 0xffffffff
jne 0x4141f7
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call esi
cmp eax, 2
jne 0x414131
xor eax, eax
cmp word [ebx + 2], 0x3a
sete al
jmp 0x414152
push ebx
call esi
cmp eax, 3
jne 0x414150
lea eax, [ebx + 2]
push 0x4c4a28
push eax
call fcn.004aec3d
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x414152
xor eax, eax
cmp eax, edi
je 0x4141ac
mov ax, word [ebx]
mov esi, 0x4c4a18
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
mov ebx, 0x20000000
push ebx
push 3
push 0
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 3
mov word [ebp - 0x10], ax
push 0xc0000000
lea eax, [ebp - 0x18]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x414237
push 0
push ebx
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x18]
push eax
call edi
xor edi, edi
jmp 0x41421a
push 0xc0000000
push ebx
call dword [0x4dd07c]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414239
push 0x80000000
push ebx
call dword [0x4dd07c]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414239
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
je 0x4141ef
sub eax, 0x56
je 0x4141ef
sub eax, 0x3a
je 0x4141ef
sub eax, 0x7a
je 0x4141ef
sub eax, 0x101b
push 9
pop eax
jmp 0x4142c7
push 0xc0000000
push dword [ebp + 8]
call dword [0x4dd078]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414239
push 0x80000000
push dword [ebp + 8]
call dword [0x4dd078]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414239
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
inc ecx
mov eax, ecx
jmp 0x4142c7
xor edi, edi
push esi
call fcn.00413b33
test eax, eax
pop ecx
jne 0x414252
push 5
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x4142c7
test byte [ebp + 0x10], 3
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
je 0x414293
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push edi
push edi
push edi
push 0x90018
push esi
call ebx
test eax, eax
jne 0x41427e
push 2
jmp 0x414246
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push edi
push edi
push edi
push 0x90020
push esi
call ebx
test eax, eax
je 0x41427a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push 8
lea eax, [ebp - 8]
push eax
push 8
push eax
push 0x83722014
push esi
call ebx
cmp dword [ebp - 8], edi
je 0x4142be
push 3
jmp 0x414246
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4142cc
Capabilities:
Check if file exists
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
xor eax, eax
cmp esi, ebx
mov dword [ebp - 0x34], ebx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jne 0x414330
push 0xc0000000
push dword [ebp + 8]
call dword [0x4dd078]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41440f
push 0x80000000
push dword [ebp + 8]
call dword [0x4dd078]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41440f
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
inc ecx
mov eax, ecx
jmp 0x4144af
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 2
jne 0x41434a
xor eax, eax
cmp word [esi + 2], 0x3a
sete al
jmp 0x41436b
push esi
call edi
cmp eax, 3
jne 0x414369
lea eax, [esi + 2]
push 0x4c4a28
push eax
call fcn.004aec3d
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x41436b
xor eax, eax
cmp eax, ebx
je 0x4143c4
mov eax, dword [ebp + 0xc]
mov ax, word [eax]
mov esi, 0x4c4a18
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
push 0x20000000
movsd dword es:[edi], dword [esi]
push 3
push ebx
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 3
mov word [ebp - 0x1c], ax
push 0xc0000000
lea eax, [ebp - 0x24]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x41440f
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0x80000000
lea eax, [ebp - 0x24]
push eax
call esi
jmp 0x41430f
push 0xc0000000
push esi
call dword [0x4dd07c]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41440f
push 0x80000000
push esi
call dword [0x4dd07c]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41440f
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
je 0x414407
sub eax, 0x56
je 0x414407
sub eax, 0x3a
je 0x414407
sub eax, 0x7a
je 0x414407
sub eax, 0x101b
push 9
pop eax
jmp 0x4144af
mov eax, dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x10
lea eax, [ebp - 0x34]
push eax
push 0x7c0d0
push edi
mov dword [ebp - 0x34], 1
call esi
test eax, eax
jne 0x414446
push 3
pop ebx
jmp 0x4144a6
push ebx
lea eax, [ebp - 4]
push eax
push 8
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x7405c
push edi
call esi
test eax, eax
je 0x414478
push ebx
lea eax, [ebp - 4]
push eax
push 0x18
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
push 0x70000
push edi
call esi
test eax, eax
jne 0x41447c
push 2
jmp 0x414443
push ebx
push dword [ebp - 0x38]
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.004ae880
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 8
lea eax, [ebp - 0x14]
push eax
push 0x900f0
push edi
mov dword [ebp - 0x10], edx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42a480
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x20a
lea ecx, [ebp - 4]
call fcn.00444f8a
mov eax, dword [ebp - 4]
mov word [eax], 0x20
mov eax, dword [ebp - 4]
and word [eax + 2], 0
mov eax, dword [ebp - 4]
push 0x208
add eax, 2
push eax
push str.SystemRoot
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str.System32OnShutdown.wcs
lea ecx, [ebp - 4]
call fcn.00444fd8
mov bl, byte [ebp + 0xc]
test bl, 0x20
mov esi, str.unknown
je 0x42a4db
mov esi, 0x4c2944
test bl, 0x10
je 0x42a4e5
mov esi, str.reboot
test bl, 2
je 0x42a4ef
mov esi, str.logout
test bl, 4
je 0x42a4f9
mov esi, str.suspend
test bl, 8
je 0x42a503
mov esi, str.hiber
test bl, 0x40
je 0x42a50d
mov esi, str.poweroff
test bl, bl
jns 0x42a516
mov esi, str.lock
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
lea ecx, [ebp - 4]
mov edi, eax
call fcn.00444fd8
push 0x4c2568
lea ecx, [ebp - 4]
call fcn.00444fd8
cmp dword [ebp + 8], 0
je 0x42a548
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.00444fd8
push dword [ebp - 4]
mov esi, 0x4dd0f0
mov ecx, esi
call fcn.004223de
push str._25INDATA
lea ecx, [ebp - 8]
call fcn.0044e827
mov eax, dword [ebp - 4]
lea eax, [eax + edi*2]
push eax
lea ecx, [ebp - 8]
call fcn.00444fd8
test bl, 0x70
je 0x42a582
push dword [ebp - 8]
mov ecx, esi
call fcn.004223de
lea ecx, [ebp - 8]
call fcn.0043e825
lea ecx, [ebp - 4]
call fcn.0043e825
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100019e8
Capabilities:
Read file on windows

Disassembly:
push 0x18
mov eax, 0x10106810
call fcn.100c7e75
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 0x10
jb 0x10001a20
mov esi, dword [esi]
cmp dword [edx + 0x14], 0x10
jb 0x10001a28
mov edx, dword [edx]
push dword [ecx]
push esi
push edx
call fcn.100cde19
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10001a4d
mov dword [ebx], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
jmp 0x10001b56
push 2
pop edi
push edi
push 0
push esi
call fcn.100cdc91
push esi
call fcn.100cd9af
add esp, 0x10
mov dword [ebp - 0x20], eax
push esi
test eax, eax
jg 0x10001a76
call fcn.100cceba
xor eax, eax
pop ecx
mov dword [ebx], eax
jmp 0x10001a3c
call fcn.100cd25f
pop ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.10001960
push esi
push dword [ebp - 0x20]
push 1
push dword [ebp - 0x1c]
call fcn.100cd124
push esi
call fcn.100cceba
mov edx, dword [ebp - 0x18]
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub eax, ecx
cmp eax, edi
jb 0x10001b4b
mov al, byte [ecx]
cmp al, 0xfe
jne 0x10001adf
cmp byte [ecx + 1], 0xff
jne 0x10001adf
lea eax, [ecx + 1]
sub edx, eax
push edx
push eax
push ecx
call fcn.100c9030
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
dec edx
mov dword [ebp - 0x18], edx
sub edi, 1
jne 0x10001abc
mov esi, edx
jmp 0x10001b0c
mov esi, edx
cmp al, 0xff
jne 0x10001b0c
cmp byte [ecx + 1], 0xfe
jne 0x10001b0c
lea eax, [ecx + 1]
sub edx, eax
push edx
push eax
push ecx
call fcn.100c9030
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
dec esi
mov dword [ebp - 0x18], esi
mov edx, esi
sub edi, 1
jne 0x10001aeb
mov eax, esi
mov edx, esi
push 3
sub eax, ecx
pop edi
cmp eax, edi
jb 0x10001b4b
cmp byte [ecx], 0xef
jne 0x10001b4b
cmp byte [ecx + 1], 0xbb
jne 0x10001b4b
cmp byte [ecx + 2], 0xbf
jne 0x10001b4b
lea eax, [ecx + 1]
sub esi, eax
push esi
push eax
push ecx
call fcn.100c9030
mov edx, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
dec edx
mov dword [ebp - 0x18], edx
mov esi, edx
sub edi, 1
jne 0x10001b2a
sub edx, ecx
push edx
push ecx
mov ecx, ebx
call fcn.100019ae
lea ecx, [ebp - 0x1c]
call fcn.10001877
mov eax, ebx
call fcn.100c7e24
ret
Function at 0x1000244a
Capabilities:
Create process on windows
Create thread

Disassembly:
push 0x98
mov eax, 0x10106941
call fcn.100c7e75
mov ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov byte [ebp - 0x11], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], al
push 0x28
push str.__window_position0_0___window_size1_1
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
call fcn.10001f2f
push esi
mov ecx, eax
call fcn.10012d2a
push 0x44
pop esi
push esi
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.100c95b0
xor eax, eax
mov dword [ebp - 0x7c], esi
lea edi, [ebp - 0x8c]
mov edx, 0x101458f0
stosd dword es:[edi], eax
lea ecx, [ebp - 0xa4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
call fcn.10013dbd
add esp, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x100024ce
mov eax, dword [eax]
lea ecx, [ebx + 0x1b84]
cmp dword [ecx + 0x14], 0x10
jb 0x100024dc
mov ecx, dword [ecx]
lea edx, [ebp - 0x8c]
xor edi, edi
push edx
lea edx, [ebp - 0x7c]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0xa4]
mov esi, eax
call fcn.10002013
test esi, esi
je 0x10002594
push 8
lea esi, [ebp - 0x11]
call fcn.100c742f
mov dword [ebp - 0x20], eax
mov dword [eax], ebx
mov dword [eax + 4], esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
push ecx
push edi
push eax
push 0x100037df
push edi
push edi
call fcn.100d20b8
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100025ae
push 0x2710
mov byte [ebp - 4], 3
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x88], edi
je 0x10002569
push dword [ebp - 0x88]
call esi
cmp dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], edi
je 0x10002580
push dword [ebp - 0x8c]
call esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x8c], edi
call fcn.10012ce0
cmp dword [ebp - 0x18], 0
jne 0x100025a9
mov bl, byte [ebp - 0x11]
lea ecx, [ebp - 0x38]
call fcn.10002013
mov al, bl
call fcn.100c7e24
ret 4
call fcn.100cdf88
push 6
mov dword [ebp - 0x18], edi
call fcn.1004f355
int3
Function at 0x10002663
Capabilities:
Get graphical window text
Log keystrokes

Disassembly:
push 0x44
mov eax, 0x101069bc
call fcn.100c7e75
xor al, al
lea esi, [ecx + 0x1464]
mov byte [ebp - 0x1d], al
mov dword [ebp - 0x30], esi
cmp byte [esi], al
jne 0x1000268d
cmp byte [ecx + 0x1568], al
je 0x1000282c
mov ebx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
movlpd qword [ebp - 0x28], xmm0
push dword [ebx + 4]
mov eax, dword [eax]
push dword [ebx]
cdq
push edx
push eax
call fcn.100c81e0
test edx, edx
jl 0x10002829
jg 0x100026bc
test eax, eax
je 0x10002829
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
push esi
call fcn.10001c43
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.10013684
lea ecx, [ebp - 0x50]
call fcn.10002013
mov ecx, dword [ebp - 0x18]
mov edi, 0x238
mov esi, dword [ebp - 0x1c]
mov eax, ecx
sub eax, esi
cdq
idiv edi
cmp eax, 2
jb 0x100027e5
mov byte [ebp - 0x1d], 1
cmp esi, ecx
je 0x100027b3
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
mov edi, eax
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 0
push 7
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 6
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0xd
push 0x100
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xd
push 0x101
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp - 0x18]
mov ebx, 0x238
add esi, ebx
cmp esi, ecx
jne 0x10002727
mov esi, dword [ebp - 0x1c]
jmp 0x100027b8
mov ebx, 0x238
cmp esi, ecx
je 0x100027cf
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10002834
add esi, ebx
cmp esi, dword [ebp - 0x18]
jne 0x100027bc
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], eax
call fcn.10012f2e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10002d93
mov eax, dword [ebp + 8]
push dword [ebx + 4]
mov edi, dword [ebp - 0x24]
push dword [ebx]
mov eax, dword [eax]
add edi, dword [ebx]
mov esi, dword [ebp - 0x2c]
adc esi, dword [ebx + 4]
cdq
push edx
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], esi
call fcn.100c81e0
cmp esi, edx
mov esi, dword [ebp - 0x30]
jl 0x100026c8
jg 0x10002829
cmp edi, eax
jb 0x100026c8
mov al, byte [ebp - 0x1d]
call fcn.100c7e24
ret 8
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
jmp 0x1000271f