joyce8/EMBER2024-capa huggingface dataset:
Function at 0x107b340
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 0x107b4ab
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x107b49f
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 0x107b494
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 0x107b482
cmp esi, 0xffffffff
je 0x107b482
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 0x107d480
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 0x107d4ac
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 0x107d51f
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 0x107d51f
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 0x107d540
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.0105e320
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 0x107d577
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 0x107edb0
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 0x107ee9a
push esi
lea eax, [ebp + 8]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x107ee8f
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 0x107ee83
mov edx, dword [ebp + 8]
push edi
push esi
push edx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x107ee65
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x100b62c
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x107ee65
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
test eax, eax
je 0x107ee34
mov dx, word [ecx + 0xa]
mov word [eax], dx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x107ee42
mov dx, word [ecx + 8]
mov word [eax], dx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x107ee50
mov dx, word [ecx + 0xe]
mov word [eax], dx
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x107ee5e
mov cx, word [ecx + 0xc]
mov word [eax], cx
mov esi, 1
jmp 0x107ee68
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 0x107fa20
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 0x107fa66
cmp byte [esi], 0
je 0x107fa66
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 0x107fa40
sub ecx, edi
lea ecx, [ecx + esi - 1]
pop edi
cmp ecx, esi
jbe 0x107fa66
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 0x107fa53
pop ebx
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x107ffd0
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 0x108001f
test esi, esi
je 0x108001f
mov ecx, 1
cmp esi, ecx
jbe 0x108001a
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 0x1080001
mov edi, dword [ebp + 8]
pop ebx
mov al, byte [ebp + 0x10]
xor byte [edi], al
cmp esi, 0xa
jb 0x1080029
mov esi, 0xa
push 0xfa
push esi
push edi
call fcn.0102ead0
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1080040
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 0x10800a7
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10800a6
mov eax, edi
cmp edi, 0xa
jb 0x1080061
mov eax, 0xa
push 0xfa
push eax
push esi
call fcn.0102eb30
mov al, byte [ebp + 0x10]
xor byte [esi], al
lea ecx, [edi - 1]
test ecx, ecx
jbe 0x10800a6
movzx eax, al
cdq
mov edi, 0xff
idiv edi
lea eax, [ecx + esi]
or esi, 0xffffffff
push ebx
jmp 0x1080090
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 0x1080090
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10803f0
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.01036420
fcomp qword [0x100fc38]
fnstsw ax
test ah, 5
jp 0x1080428
cmp byte [esi], 0x25
je 0x1080428
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 0x108043b
cmp al, byte [esi + 2]
jne 0x108043b
cmp al, byte [esi + 3]
je 0x108041f
cmp al, 0x73
jne 0x1080450
cmp cl, 0x74
jne 0x1080450
cmp byte [esi + 2], 0x64
jne 0x1080450
cmp byte [esi + 3], 0x3a
je 0x108041f
cmp al, 0x63
jne 0x108045f
cmp cl, 0x6c
jne 0x108045f
cmp byte [esi + 2], 0x57
je 0x108041f
cmp al, 0x45
je 0x1080467
cmp al, 0x54
jne 0x1080478
movzx ecx, cl
push ecx
call dword [sym.imp.msvcrt.dll_isupper]
add esp, 4
test eax, eax
jne 0x108041f
mov dl, byte [esi]
cmp dl, 0x2d
je 0x108041f
cmp dl, 0x5f
je 0x108041f
mov cl, byte [esi + 3]
cmp cl, byte [esi + 5]
jne 0x1080496
cmp cl, byte [esi + 7]
jne 0x1080496
cmp cl, byte [esi + 9]
je 0x108041f
mov al, byte [esi + 2]
mov byte [ebp + 0xb], al
cmp dl, al
jne 0x10804a9
cmp dl, byte [esi + 4]
je 0x108041f
push ebx
mov bl, byte [esi + 4]
cmp al, bl
jne 0x10804b6
cmp al, byte [esi + 6]
je 0x10804c3
mov al, byte [esi + 6]
cmp al, byte [esi + 8]
jne 0x10804cd
cmp al, byte [esi + 0xa]
jne 0x10804cd
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 0x108050d
movzx edx, byte [ebp + 0xb]
lea edi, [edx - 1]
cmp eax, edi
jne 0x108050d
movzx ecx, cl
lea eax, [ecx - 1]
cmp edx, eax
jne 0x108050d
movzx eax, bl
lea edx, [eax - 1]
cmp ecx, edx
jne 0x108050d
movzx ecx, byte [esi + 5]
dec ecx
cmp eax, ecx
je 0x108059d
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 0x108057e
cmp edi, 6
jae 0x1080541
mov al, byte [ecx + esi]
cmp al, 0x5e
je 0x108059d
cmp al, 0x5b
je 0x108059d
cmp al, 0x5d
je 0x108059d
cmp al, 0x5f
je 0x108059d
cmp al, 0x3d
je 0x108059d
cmp al, 0x7d
je 0x108059d
mov al, byte [ecx + esi]
cmp al, 0x2e
je 0x108054c
cmp al, 0x5c
jne 0x108055b
cmp edi, 0x20
jae 0x108055b
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 8], 1
cmp al, byte [esi + ecx + 1]
jne 0x1080564
inc edx
jmp 0x1080572
cmp edx, ebx
jle 0x108056d
mov ebx, edx
mov dword [ebp - 0xc], ebx
mov edx, 1
inc ecx
lea eax, [edi - 2]
cmp ecx, eax
jb 0x1080521
cmp edx, ebx
jle 0x1080580
mov ebx, edx
cmp ebx, 4
jl 0x108058b
cmp dword [ebp - 8], 0
je 0x108059d
mov al, byte [esi]
cmp al, byte [ebp - 2]
jne 0x10805a8
cmp al, byte [ebp + 0xb]
jne 0x10805a8
cmp dword [ebp - 8], 0
jne 0x10805a8
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 0x108fb30
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 0x108fb63
xor eax, eax
jmp 0x108fb7c
mov eax, ebx
cmp word [ebx], di
je 0x108fb78
lea ebx, [ebx]
add eax, 2
cmp word [eax], di
jne 0x108fb70
sub eax, ebx
sar eax, 1
push eax
push 0x5c
push ebx
call fcn.0102bf90
mov esi, eax
test esi, esi
je 0x108fc6b
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 0x108fc50
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 0x10126a8
lea ecx, [ebp - 0x88]
push 0x3f
push ecx
call fcn.0102c0d0
add esp, 0x14
lea edx, [ebp - 0x88]
push edx
add esi, 2
push esi
lea eax, [ebp - 0x294]
push eax
call fcn.0107fe70
mov esi, eax
test esi, esi
je 0x108fc50
mov ecx, dword [edi + 0x108]
push esi
push ebx
mov dword [ebp - 4], 1
call ecx
push esi
push ebx
push edi
call fcn.0108f9e0
mov edx, dword [edi + 0x314]
push esi
call edx
test eax, eax
jne 0x108fc40
push esi
push edi
call fcn.01049f00
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 0x108fc5f
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 0x108fef0
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 0x10126fc
lea ecx, [ebp - 0x44]
push 0x3f
push ecx
call fcn.0102ac00
mov edx, dword [ebp + 0xc]
add esp, 0x10
push edx
push 0x10126e8
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0108fd90
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1090350
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 0x109039e
cmp esi, 0xea
jne 0x1090419
mov eax, 1
mov dword [ebp + 8], eax
cmp dword [ebp - 4], eax
jb 0x1090404
mov edi, dword [ebp - 8]
add edi, 0x18
mov eax, dword [edi]
push 0x1012798
push 0x100b62c
push eax
call fcn.0107fe70
mov esi, eax
test esi, esi
je 0x10903f0
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 0x10903b1
mov esi, dword [ebp - 0x14]
xor edi, edi
mov eax, dword [ebp - 8]
push eax
call sub.NETAPI32.dll_NetApiBufferFree
cmp esi, 0xea
je 0x1090370
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1092d20
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 0x1092e48
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.01091820
test eax, eax
je 0x1092e38
cmp dword [ebp - 4], ebx
je 0x1092e38
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 0x1092e38
mov eax, 0xaaaaaaab
mul dword [ebp - 4]
shr edx, 3
mov dword [ebp + 8], 1
test edx, edx
jbe 0x1092e35
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 0x1092e06
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 0x1092dc0
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 0x10930a0
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 0x10930c0
xor ecx, ecx
jmp 0x10930e0
mov eax, dword [ebp + ecx*4 - 0x400]
cmp eax, 0xa4
je 0x1093119
cmp eax, 0xa5
je 0x1093119
cmp eax, 9
je 0x1093119
cmp eax, 0x2e
je 0x1093119
cmp eax, 0xa2
je 0x1093119
cmp eax, 0xa3
je 0x1093119
cmp eax, 0x14
je 0x1093119
cmp eax, 0xa6
jb 0x1093124
mov dword [ebp + ecx*4 - 0x400], 0x90
inc ecx
cmp ecx, 0x100
jb 0x10930e0
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 0x100dc2c
call ecx
mov esi, eax
test esi, esi
je 0x109318c
cmp esi, 0xffffffff
je 0x109318c
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.010916d0
mov ecx, dword [edi + 0x1c0]
push esi
call ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10931a0
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 0x1092e60
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [edi + 4], eax
test eax, eax
je 0x10931e7
cmp eax, 0xffffffff
je 0x10931e7
test esi, esi
je 0x10931ea
cmp esi, 0xffffffff
je 0x10931ea
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 0x1093d30
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 0x1093dad
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 0x1093cd0
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 0x1093d98
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 0x1095640
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 0x10956ab
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x109567c
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 0x1095670
pop edi
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea edx, [ebp + 0x10]
push edx
push 0
push eax
push 0x1055f00
push 0
push 0
mov dword [eax + 4], ecx
mov dword [eax], esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x10956aa
push eax
mov eax, dword [esi + 0x1c0]
call eax
pop esi
pop ebp
ret 0xc
Function at 0x1095780
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 0x10957a6
mov dword [ebp + 0x10], eax
cmp dword [esi], edx
je 0x10957a9
mov dword [ebp + 0x10], edx
cmp esi, eax
je 0x10957ce
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 0x10957b5
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 0x1095876
cmp dword [ebp + 0x10], 0
je 0x1095876
test edx, edx
jne 0x1095876
cmp dword [ebp - 8], eax
je 0x109581a
mov dword [ebp - 8], eax
jmp 0x1095844
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp dword [eax + 0x129c8], 0
jne 0x1095876
cmp dword [eax + 0x12964], 0
jne 0x1095876
cmp dword [eax + 0x129cc], 0
jne 0x1095876
push ecx
call fcn.010645b0
test eax, eax
jne 0x1095876
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp dword [ebp - 4], 0
jne 0x1095855
mov dword [ebp - 4], eax
jmp 0x109585c
sub eax, dword [ebp - 4]
cmp eax, ebx
ja 0x1095873
push 2
call dword [sym.imp.KERNEL32.DLL_Sleep]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
je 0x10957e0
mov edx, dword [ebp + 0x14]
test esi, esi
je 0x10958a0
xor byte [esi], 0xac
lea eax, [esi + 0xf4f]
mov ecx, 0xf4f
or esi, 0xffffffff
jmp 0x1095890
mov bl, cl
sub bl, 0x55
xor bl, byte [eax + esi]
dec ecx
xor byte [eax], bl
dec eax
test ecx, ecx
ja 0x1095890
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x1096000
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 0x1096065
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push edi
lea edx, [ebp + 8]
push edx
push 0
push esi
push 0x1095fb0
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 0x1096058
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