joyce8/EMBER2024-capa huggingface dataset:
Function at 0x107e710
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 0x107e75f
test esi, esi
je 0x107e75f
mov ecx, 1
cmp esi, ecx
jbe 0x107e75a
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 0x107e741
mov edi, dword [ebp + 8]
pop ebx
mov al, byte [ebp + 0x10]
xor byte [edi], al
cmp esi, 0xa
jb 0x107e769
mov esi, 0xa
push 0xfa
push esi
push edi
call fcn.0102d4c0
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x107e780
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 0x107e7e7
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x107e7e6
mov eax, edi
cmp edi, 0xa
jb 0x107e7a1
mov eax, 0xa
push 0xfa
push eax
push esi
call fcn.0102d520
mov al, byte [ebp + 0x10]
xor byte [esi], al
lea ecx, [edi - 1]
test ecx, ecx
jbe 0x107e7e6
movzx eax, al
cdq
mov edi, 0xff
idiv edi
lea eax, [ecx + esi]
or esi, 0xffffffff
push ebx
jmp 0x107e7d0
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 0x107e7d0
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x107eb30
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push eax
push esi
mov dword [ebp - 8], 0
call fcn.01034e20
fcomp qword [0x100fd68]
fnstsw ax
test ah, 5
jp 0x107eb68
cmp byte [esi], 0x25
je 0x107eb68
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov al, byte [esi]
mov cl, byte [esi + 1]
cmp al, cl
jne 0x107eb7b
cmp al, byte [esi + 2]
jne 0x107eb7b
cmp al, byte [esi + 3]
je 0x107eb5f
cmp al, 0x73
jne 0x107eb90
cmp cl, 0x74
jne 0x107eb90
cmp byte [esi + 2], 0x64
jne 0x107eb90
cmp byte [esi + 3], 0x3a
je 0x107eb5f
cmp al, 0x63
jne 0x107eb9f
cmp cl, 0x6c
jne 0x107eb9f
cmp byte [esi + 2], 0x57
je 0x107eb5f
cmp al, 0x45
je 0x107eba7
cmp al, 0x54
jne 0x107ebb8
movzx ecx, cl
push ecx
call dword [sym.imp.msvcrt.dll_isupper]
add esp, 4
test eax, eax
jne 0x107eb5f
mov dl, byte [esi]
cmp dl, 0x2d
je 0x107eb5f
cmp dl, 0x5f
je 0x107eb5f
mov cl, byte [esi + 3]
cmp cl, byte [esi + 5]
jne 0x107ebd6
cmp cl, byte [esi + 7]
jne 0x107ebd6
cmp cl, byte [esi + 9]
je 0x107eb5f
mov al, byte [esi + 2]
mov byte [ebp + 0xb], al
cmp dl, al
jne 0x107ebe9
cmp dl, byte [esi + 4]
je 0x107eb5f
push ebx
mov bl, byte [esi + 4]
cmp al, bl
jne 0x107ebf6
cmp al, byte [esi + 6]
je 0x107ec03
mov al, byte [esi + 6]
cmp al, byte [esi + 8]
jne 0x107ec0d
cmp al, byte [esi + 0xa]
jne 0x107ec0d
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov al, byte [esi + 1]
mov byte [ebp - 2], al
movzx eax, al
movzx edx, dl
push edi
lea edi, [eax - 1]
cmp edx, edi
jne 0x107ec4d
movzx edx, byte [ebp + 0xb]
lea edi, [edx - 1]
cmp eax, edi
jne 0x107ec4d
movzx ecx, cl
lea eax, [ecx - 1]
cmp edx, eax
jne 0x107ec4d
movzx eax, bl
lea edx, [eax - 1]
cmp ecx, edx
jne 0x107ec4d
movzx ecx, byte [esi + 5]
dec ecx
cmp eax, ecx
je 0x107ecdd
mov edi, dword [ebp + 0xc]
xor ebx, ebx
lea eax, [edi - 2]
xor ecx, ecx
mov dword [ebp - 0xc], ebx
lea edx, [ebx + 1]
test eax, eax
jbe 0x107ecbe
cmp edi, 6
jae 0x107ec81
mov al, byte [ecx + esi]
cmp al, 0x5e
je 0x107ecdd
cmp al, 0x5b
je 0x107ecdd
cmp al, 0x5d
je 0x107ecdd
cmp al, 0x5f
je 0x107ecdd
cmp al, 0x3d
je 0x107ecdd
cmp al, 0x7d
je 0x107ecdd
mov al, byte [ecx + esi]
cmp al, 0x2e
je 0x107ec8c
cmp al, 0x5c
jne 0x107ec9b
cmp edi, 0x20
jae 0x107ec9b
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 8], 1
cmp al, byte [esi + ecx + 1]
jne 0x107eca4
inc edx
jmp 0x107ecb2
cmp edx, ebx
jle 0x107ecad
mov ebx, edx
mov dword [ebp - 0xc], ebx
mov edx, 1
inc ecx
lea eax, [edi - 2]
cmp ecx, eax
jb 0x107ec61
cmp edx, ebx
jle 0x107ecc0
mov ebx, edx
cmp ebx, 4
jl 0x107eccb
cmp dword [ebp - 8], 0
je 0x107ecdd
mov al, byte [esi]
cmp al, byte [ebp - 2]
jne 0x107ece8
cmp al, byte [ebp + 0xb]
jne 0x107ece8
cmp dword [ebp - 8], 0
jne 0x107ece8
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x108e280
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 0x108e2b3
xor eax, eax
jmp 0x108e2cc
mov eax, ebx
cmp word [ebx], di
je 0x108e2c8
lea ebx, [ebx]
add eax, 2
cmp word [eax], di
jne 0x108e2c0
sub eax, ebx
sar eax, 1
push eax
push 0x5c
push ebx
call fcn.0102a9b0
mov esi, eax
test esi, esi
je 0x108e3bb
push 0x20a
lea ecx, [ebp - 0x294]
push 0
push ecx
call sub.msvcrt.dll_memset
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x2a0]
add esp, 0xc
lea edx, [ebp - 0x294]
push edx
push 0x103
call eax
test eax, eax
je 0x108e3a0
push 0
lea ecx, [ebp - 0x294]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov edx, dword [ebp + 0x14]
mov eax, dword [edi + 0x2a4]
push edx
call eax
push eax
push 0x10127d0
lea ecx, [ebp - 0x88]
push 0x3f
push ecx
call fcn.0102aaf0
add esp, 0x14
lea edx, [ebp - 0x88]
push edx
add esi, 2
push esi
lea eax, [ebp - 0x294]
push eax
call fcn.0107e5b0
mov esi, eax
test esi, esi
je 0x108e3a0
mov ecx, dword [edi + 0x108]
push esi
push ebx
mov dword [ebp - 4], 1
call ecx
push esi
push ebx
push edi
call fcn.0108e130
mov edx, dword [edi + 0x314]
push esi
call edx
test eax, eax
jne 0x108e390
push esi
push edi
call fcn.01048720
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 0x108e3af
mov eax, dword [edi + 0x110]
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 0x108e640
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 + 0x7eb4]
push eax
push 0x1012824
lea ecx, [ebp - 0x44]
push 0x3f
push ecx
call fcn.01029620
mov edx, dword [ebp + 0xc]
add esp, 0x10
push edx
push 0x1012810
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0108e4e0
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x108eaa0
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 0x108eaee
cmp esi, 0xea
jne 0x108eb69
mov eax, 1
mov dword [ebp + 8], eax
cmp dword [ebp - 4], eax
jb 0x108eb54
mov edi, dword [ebp - 8]
add edi, 0x18
mov eax, dword [edi]
push 0x10128c0
push 0x100b744
push eax
call fcn.0107e5b0
mov esi, eax
test esi, esi
je 0x108eb40
mov ecx, dword [ebx + 0x10c]
push 0x80
push esi
call ecx
mov edx, dword [ebx + 0x314]
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 0x108eb01
mov esi, dword [ebp - 0x14]
xor edi, edi
mov eax, dword [ebp - 8]
push eax
call sub.NETAPI32.dll_NetApiBufferFree
cmp esi, 0xea
je 0x108eac0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1091280
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor ebx, ebx
push 0x1801
push ebx
mov dword [ebp - 4], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, ebx
je 0x10913a8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [ebp - 4]
push eax
push 0x1800
push esi
push ebx
push ebx
push 0x226420
push edx
call fcn.0108fdf0
test eax, eax
je 0x1091398
cmp dword [ebp - 4], ebx
je 0x1091398
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
cmp dword [edx + 0x1d80], 0x226404
mov dword [ebp + 0x10], eax
jne 0x1091398
mov eax, 0xaaaaaaab
mul dword [ebp - 4]
shr edx, 3
mov dword [ebp + 8], 1
test edx, edx
jbe 0x1091395
add esi, 2
lea ebx, [ebx]
xor eax, eax
mov dword [ebp - 0x24], eax
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 eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], 1
movzx ecx, word [esi]
push eax
push 3
push ecx
xor edi, edi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov word [ebp - 0x20], ax
mov dx, word [esi]
mov word [ebp - 0x1e], dx
test byte [esi + 2], 1
je 0x1091366
mov edi, 2
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 0x1c
lea eax, [ebp - 0x24]
push eax
push 1
mov dword [ebp - 0x1c], edi
call dword [sym.imp.USER32.dll_SendInput]
mov eax, 0xaaaaaaab
mul dword [ebp - 4]
inc ebx
shr edx, 3
add esi, 0xc
cmp ebx, edx
jb 0x1091320
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x1091600
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 0x1091620
xor ecx, ecx
jmp 0x1091640
mov eax, dword [ebp + ecx*4 - 0x400]
cmp eax, 0xa4
je 0x1091679
cmp eax, 0xa5
je 0x1091679
cmp eax, 9
je 0x1091679
cmp eax, 0x2e
je 0x1091679
cmp eax, 0xa2
je 0x1091679
cmp eax, 0xa3
je 0x1091679
cmp eax, 0x14
je 0x1091679
cmp eax, 0xa6
jb 0x1091684
mov dword [ebp + ecx*4 - 0x400], 0x90
inc ecx
cmp ecx, 0x100
jb 0x1091640
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov ecx, dword [edi + 0x260]
push 0
push 0x80
push 3
push 0
push 0
push connect
push 0x100dd44
call ecx
mov esi, eax
test esi, esi
je 0x10916ec
cmp esi, 0xffffffff
je 0x10916ec
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.0108fca0
mov ecx, dword [edi + 0x1c0]
push esi
call ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1091700
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 0x10913c0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [edi + 4], eax
test eax, eax
je 0x1091747
cmp eax, 0xffffffff
je 0x1091747
test esi, esi
je 0x109174a
cmp esi, 0xffffffff
je 0x109174a
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 0x1092280
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 0x10922fd
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 0x1092220
mov dword [esi], eax
mov dword [esi + 8], edx
mov eax, dword [eax + 0x50]
mov edi, dword [eax]
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x10922e8
mov edx, dword [edi + 0x1c0]
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 0x1093b90
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0x1b
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x1093bfb
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1093bcc
push edi
mov edi, 0x18
mov ecx, eax
sub esi, eax
lea esp, [esp]
mov dl, byte [esi + ecx]
mov byte [ecx], dl
inc ecx
sub edi, 1
jne 0x1093bc0
pop edi
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea edx, [ebp + 0x10]
push edx
push 0
push eax
push 0x10549f0
push 0
push 0
mov dword [eax + 4], ecx
mov dword [eax], esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x1093bfa
push eax
mov eax, dword [esi + 0x1c0]
call eax
pop esi
pop ebp
ret 0xc
Function at 0x1093cd0
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 0x1093cf6
mov dword [ebp + 0x10], eax
cmp dword [esi], edx
je 0x1093cf9
mov dword [ebp + 0x10], edx
cmp esi, eax
je 0x1093d1e
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 0x1093d05
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 + 0x490]
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 0x1093dc6
cmp dword [ebp + 0x10], 0
je 0x1093dc6
test edx, edx
jne 0x1093dc6
cmp dword [ebp - 8], eax
je 0x1093d6a
mov dword [ebp - 8], eax
jmp 0x1093d94
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp dword [eax + 0x129c8], 0
jne 0x1093dc6
cmp dword [eax + 0x12964], 0
jne 0x1093dc6
cmp dword [eax + 0x129cc], 0
jne 0x1093dc6
push ecx
call fcn.010630b0
test eax, eax
jne 0x1093dc6
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp dword [ebp - 4], 0
jne 0x1093da5
mov dword [ebp - 4], eax
jmp 0x1093dac
sub eax, dword [ebp - 4]
cmp eax, ebx
ja 0x1093dc3
push 2
call dword [sym.imp.KERNEL32.DLL_Sleep]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x1093d30
mov edx, dword [ebp + 0x14]
test esi, esi
je 0x1093df0
xor byte [esi], 0xac
lea eax, [esi + 0xf4f]
mov ecx, 0xf4f
or esi, 0xffffffff
jmp 0x1093de0
mov bl, cl
sub bl, 0x55
xor bl, byte [eax + esi]
dec ecx
xor byte [eax], bl
dec eax
test ecx, ecx
ja 0x1093de0
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x1094560
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 0x10945c5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push edi
lea edx, [ebp + 8]
push edx
push 0
push esi
push 0x1094510
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 0x10945b8
push eax
mov eax, dword [edi + 0x1c0]
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 0x1094dc0
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 0x1094e37
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 0x1094e36
mov edx, dword [esi + 4]
mov dword [edx + 0x4b8], 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 0x1094e50
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 0x1094ee1
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 0x1094ee0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1094ee0
push eax
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.msvcrt.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x1094ee0
mov eax, dword [esi + 4]
mov dword [eax + 0x4b8], 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 0x1097860
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 0x100b744
push ecx
call fcn.0107e5b0
mov esi, eax
test esi, esi
je 0x10978c3
cmp word [esi], 0
je 0x109788d
add eax, 2
cmp word [eax], 0
jne 0x1097884
push edi
mov edi, dword [ebp + 8]
push 0
sub eax, esi
push 0x105e890
sar eax, 1
push eax
push esi
push edi
call fcn.0102bdc0
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
push esi
push edi
call fcn.01048720
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 0x1099db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, edx
jb 0x1099e2f
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call sub.msvcrt.dll_memcpy
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x1099e02
sub eax, ebx
jmp 0x1099e04
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x1099df3
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x1099e23
sub eax, ebx
jmp 0x1099e25
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x1099e14
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x1099e89
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, esi
add edx, dword [edi + 0x38]
mov esi, eax
push edx
call fcn.01099d30
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
cmp edx, 3
jb 0x1099e75
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x1099e89
mov edx, dword [edi]
cmp dword [edx + 4], 0
jne 0x1099db7
pop esi
pop ebx
ret

Function at 0x109e240
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 0x109e2de
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.0108fd80
test eax, eax
je 0x109e2de
cmp dword [ebp - 0x10], edi
je 0x109e2de
test byte [esi + 0x2c288], 0x80
jne 0x109e2de
cmp dword [esi + 0x2c28c], edi
je 0x109e2de
cmp dword [ebx + 0x10], edi
je 0x109e2ce
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
push eax
push 0x106ce80
push esi
call fcn.0106b830
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 0x109eac0
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 0x109ec51
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push edi
mov edi, dword [esi]
lea eax, [edi + 0xd0]
push 1
push eax
mov dword [ebp + 8], edi
mov dword [ebp - 4], eax
call ebx
test eax, eax
jne 0x109ec46
mov eax, dword [esi]
mov ecx, dword [eax]
cmp dword [ecx + 0x2c604], 0
jne 0x109ec3d
cmp dword [ecx + 0x2c600], 0
jne 0x109ec3d
cmp dword [edi + 0xe4], 0
jne 0x109ec3d
cmp dword [edi + 0xe0], 0
je 0x109eb4b
mov eax, dword [edi]
push edi
push 0x106e970
push eax
call fcn.0106b830
mov ecx, dword [ebp - 4]
pop edi
pop ebx
mov dword [ecx], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
add eax, 0xcc
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov ebx, eax
mov eax, dword [esi]
cmp dword [eax + 0xd8], 0
je 0x109eb9c
lea ebx, [ebx]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x128]
push 0x32
call ecx
call edi
sub eax, ebx
cmp eax, 0x7d0
ja 0x109ec3d
mov eax, dword [esi]
cmp dword [eax + 0xd8], 0
jne 0x109eb70
mov edx, dword [esi]
add edx, 0xfc
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
push 0
push esi
call fcn.0109e950
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x109ebc0
push eax
call fcn.01047230
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x109ebce
mov ecx, dword [esi]
push 0
push ecx
call eax
cmp dword [esi + 0x24], 0
je 0x109ebd9
mov edi, dword [esi + 0x20]
jmp 0x109ebdb
xor edi, edi
mov eax, dword [esi]
mov edx, dword [eax + 0xf4]
mov ebx, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push edx
add eax, 0xf0
push eax
call ebx
mov eax, dword [esi]
mov dword [eax + 0xf4], 0
mov ecx, dword [esi]
mov edx, dword [ecx + 0xf0]
push 1
push edx
call fcn.0109e950
mov eax, dword [esi + 0x28]
mov ecx, dword [esi]
push eax
push 0xffffffffffffffff
push 0xfffffffffffffffd
push ecx
call fcn.0105ce00
push esi
call fcn.0109e860
test edi, edi
je 0x109ec30
mov edx, dword [ebp + 8]
push 0
push edx
call edi
mov eax, dword [ebp + 8]
push 0
add eax, 0xf8
push eax
call ebx
mov ecx, dword [ebp - 4]
mov dword [ecx], 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