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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x107f69b
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x107f68f
push edi
push 0
push 0
mov ecx, 1
mov word [ebp - 0x3c], cx
mov edx, 0x18
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x48], 0x28
mov dword [ebp - 0x44], 0x2a6
mov dword [ebp - 0x40], 0x1c2
mov word [ebp - 0x3a], dx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xdfae8
mov ecx, 0xa
lea esi, [ebp - 0x48]
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
push 0
lea ecx, [ebp - 0x74]
push ecx
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
test eax, eax
je 0x107f684
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push esi
push 0x1c2
push 0x2a6
push 0
push 0
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
add eax, 0x12
push 0
lea edx, [eax + eax*2]
push 0x40000000
mov eax, 0x4d42
push ecx
mov dword [ebp - 0x16], 0x36
mov dword [ebp - 0x1e], edx
mov word [ebp - 0x20], ax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
test esi, esi
je 0x107f672
cmp esi, 0xffffffff
je 0x107f672
mov edi, dword [sym.imp.KERNEL32.DLL_WriteFile]
push 0
lea edx, [ebp - 4]
push edx
push 0xe
lea eax, [ebp - 0x20]
push eax
push esi
call edi
push 0
lea ecx, [ebp - 4]
push ecx
push 0x28
lea edx, [ebp - 0x48]
push edx
push esi
call edi
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
push 0
lea eax, [ebp - 4]
push eax
push ecx
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [ebp - 8]
pop edi
mov ecx, dword [ebp + 8]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1081660
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
push edi
push 5
push eax
call ebx
mov edi, dword [esi + 0xc]
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x108168c
push 9
push edi
call ebx
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
push ecx
add edx, 0x2c608
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
mov esi, dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
cmp ebx, esi
je 0x10816ff
lea eax, [ebp + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 1
mov ebx, eax
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
je 0x10816ff
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push ebx
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1081720
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push 0xf
push esi
call fcn.01060140
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov esi, dword [esi + 0xc]
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1081757
push 9
push esi
call edi
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
ret 8
Function at 0x1083260
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
test ebx, ebx
je 0x108334a
push esi
lea eax, [ebp + 8]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x108333f
lea ecx, [esi + 1]
push ecx
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edi, eax
test edi, edi
je 0x1083333
mov edx, dword [ebp + 8]
push edi
push esi
push edx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1083315
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x100bfcc
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1083315
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
test eax, eax
je 0x10832e4
mov dx, word [ecx + 0xa]
mov word [eax], dx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10832f2
mov dx, word [ecx + 8]
mov word [eax], dx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1083300
mov dx, word [ecx + 0xe]
mov word [eax], dx
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x108330e
mov cx, word [ecx + 0xc]
mov word [eax], cx
mov esi, 1
jmp 0x1083318
mov esi, dword [ebp - 4]
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 4]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x1083e30
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 0x1083e76
cmp byte [esi], 0
je 0x1083e76
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 0x1083e50
sub ecx, edi
lea ecx, [ecx + esi - 1]
pop edi
cmp ecx, esi
jbe 0x1083e76
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 0x1083e63
pop ebx
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1084440
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 0x108448f
test esi, esi
je 0x108448f
mov ecx, 1
cmp esi, ecx
jbe 0x108448a
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 0x1084471
mov edi, dword [ebp + 8]
pop ebx
mov al, byte [ebp + 0x10]
xor byte [edi], al
cmp esi, 0xa
jb 0x1084499
mov esi, 0xa
push 0xfa
push esi
push edi
call fcn.0102fbf0
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10844b0
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 0x1084517
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1084516
mov eax, edi
cmp edi, 0xa
jb 0x10844d1
mov eax, 0xa
push 0xfa
push eax
push esi
call fcn.0102fc50
mov al, byte [ebp + 0x10]
xor byte [esi], al
lea ecx, [edi - 1]
test ecx, ecx
jbe 0x1084516
movzx eax, al
cdq
mov edi, 0xff
idiv edi
lea eax, [ecx + esi]
or esi, 0xffffffff
push ebx
jmp 0x1084500
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 0x1084500
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1084860
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.01037550
fcomp qword [0x10107d0]
fnstsw ax
test ah, 5
jp 0x1084898
cmp byte [esi], 0x25
je 0x1084898
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 0x10848ab
cmp al, byte [esi + 2]
jne 0x10848ab
cmp al, byte [esi + 3]
je 0x108488f
cmp al, 0x73
jne 0x10848c0
cmp cl, 0x74
jne 0x10848c0
cmp byte [esi + 2], 0x64
jne 0x10848c0
cmp byte [esi + 3], 0x3a
je 0x108488f
cmp al, 0x63
jne 0x10848cf
cmp cl, 0x6c
jne 0x10848cf
cmp byte [esi + 2], 0x57
je 0x108488f
cmp al, 0x45
je 0x10848d7
cmp al, 0x54
jne 0x10848e8
movzx ecx, cl
push ecx
call dword [sym.imp.msvcrt.dll_isupper]
add esp, 4
test eax, eax
jne 0x108488f
mov dl, byte [esi]
cmp dl, 0x2d
je 0x108488f
cmp dl, 0x5f
je 0x108488f
mov cl, byte [esi + 3]
cmp cl, byte [esi + 5]
jne 0x1084906
cmp cl, byte [esi + 7]
jne 0x1084906
cmp cl, byte [esi + 9]
je 0x108488f
mov al, byte [esi + 2]
mov byte [ebp + 0xb], al
cmp dl, al
jne 0x1084919
cmp dl, byte [esi + 4]
je 0x108488f
push ebx
mov bl, byte [esi + 4]
cmp al, bl
jne 0x1084926
cmp al, byte [esi + 6]
je 0x1084933
mov al, byte [esi + 6]
cmp al, byte [esi + 8]
jne 0x108493d
cmp al, byte [esi + 0xa]
jne 0x108493d
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 0x108497d
movzx edx, byte [ebp + 0xb]
lea edi, [edx - 1]
cmp eax, edi
jne 0x108497d
movzx ecx, cl
lea eax, [ecx - 1]
cmp edx, eax
jne 0x108497d
movzx eax, bl
lea edx, [eax - 1]
cmp ecx, edx
jne 0x108497d
movzx ecx, byte [esi + 5]
dec ecx
cmp eax, ecx
je 0x1084a0d
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 0x10849ee
cmp edi, 6
jae 0x10849b1
mov al, byte [ecx + esi]
cmp al, 0x5e
je 0x1084a0d
cmp al, 0x5b
je 0x1084a0d
cmp al, 0x5d
je 0x1084a0d
cmp al, 0x5f
je 0x1084a0d
cmp al, 0x3d
je 0x1084a0d
cmp al, 0x7d
je 0x1084a0d
mov al, byte [ecx + esi]
cmp al, 0x2e
je 0x10849bc
cmp al, 0x5c
jne 0x10849cb
cmp edi, 0x20
jae 0x10849cb
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 8], 1
cmp al, byte [esi + ecx + 1]
jne 0x10849d4
inc edx
jmp 0x10849e2
cmp edx, ebx
jle 0x10849dd
mov ebx, edx
mov dword [ebp - 0xc], ebx
mov edx, 1
inc ecx
lea eax, [edi - 2]
cmp ecx, eax
jb 0x1084991
cmp edx, ebx
jle 0x10849f0
mov ebx, edx
cmp ebx, 4
jl 0x10849fb
cmp dword [ebp - 8], 0
je 0x1084a0d
mov al, byte [esi]
cmp al, byte [ebp - 2]
jne 0x1084a18
cmp al, byte [ebp + 0xb]
jne 0x1084a18
cmp dword [ebp - 8], 0
jne 0x1084a18
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 0x1093ff0
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 0x1094023
xor eax, eax
jmp 0x109403c
mov eax, ebx
cmp word [ebx], di
je 0x1094038
lea ebx, [ebx]
add eax, 2
cmp word [eax], di
jne 0x1094030
sub eax, ebx
sar eax, 1
push eax
push 0x5c
push ebx
call fcn.0102d100
mov esi, eax
test esi, esi
je 0x109412b
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 0x1094110
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 0x1013240
lea ecx, [ebp - 0x88]
push 0x3f
push ecx
call fcn.0102d240
add esp, 0x14
lea edx, [ebp - 0x88]
push edx
add esi, 2
push esi
lea eax, [ebp - 0x294]
push eax
call fcn.010842c0
mov esi, eax
test esi, esi
je 0x1094110
mov ecx, dword [edi + 0x108]
push esi
push ebx
mov dword [ebp - 4], 1
call ecx
push esi
push ebx
push edi
call fcn.01093ea0
mov edx, dword [edi + 0x314]
push esi
call edx
test eax, eax
jne 0x1094100
push esi
push edi
call fcn.0104b060
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 0x109411f
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 0x10943b0
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 + 0x87fc]
push eax
push 0x1013294
lea ecx, [ebp - 0x44]
push 0x3f
push ecx
call fcn.0102bdb0
mov edx, dword [ebp + 0xc]
add esp, 0x10
push edx
push 0x1013280
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.01094250
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1094810
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 0x109485e
cmp esi, 0xea
jne 0x10948d9
mov eax, 1
mov dword [ebp + 8], eax
cmp dword [ebp - 4], eax
jb 0x10948c4
mov edi, dword [ebp - 8]
add edi, 0x18
mov eax, dword [edi]
push 0x1013330
push 0x100bfcc
push eax
call fcn.010842c0
mov esi, eax
test esi, esi
je 0x10948b0
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 0x1094871
mov esi, dword [ebp - 0x14]
xor edi, edi
mov eax, dword [ebp - 8]
push eax
call sub.NETAPI32.dll_NetApiBufferFree
cmp esi, 0xea
je 0x1094830
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1097630
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 0x1097758
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.01096010
test eax, eax
je 0x1097748
cmp dword [ebp - 4], ebx
je 0x1097748
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 + 0x1d84], 0x226404
mov dword [ebp + 0x10], eax
jne 0x1097748
mov eax, 0xaaaaaaab
mul dword [ebp - 4]
shr edx, 3
mov dword [ebp + 8], 1
test edx, edx
jbe 0x1097745
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 0x1097716
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 0x10976d0
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 0x10979b0
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 0x10979d0
xor ecx, ecx
jmp 0x10979f0
mov eax, dword [ebp + ecx*4 - 0x400]
cmp eax, 0xa4
je 0x1097a29
cmp eax, 0xa5
je 0x1097a29
cmp eax, 9
je 0x1097a29
cmp eax, 0x2e
je 0x1097a29
cmp eax, 0xa2
je 0x1097a29
cmp eax, 0xa3
je 0x1097a29
cmp eax, 0x14
je 0x1097a29
cmp eax, 0xa6
jb 0x1097a34
mov dword [ebp + ecx*4 - 0x400], 0x90
inc ecx
cmp ecx, 0x100
jb 0x10979f0
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 0x100e60c
call ecx
mov esi, eax
test esi, esi
je 0x1097a9c
cmp esi, 0xffffffff
je 0x1097a9c
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.01095ec0
mov ecx, dword [edi + 0x1c0]
push esi
call ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1097ab0
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 0x1097770
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [edi + 4], eax
test eax, eax
je 0x1097af7
cmp eax, 0xffffffff
je 0x1097af7
test esi, esi
je 0x1097afa
cmp esi, 0xffffffff
je 0x1097afa
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 0x1098770
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 0x10987ed
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 0x1098710
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 0x10987d8
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 0x109a0f0
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 0x109a15b
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x109a12c
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 0x109a120
pop edi
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea edx, [ebp + 0x10]
push edx
push 0
push eax
push 0x1057b40
push 0
push 0
mov dword [eax + 4], ecx
mov dword [eax], esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x109a15a
push eax
mov eax, dword [esi + 0x1c0]
call eax
pop esi
pop ebp
ret 0xc
Function at 0x109a230
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 0x109a256
mov dword [ebp + 0x10], eax
cmp dword [esi], edx
je 0x109a259
mov dword [ebp + 0x10], edx
cmp esi, eax
je 0x109a27e
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 0x109a265
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 0x109a326
cmp dword [ebp + 0x10], 0
je 0x109a326
test edx, edx
jne 0x109a326
cmp dword [ebp - 8], eax
je 0x109a2ca
mov dword [ebp - 8], eax
jmp 0x109a2f4
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp dword [eax + 0x13310], 0
jne 0x109a326
cmp dword [eax + 0x132ac], 0
jne 0x109a326
cmp dword [eax + 0x13314], 0
jne 0x109a326
push ecx
call fcn.010667e0
test eax, eax
jne 0x109a326
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp dword [ebp - 4], 0
jne 0x109a305
mov dword [ebp - 4], eax
jmp 0x109a30c
sub eax, dword [ebp - 4]
cmp eax, ebx
ja 0x109a323
push 2
call dword [sym.imp.KERNEL32.DLL_Sleep]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x109a290
mov edx, dword [ebp + 0x14]
test esi, esi
je 0x109a350
xor byte [esi], 0xac
lea eax, [esi + 0xf4f]
mov ecx, 0xf4f
or esi, 0xffffffff
jmp 0x109a340
mov bl, cl
sub bl, 0x55
xor bl, byte [eax + esi]
dec ecx
xor byte [eax], bl
dec eax
test ecx, ecx
ja 0x109a340
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x109aab0
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 0x109ab15
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push edi
lea edx, [ebp + 8]
push edx
push 0
push esi
push 0x109aa60
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 0x109ab08
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