joyce8/EMBER2024-capa huggingface dataset:
Function at 0x105cac0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 0xc]
push esi
lea eax, [ebp + 0x10]
push eax
push ecx
lea edx, [ebp - 4]
push edx
mov dword [ebp - 4], 0
call fcn.0101fc50
mov esi, dword [ebp - 4]
test esi, esi
je 0x105cbe5
add eax, 0x432
je 0x105cbd5
push ebx
inc eax
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x105cbd4
push edi
push 9
push esi
call dword [sym.imp.msvcrt.dll_strchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x105cb8d
mov eax, dword [ebp - 4]
mov esi, edi
sub esi, eax
push esi
push eax
push ebx
call fcn.0101d400
cmp esi, 0x31
jl 0x105cb3f
mov esi, 0x31
cmp esi, 0x32
jge 0x105cb5a
mov ecx, 0x32
sub ecx, esi
push ecx
lea eax, [esi + ebx]
push 0x20
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [edi + 1]
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x105cb60
mov edi, ebx
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x105cb70
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
jmp 0x105cb9d
push 0x103
push esi
push ebx
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
mov eax, ebx
lea edx, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x105cba3
sub eax, edx
push 0
lea edx, [ebp - 8]
push edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2fca0]
push ebx
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop ebx
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x105d910
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push edi
push 0x281
push 8
mov dword [ebp - 4], 0x280
call esi
mov ebx, dword [sym.imp.KERNEL32.DLL_HeapAlloc]
push eax
call ebx
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x105db19
lea eax, [ebp - 4]
push eax
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x105d97b
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [ebp - 4]
test eax, eax
je 0x105db19
inc eax
push eax
push 8
call esi
push eax
call ebx
mov dword [ebp - 8], eax
mov edi, eax
test edi, edi
je 0x105db19
lea ecx, [ebp - 4]
push ecx
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x105db0d
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.msvcrt.dll_strncpy]
mov edi, edi
mov eax, dword [esi + 0x2de34]
cmp eax, 8
jge 0x105db04
imul eax, eax, 0x360
push 0x103
lea edx, [edi + 0x10c]
push edx
lea eax, [eax + esi + 0x2c439]
push eax
call ebx
mov edx, dword [esi + 0x2de34]
imul edx, edx, 0x360
push 0x103
lea ecx, [edi + 8]
push ecx
lea eax, [edx + esi + 0x2c334]
push eax
call ebx
mov eax, dword [edi + 0x190]
add esp, 0x18
cmp eax, 0x41
jb 0x105d9fd
mov eax, 0x41
mov ecx, dword [esi + 0x2de34]
imul ecx, ecx, 0x360
mov dword [ecx + esi + 0x2c580], eax
mov edx, dword [esi + 0x2de34]
imul edx, edx, 0x360
mov ecx, dword [edx + esi + 0x2c580]
lea eax, [edx + esi]
push ecx
lea edx, [edi + 0x194]
push edx
add eax, 0x2c53e
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esi + 0x2de34]
mov ecx, dword [edi + 0x1a0]
imul eax, eax, 0x360
mov dword [eax + esi + 0x2c690], ecx
mov eax, dword [esi + 0x2de34]
imul eax, eax, 0x360
push 0x3f
lea edx, [edi + 0x1b0]
push edx
lea ecx, [eax + esi + 0x2c584]
push ecx
call ebx
mov eax, dword [esi + 0x2de34]
imul eax, eax, 0x360
push 0x3f
lea edx, [edi + 0x1c0]
push edx
lea ecx, [eax + esi + 0x2c5c5]
push ecx
call ebx
mov eax, dword [esi + 0x2de34]
imul eax, eax, 0x360
push 0x3f
lea edx, [edi + 0x1d8]
push edx
lea ecx, [eax + esi + 0x2c606]
push ecx
call ebx
add esp, 0x30
cmp dword [edi + 0x1a4], 0
je 0x105daf4
mov edx, dword [esi + 0x2de34]
imul edx, edx, 0x360
mov dword [edx + esi + 0x2c648], 1
mov ecx, dword [esi + 0x2de34]
imul ecx, ecx, 0x360
push 0x3f
lea eax, [edi + 0x200]
push eax
lea edx, [ecx + esi + 0x2c64c]
push edx
call ebx
add esp, 0xc
inc dword [esi + 0x2de34]
mov edi, dword [edi]
test edi, edi
jne 0x105d9a0
mov edi, dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push edi
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x105e070
Capabilities:
List user accounts

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 8]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 2
push 2
push edi
call sub.NETAPI32.dll_NetUserEnum
mov ebx, eax
cmp ebx, edi
je 0x105e0b0
cmp ebx, 0xea
jne 0x105e0e9
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x105e0fd
cmp dword [ebp - 8], edi
jbe 0x105e0ec
lea esi, [eax + 0x24]
nop
mov ecx, dword [esi - 0x18]
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esi - 0x1c]
push eax
mov eax, dword [esi - 0x24]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.0105dfe0
inc edi
add esi, 0x60
cmp edi, dword [ebp - 8]
jb 0x105e0c0
mov eax, dword [ebp - 4]
xor edi, edi
cmp eax, edi
je 0x105e0fd
push eax
call sub.NETAPI32.dll_NetApiBufferFree
xor eax, eax
mov dword [ebp - 4], eax
cmp ebx, 0xea
je 0x105e086
cmp eax, edi
pop edi
pop esi
pop ebx
je 0x105e112
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov esp, ebp
pop ebp
ret 4
Function at 0x1061120
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1061166
cmp byte [esi], 0
je 0x1061166
mov ecx, esi
push edi
mov edx, esi
lea edi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1061140
sub ecx, edi
lea ecx, [ecx + esi - 1]
pop edi
cmp ecx, esi
jbe 0x1061166
push ebx
mov al, byte [ecx]
xor byte [edx], al
mov bl, byte [edx]
xor byte [ecx], bl
mov bl, byte [ecx]
xor byte [edx], bl
inc edx
dec ecx
cmp ecx, edx
ja 0x1061153
pop ebx
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10616d0
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x106171f
test esi, esi
je 0x106171f
mov ecx, 1
cmp esi, ecx
jbe 0x106171a
movzx eax, byte [ebp + 0x10]
cdq
push ebx
mov ebx, 0xff
idiv ebx
lea eax, [edi + 1]
or edi, 0xffffffff
mov bl, dl
add bl, cl
xor bl, byte [edi + eax]
inc ecx
xor bl, byte [eax]
inc eax
xor bl, 0xac
mov byte [eax - 1], bl
cmp ecx, esi
jb 0x1061701
mov edi, dword [ebp + 8]
pop ebx
mov al, byte [ebp + 0x10]
xor byte [edi], al
cmp esi, 0xa
jb 0x1061729
mov esi, 0xa
push 0xfa
push esi
push edi
call fcn.01021180
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1061740
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10617a7
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10617a6
mov eax, edi
cmp edi, 0xa
jb 0x1061761
mov eax, 0xa
push 0xfa
push eax
push esi
call fcn.010211e0
mov al, byte [ebp + 0x10]
xor byte [esi], al
lea ecx, [edi - 1]
test ecx, ecx
jbe 0x10617a6
movzx eax, al
cdq
mov edi, 0xff
idiv edi
lea eax, [ecx + esi]
or esi, 0xffffffff
push ebx
jmp 0x1061790
mov bl, dl
add bl, cl
xor bl, byte [esi + eax]
dec ecx
xor bl, byte [eax]
dec eax
xor bl, 0xac
mov byte [eax + 1], bl
test ecx, ecx
ja 0x1061790
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10641a0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0xc]
push ebx
push edi
call fcn.0102e690
test eax, eax
je 0x1064242
push 0x15
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x106423b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov dword [esi + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
push esi
push 0x10640f0
push 0
push 0
mov dword [esi + 8], ebx
mov dword [esi + 4], edi
mov dword [esi], ecx
mov dword [esi + 0xc], edx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp + 0x14], eax
test eax, eax
je 0x106422b
lea ecx, [ebx + 0x414]
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
mov edx, dword [ebx + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [edx + 0x1bc]
push eax
call ecx
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
push ebx
push edi
call fcn.0102e610
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edx
push ebx
push eax
push edi
push ecx
call fcn.01064070
push edi
call fcn.0102e770
pop edi
pop esi
pop ebx
pop ebp
ret 0x14

Function at 0x1068d60
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x294
push ebx
push esi
push edi
xor edi, edi
push 0x82
lea eax, [ebp - 0x88]
push edi
push eax
mov dword [ebp - 4], edi
call sub.msvcrt.dll_memset
mov ebx, dword [ebp + 0xc]
add esp, 0xc
test ebx, ebx
jne 0x1068d93
xor eax, eax
jmp 0x1068dac
mov eax, ebx
cmp word [ebx], di
je 0x1068da8
lea ebx, [ebx]
add eax, 2
cmp word [eax], di
jne 0x1068da0
sub eax, ebx
sar eax, 1
push eax
push 0x5c
push ebx
call fcn.0101e630
mov esi, eax
test esi, esi
je 0x1068e9b
push 0x20a
lea ecx, [ebp - 0x294]
push 0
push ecx
call sub.msvcrt.dll_memset
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x298]
add esp, 0xc
lea edx, [ebp - 0x294]
push edx
push 0x103
call eax
test eax, eax
je 0x1068e80
push 0
lea ecx, [ebp - 0x294]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov edx, dword [ebp + 0x14]
mov eax, dword [edi + 0x29c]
push edx
call eax
push eax
push 0x100dac0
lea ecx, [ebp - 0x88]
push 0x3f
push ecx
call fcn.0101e760
add esp, 0x14
lea edx, [ebp - 0x88]
push edx
add esi, 2
push esi
lea eax, [ebp - 0x294]
push eax
call fcn.01061570
mov esi, eax
test esi, esi
je 0x1068e80
mov ecx, dword [edi + 0x104]
push esi
push ebx
mov dword [ebp - 4], 1
call ecx
push esi
push ebx
push edi
call fcn.01068c10
mov edx, dword [edi + 0x304]
push esi
call edx
test eax, eax
jne 0x1068e70
push esi
push edi
call fcn.01034da0
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
cmp dword [ebp + 0x10], 0
je 0x1068e8f
mov eax, dword [edi + 0x10c]
push ebx
call eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1069120
Capabilities:
Manipulate boot configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, dword [ebp + 8]
movzx eax, word [esi + 0x267a4]
push eax
push 0x100db18
lea ecx, [ebp - 0x44]
push 0x3f
push ecx
call fcn.0101d440
mov edx, dword [ebp + 0xc]
add esp, 0x10
push edx
push 0x100db04
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.01068fc0
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x10696f0
Capabilities:
Enumerate network shares

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
lea esp, [esp]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 4]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
push 0x1f6
push edi
call sub.NETAPI32.dll_NetShareEnum
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
je 0x106973e
cmp esi, 0xea
jne 0x10697b9
mov eax, 1
mov dword [ebp + 8], eax
cmp dword [ebp - 4], eax
jb 0x10697a4
mov edi, dword [ebp - 8]
add edi, 0x18
mov eax, dword [edi]
push 0x100dbf4
push 0x1009bc4
push eax
call fcn.01061570
mov esi, eax
test esi, esi
je 0x1069790
mov ecx, dword [ebx + 0x108]
push 0x80
push esi
call ecx
mov edx, dword [ebx + 0x304]
push esi
call edx
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [ebp + 8]
inc eax
add edi, 0x28
mov dword [ebp + 8], eax
cmp eax, dword [ebp - 4]
jbe 0x1069751
mov esi, dword [ebp - 0x14]
xor edi, edi
mov eax, dword [ebp - 8]
push eax
call sub.NETAPI32.dll_NetApiBufferFree
cmp esi, 0xea
je 0x1069710
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x106bce0
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
xor esi, esi
push edi
push 3
push esi
call ebx
mov dword [ebp + esi*4 - 0x400], eax
inc esi
cmp esi, 0x100
jb 0x106bd00
xor ecx, ecx
jmp 0x106bd20
mov eax, dword [ebp + ecx*4 - 0x400]
cmp eax, 0xa4
je 0x106bd4d
cmp eax, 0xa5
je 0x106bd4d
cmp eax, 9
je 0x106bd4d
cmp eax, 0x2e
je 0x106bd4d
cmp eax, 0xa2
je 0x106bd4d
cmp eax, 0xa3
jne 0x106bd58
mov dword [ebp + ecx*4 - 0x400], 0x90
inc ecx
cmp ecx, 0x100
jb 0x106bd20
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov ecx, dword [edi + 0x258]
push 0
push 0x80
push 3
push 0
push 0
push DirectSoundEnumerateW
push 0x100b554
call ecx
mov esi, eax
test esi, esi
je 0x106bdc0
cmp esi, 0xffffffff
je 0x106bdc0
lea edx, [ebp + 8]
push edx
push 0
push 0
push 0x400
lea eax, [ebp - 0x400]
push eax
push 0x226400
push esi
push edi
mov dword [ebp + 8], 0
call fcn.0106a5f0
mov ecx, dword [edi + 0x1bc]
push esi
call ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x106bdd0
Capabilities:
Log keystrokes via application hook

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 4]
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
push 0x106bae0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [edi + 4], eax
test eax, eax
je 0x106be17
cmp eax, 0xffffffff
je 0x106be17
test esi, esi
je 0x106be1a
cmp esi, 0xffffffff
je 0x106be1a
push esi
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
pop edi
pop esi
pop ebp
ret 4
mov dword [edi + 4], esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x106c9a0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push esi
push edi
push 0xd
push 8
xor edi, edi
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x106ca20
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [esi + 4], ecx
lea ecx, [ebp + 8]
push ecx
push 0
push esi
push 0x106c930
mov dword [esi], eax
mov dword [esi + 8], edx
mov eax, dword [eax + 0x20044]
mov edi, dword [eax]
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x106ca0b
mov edx, dword [edi + 0x1bc]
push eax
call edx
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0xc
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x106e8a0
Capabilities:
Check for time delay via gettickcount
Check if file exists
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
mov edx, 1
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
cmp esi, eax
je 0x106e8c6
mov dword [ebp + 0x10], eax
cmp dword [esi], edx
je 0x106e8c9
mov dword [ebp + 0x10], edx
cmp esi, eax
je 0x106e8ee
mov ecx, edx
lea eax, [esi + 1]
or edi, 0xffffffff
mov bl, cl
sub bl, 0x55
xor bl, byte [edi + eax]
add ecx, edx
xor byte [eax], bl
add eax, edx
cmp ecx, 0xf50
jb 0x106e8d5
xor byte [esi], 0xac
mov ebx, dword [ebp + 0x14]
mov edi, esi
neg edi
sbb edi, edi
and edi, 0xf50
lea ecx, [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x474]
push ebx
lea edx, [ebp - 0xc]
push edx
push edi
push esi
push edi
push esi
push eax
call ecx
cmp dword [ebp + 0x18], 0
mov edx, eax
mov dword [ebp + 0x14], edx
jne 0x106e996
cmp dword [ebp + 0x10], 0
je 0x106e996
test edx, edx
jne 0x106e996
cmp dword [ebp - 8], eax
je 0x106e93a
mov dword [ebp - 8], eax
jmp 0x106e964
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp dword [eax + 0x2f204], 0
jne 0x106e996
cmp dword [eax + 0x2f1ac], 0
jne 0x106e996
cmp dword [eax + 0x2f208], 0
jne 0x106e996
push ecx
call fcn.01047f60
test eax, eax
jne 0x106e996
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp dword [ebp - 4], 0
jne 0x106e975
mov dword [ebp - 4], eax
jmp 0x106e97c
sub eax, dword [ebp - 4]
cmp eax, ebx
ja 0x106e993
push 2
call dword [sym.imp.KERNEL32.DLL_Sleep]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x106e900
mov edx, dword [ebp + 0x14]
test esi, esi
je 0x106e9c0
xor byte [esi], 0xac
lea eax, [esi + 0xf4f]
mov ecx, 0xf4f
or esi, 0xffffffff
jmp 0x106e9b0
mov bl, cl
sub bl, 0x55
xor bl, byte [eax + esi]
dec ecx
xor byte [eax], bl
dec eax
test ecx, ecx
ja 0x106e9b0
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x106f1f0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push esi
push 9
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
test esi, esi
je 0x106f255
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push edi
lea edx, [ebp + 8]
push edx
push 0
push esi
push 0x106f1a0
push 0
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edi, dword [eax]
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x106f248
push eax
mov eax, dword [edi + 0x1bc]
call eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x106f930
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
push esi
push 0x402
lea eax, [ebp - 0x404]
push 0
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
cmp dword [esi + 0x1c], 0
je 0x106f9a7
push edi
mov edi, dword [ebp + 0xc]
push 0x1ff
lea ecx, [ebp - 0x404]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x106f9a6
mov edx, dword [esi + 4]
mov dword [edx + 0x8dc4], 1
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x130]
mov edx, dword [eax + 0x1c]
push 0
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x106f9c0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
push esi
push 0x402
lea eax, [ebp - 0x404]
push 0
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
cmp dword [esi + 0x1c], 0
je 0x106fa51
push edi
mov edi, dword [ebp + 0xc]
push 0x1ff
lea ecx, [ebp - 0x404]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x106fa50
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x106fa50
push eax
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x106fa50
mov eax, dword [esi + 4]
mov dword [eax + 0x8dc4], 0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x134]
mov edx, dword [eax + 0x1c]
push 0
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x1071b20
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push esi
push eax
push 0x1009bc4
push ecx
call fcn.01061570
mov esi, eax
test esi, esi
je 0x1071b83
cmp word [esi], 0
je 0x1071b4d
add eax, 2
cmp word [eax], 0
jne 0x1071b44
push edi
mov edi, dword [ebp + 8]
push 0
sub eax, esi
push 0x1047680
sar eax, 1
push eax
push esi
push edi
call fcn.0101f8f0
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
push esi
push edi
call fcn.01034da0
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10766b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
xor edi, edi
cmp dword [ebx + 0xc], 0x2c
jne 0x107674e
mov esi, dword [ebx + 8]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
xor eax, eax
push 0x20
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
push edi
push edi
push 0x226410
push edx
call fcn.0106a6d0
test eax, eax
je 0x107674e
cmp dword [ebp - 0x10], edi
je 0x107674e
test byte [esi + 0x29040], 0x80
jne 0x107674e
cmp dword [esi + 0x29044], edi
je 0x107674e
cmp dword [ebx + 0x10], edi
je 0x107673e
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
push eax
push 0x1050180
push esi
call fcn.0104e8f0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x1077160
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10772e2
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push edi
mov edi, dword [esi]
lea eax, [edi + 0xc4]
push 1
push eax
mov dword [ebp + 8], edi
mov dword [ebp - 4], eax
call ebx
test eax, eax
jne 0x10772d7
mov eax, dword [esi]
mov ecx, dword [eax]
cmp dword [ecx + 0x293ac], 0
jne 0x10772ce
cmp dword [ecx + 0x293a8], 0
jne 0x10772ce
cmp dword [edi + 0xd4], 0
jne 0x10772ce
cmp dword [edi + 0xd0], 0
je 0x10771eb
mov eax, dword [edi]
push edi
push 0x1052d40
push eax
call fcn.0104e8f0
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov dword [eax], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
add eax, 0xc0
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov ebx, eax
mov eax, dword [esi]
cmp dword [eax + 0xcc], 0
je 0x107723c
lea ebx, [ebx]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x124]
push 0x32
call ecx
call edi
sub eax, ebx
cmp eax, 0x7d0
ja 0x10772ce
mov eax, dword [esi]
cmp dword [eax + 0xcc], 0
jne 0x1077210
mov edx, dword [esi]
add edx, 0xec
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
push 0
push esi
call fcn.01076f80
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1077260
push eax
call fcn.010608a0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x107726e
mov ecx, dword [esi]
push 0
push ecx
call eax
cmp dword [esi + 0x24], 0
je 0x1077279
mov edi, dword [esi + 0x20]
jmp 0x107727b
xor edi, edi
mov eax, dword [esi]
mov edx, dword [eax + 0xe4]
push edx
add eax, 0xe0
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov eax, dword [esi]
mov dword [eax + 0xe4], 0
mov ecx, dword [esi]
mov edx, dword [ecx + 0xe0]
push 1
push edx
call fcn.01076f80
mov eax, dword [esi + 0x28]
mov ecx, dword [esi]
push eax
push 0xffffffffffffffff
push 0xfffffffffffffffd
push ecx
call fcn.01045c00
push esi
call fcn.01076e90
test edi, edi
je 0x10772ce
mov edx, dword [ebp + 8]
push 0
push edx
call edi
mov eax, dword [ebp - 4]
mov dword [eax], 0
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4