joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ca60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.00017a5c
cmp ax, 0xffff
jne 0x6ca81
neg ebx
mov eax, ebx
shr eax, 4
and eax, 0xffff
inc eax
and ebx, 0xf
mov dword [ebp - 8], ebx
push 6
push eax
push edi
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x6cb02
push eax
push edi
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x6cb02
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x6cac8
inc eax
movzx edx, word [ebx]
add edx, edx
add ebx, edx
add ebx, 2
dec eax
jne 0x6cabb
movzx esi, word [ebx]
add ebx, 2
cmp dword [ebp - 4], 0
je 0x6cb02
cmp dword [ebp + 8], 0
jle 0x6cb02
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.000320a0
mov esi, eax
test esi, esi
jle 0x6caf9
mov ecx, esi
add ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00017a70
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x6da88
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x6dae4
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x6dab3
call fcn.0006be9c
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00012960
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x6dae4
call fcn.0006be9c
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x790a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x79178
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0xf3b50], 0
jne 0x7915c
lea eax, [ebp - 4]
mov edx, 0x79190
call fcn.00013e10
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.000141cc
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x7915c
mov eax, ebx
call fcn.00012734
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x79155
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x7913f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x791a0
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x7913f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0xf3b50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7915c
mov eax, dword [ebp - 0xc]
call fcn.0001274c
ret
mov ebx, dword [0xf3b50]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7917f
lea eax, [ebp - 4]
call fcn.00013d78
ret
Function at 0x851b0
Capabilities:
Set global application hook

Disassembly:
cmp dword [0xf3b74], 0
jne 0x851d3
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x85134
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0xf3b74], eax
ret

Function at 0x8bcd8
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0xf1ff8]
cmp dword [eax], 2
je 0x8bcf6
mov ecx, 0x2eb
mov edx, 0x8bd28
mov eax, 0x8bd68
call fcn.00013d5c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x8bc78
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0xf3bac], eax
cmp dword [0xf3bac], 0
jne 0x8bd1d
call fcn.0006be9c
ret

Function at 0x8e190
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0xf1b34]
cmp byte [eax], 0
jne 0x8e1be
mov ecx, 0xb7
mov edx, 0x8e20c
mov eax, 0x8e24c
call fcn.00013d5c
mov eax, ebx
call fcn.000143b8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x8e1fd
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0001453c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x8e260
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0xf1b34]
cmp byte [eax], 0
jne 0x8e281
mov ecx, 0xc3
mov edx, 0x8e298
mov eax, 0x8e2d8
call fcn.00013d5c
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
pop ebx
ret

Function at 0x8fd5c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x8fdc0
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00013fb8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0001901c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8fdc7
lea eax, [ebp - 0xc]
call fcn.00013d78
ret
Function at 0x9366c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x937dd
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x937b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00013f20
lea eax, [ebp - 0x118]
mov edx, 0x937f4
call fcn.00014010
mov eax, dword [ebp - 0x118]
call fcn.000141cc
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x9372a
lea eax, [ebp - 0x111]
call fcn.000195b0
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00013e60
jmp 0x93731
mov eax, esi
call fcn.00013d78
cmp bl, 0x61
jae 0x93752
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0001b608
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00013dcc
jmp 0x9376c
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0001b57c
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00013dcc
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x93800
call fcn.00019d08
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00013dcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x937bf
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x96acc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.000141cc
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x96ae5
test al, 0x10
jne 0x96ae9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x96f30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.000141bc
xor eax, eax
push ebp
push 0x970dc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0xf1e24]
mov eax, dword [eax]
call fcn.000618dc
mov eax, dword [ebp - 4]
call fcn.0001916c
test al, al
jne 0x96fc6
push 0
push dword [0xf0180]
push 0x970f4
push dword [ebp - 4]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.000140c8
mov eax, dword [ebp - 0x108]
mov cx, word [0x970fc]
xor edx, edx
call fcn.00068228
jmp 0x970a6
mov eax, dword [0xf1e24]
mov eax, dword [eax]
call fcn.000618dc
lea eax, [ebp - 0x104]
mov edx, dword [ebp - 4]
call fcn.00019674
push 1
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.0001939c
mov eax, dword [ebp - 0x10c]
call fcn.000141cc
push eax
push 0
lea eax, [ebp - 0x104]
push eax
push 0x97100
push 0
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
cmp ebx, 0x20
jg 0x970a4
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x124]
mov eax, ebx
call fcn.0001a274
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x114], 0xb
lea eax, [ebp - 0x120]
push eax
push dword [0xf0180]
push 0x970f4
push 0x97110
lea eax, [ebp - 0x128]
mov edx, 3
call fcn.000140c8
mov eax, dword [ebp - 0x128]
mov ecx, 1
pop edx
call fcn.00019d08
mov ecx, dword [ebp - 0x110]
mov dl, 1
mov eax, dword [0x17fd4]
call fcn.0001aab4
call fcn.000137f4
jmp 0x970a6
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x970e3
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.00013d9c
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00013d9c
lea eax, [ebp - 4]
call fcn.00013d78
ret
Function at 0x9819c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.000141bc
xor eax, eax
push ebp
push 0x982b0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.000141cc
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x98206
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x982c8
call fcn.00014054
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x17fd4]
call fcn.0001aab4
call fcn.000137f4
mov eax, ebx
call fcn.00012734
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x9828b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x982f0
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, eax
shr edx, 0x10
mov dword [edi], edx
and eax, 0xffff
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov edx, eax
shr edx, 0x10
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
and eax, 0xffff
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x98292
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0001274c
ret

Function at 0x9835c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00013fb8
add esp, 0x108
pop ebx
ret
Function at 0x9ee00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x9f05f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x9ee62
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0009e8c8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0001b3f0
cmp al, 1
jne 0x9ee62
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0009ebe0
test al, al
je 0x9efee
cmp dword [ebp - 8], 0
jge 0x9ee80
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0009e8c8
mov eax, dword [ebp - 0x210]
call fcn.00014008
cmp ebx, eax
jge 0x9eeca
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0009e8c8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0xf1fe8]
and eax, 0xff
bt dword [edx], eax
jae 0x9eeca
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x9eede
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0009eddc
cmp ebx, dword [ebp - 8]
je 0x9efe0
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x9ef0a
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00013238
and eax, 0x7f
movzx eax, word [eax*2 + 0xf01a8]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x9efcd
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00013238
and eax, 0x7f
movzx eax, word [eax*2 + 0xf01a8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00048728
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00013238
and eax, 0x7f
movzx eax, word [eax*2 + 0xf01a8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00048728
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9efd4
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x9f041
cmp dword [ebp - 8], 0
jge 0x9eff9
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0009e8c8
mov eax, dword [ebp - 0x218]
call fcn.00014008
cmp eax, dword [ebp - 8]
jg 0x9f033
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0009e8c8
mov eax, dword [ebp - 0x21c]
call fcn.00014008
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0009eddc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9f066
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00013d9c
ret
Function at 0xad594
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0xad5c2
mov eax, ebx
call fcn.000ae038
cmp dword [ebx + 0x3c], 0
je 0xad5bb
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0xad633
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0xad625
cmp dword [ebx + 8], 0
je 0xad5e4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0xad5f6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0xad625
cmp dword [ebx + 8], 0
je 0xad5d7
cmp eax, 3
je 0xad609
dec eax
jne 0xad5d7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0xad5d7
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0xad5d7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0xad651
cmp dword [ebx + 0x10], 0xcc
je 0xad651
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.000ad65c
pop ebx
ret

Function at 0xbf79c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0xbf7ca
mov eax, ebx
call fcn.000c0240
cmp dword [ebx + 0x3c], 0
je 0xbf7c3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0xbf83b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0xbf82d
cmp dword [ebx + 8], 0
je 0xbf7ec
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0xbf7fe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0xbf82d
cmp dword [ebx + 8], 0
je 0xbf7df
cmp eax, 3
je 0xbf811
dec eax
jne 0xbf7df
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0xbf7df
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0xbf7df
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0xbf859
cmp dword [ebx + 0x10], 0xcc
je 0xbf859
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.000bf864
pop ebx
ret
Function at 0xc9c60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0xf3c7c
test esi, esi
jne 0xc9c7a
xor eax, eax
jmp 0xc9d7c
cmp dword [ebp], 0
jne 0xc9c85
call fcn.000c9bf0
xor ebx, 0xffffffff
cmp edi, 8
jb 0xc9d55
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0xc9c91
test edi, edi
jbe 0xc9d77
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0xc9d59
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0xe6c8c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.000141bc
xor eax, eax
push ebp
push 0xe6e9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0xf1fd4]
mov eax, dword [eax]
xor edx, edx
call fcn.0005fcdc
lea edx, [ebp - 0x110]
mov eax, dword [0xf1e24]
mov eax, dword [eax]
call fcn.00061f50
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.0001939c
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.00014054
mov eax, dword [ebp - 8]
call fcn.0001916c
test al, al
jne ScrollWindow
lea eax, [ebp - 0x114]
push eax
lea edx, [ebp - 0x118]
mov eax, dword [0xf1ce8]
mov eax, dword [eax]
mov eax, dword [eax + 0x42c]
call fcn.000425a4
mov eax, dword [ebp - 0x118]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x120]
xor ecx, ecx
pop eax
call fcn.00019d08
mov ecx, dword [ebp - 0x114]
mov dl, 1
mov eax, dword [0x17fd4]
call fcn.0001aab4
call fcn.000137f4
mov eax, dword [0xf1fd4]
mov eax, dword [eax]
xor edx, edx
call fcn.0005fcdc
jmp 0xe6e51
lea eax, [ebp - 0x108]
mov edx, dword [ebp - 8]
call fcn.00019674
cmp byte [0xf4dd9], 0
je 0xe6dc9
push 1
push 0
push 0xe6ea8
lea eax, [ebp - 0x108]
push eax
push 0
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
jmp RegisterClassA
push 1
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push 0
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jg 0xe6e43
lea eax, [ebp - 0x124]
push eax
lea edx, [ebp - 0x128]
mov eax, dword [0xf1ce8]
mov eax, dword [eax]
mov eax, dword [eax + 0x42c]
call fcn.000425a4
mov eax, dword [ebp - 0x128]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x120]
xor ecx, ecx
pop eax
call fcn.00019d08
mov ecx, dword [ebp - 0x124]
mov dl, 1
mov eax, dword [0x17fd4]
call fcn.0001aab4
call fcn.000137f4
mov eax, dword [0xf1fd4]
mov eax, dword [eax]
xor edx, edx
call fcn.0005fcdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push reloc.user32.dll_MapVirtualKeyA
lea eax, [ebp - 0x128]
call fcn.00013d78
lea eax, [ebp - 0x124]
call fcn.00013d78
lea eax, [ebp - 0x118]
call fcn.00013d78
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.00013d9c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00013d9c
ret
Function at 0x402380
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
lea eax, [ebp - 4]
push esi
mov esi, dword [ebp + 8]
push 0xf0000020
push 1
push 0
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push eax
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x40252f
lea eax, [ebp + 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x40252f
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 0
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x40252f
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x5c]
push eax
push 2
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x40252f
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov dword [esi + 0x10], 0
jb 0x402426
mov eax, dword [esi]
push edi
push 0x10
push str.0123456789ABCDEF
lea ecx, [ebp - 0x20]
mov byte [eax], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
call fcn.00402c40
xor edi, edi
nop dword [eax]
movzx edx, byte [ebp + edi - 0x5c]
mov eax, dword [ebp - 0x10]
shr edx, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp eax, edx
jb 0x40257f
sub eax, edx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xc], 0x10
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push ecx
add eax, edx
lea ecx, [ebp - 0x38]
push eax
call fcn.00402c40
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
mov ecx, esi
push eax
call fcn.00402ae0
lea ecx, [ebp - 0x38]
call fcn.00401e40
movzx edx, byte [ebp + edi - 0x5c]
mov eax, dword [ebp - 0x10]
and edx, 0xf
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp eax, edx
jb 0x40257f
sub eax, edx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xc], 0x10
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push ecx
add eax, edx
lea ecx, [ebp - 0x38]
push eax
call fcn.00402c40
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
mov ecx, esi
push eax
call fcn.00402ae0
lea ecx, [ebp - 0x38]
call fcn.00401e40
inc edi
cmp edi, 0x10
jl 0x402450
lea ecx, [ebp - 0x20]
call fcn.00401e40
pop edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x402573
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402569
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40257a
push edx
push ecx
call fcn.00405fa1
add esp, 8
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0040ab73
call fcn.00402a70
int3