joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x402344
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov ebx, ecx
mov esi, dword [edi]
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 8]
mov dword [edi + 0x16c], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x170], eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp ecx, dword [edi + 0x174]
jne 0x4023eb
cmp eax, dword [edi + 0x178]
jne 0x4023eb
push dword [ebx + 0x18]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call esi
push dword [ebx + 0x1c]
movzx eax, ax
shr eax, 0xf
mov dword [ebp + 8], eax
call esi
movzx esi, ax
mov eax, dword [ebp + 8]
shr esi, 0xf
cmp eax, dword [edi + 0x17c]
jne 0x43bfae
cmp dword [ebp + 0xc], 0
je 0x4023ca
mov dword [edi + 0x17c], eax
cmp esi, dword [edi + 0x180]
jne 0x43c01a
cmp dword [ebp + 0xc], 0
je 0x4023e2
mov dword [edi + 0x180], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 1
mov dword [edi + 0x174], ecx
mov dword [edi + 0x178], eax
jl 0x402390
jmp 0x43bf9d
push eax
push ecx
push edi
push 0xfffffffffffffff5
mov ecx, ebx
call fcn.00486161
jmp 0x402390
cmp dword [ebp + 0xc], 1
jl 0x4023be
cmp byte [edi + 0x1a8], 0
je 0x4023be
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
test eax, eax
je 0x43bfd6
push 0xfffffffffffffff9
jmp 0x43c006
push 0xfffffffffffffff8
call fcn.00486161
cmp byte [edi + 0x184], 0
je 0x43c00b
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
test eax, 0x1000000
je 0x43c004
push 0xfffffffffffffffa
jmp 0x43c006
push 0xfffffffffffffff4
call fcn.00486161
mov eax, dword [ebp + 8]
mov byte [edi + 0x184], 0
jmp 0x4023be
cmp dword [ebp + 0xc], 1
jl 0x4023d6
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
test esi, esi
je 0x43c035
push 0xfffffffffffffff7
jmp 0x43c037
push 0xfffffffffffffff6
call fcn.00486161
jmp 0x4023d6
Function at 0x402a5b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push edi
mov edi, 0x4c57b0
jne 0x43c1cc
mov ecx, dword [0x4c581c]
cmp ecx, 0xffffffff
je 0x402af4
mov eax, dword [0x4c5810]
xor edx, edx
push esi
mov eax, dword [eax + ecx*4]
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [ebp + 0xc], ecx
cmp byte [esi + 0x3a], dl
je 0x402a9f
mov byte [esi + 0x3a], dl
cmp dword [esi + 0x18c], edx
jge 0x43c1e3
mov edi, dword [ebp + 8]
cmp edi, 8
jg 0x43c225
je 0x402ac7
test edi, edi
je 0x402b15
cmp edi, 1
je 0x402ac7
cmp edi, 2
je 0x402b0c
cmp edi, 3
je 0x402b03
jle 0x402aeb
cmp edi, 5
jg 0x402af8
cmp byte [esi + 0x38], 0
jne 0x402b23
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 8
je 0x402ae7
cmp edi, 4
je 0x402ae7
push dword [ebp + 0xc]
call fcn.004048d7
mov byte [esi + 0x38], 1
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
ret 8
xor eax, eax
jmp 0x402aef
cmp edi, 6
je 0x43c20d
jmp 0x402aeb
mov byte [esi + 0x38], 1
jmp 0x43c27a
mov byte [esi + 0x38], 1
jmp 0x43c20d
push edx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x38], 0
jmp 0x402aeb
xor eax, eax
jmp 0x402aee
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00402612
mov ecx, eax
mov dword [0x4c581c], ecx
jmp 0x402a74
cmp byte [esi + 0x198], dl
je 0x402a9f
push dword [esi + 0x194]
mov ecx, edi
push esi
call fcn.0048b69e
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov byte [esi + 0x198], dl
jmp 0x402a9f
cmp byte [esi + 0x38], 0
je 0x402b23
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402aeb
mov eax, edi
sub eax, 9
je 0x43c27a
sub eax, 0x37
je 0x43c26c
dec eax
je 0x43c269
dec eax
je 0x43c259
dec eax
jne 0x402aeb
push edx
mov byte [esi + 0x39], dl
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push 1
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x402aeb
push ecx
mov byte [esi + 0x39], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x402aeb
push edx
jmp 0x43c26e
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x402aeb
cmp byte [esi + 0x38], 0
je 0x402b23
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0xc]
call fcn.004048d7
jmp 0x402aeb
Function at 0x403b3a
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2002c
call fcn.00431940
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00407667
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 6], al
mov byte [ebp - 5], al
lea eax, [ebp - 0x1002c]
push eax
push 0x7fff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 7]
push eax
push dword [ebp + 8]
call fcn.00403766
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x43d272
mov eax, dword [0x4c52e0]
test eax, eax
je 0x403c85
xor edi, edi
mov esi, 0x4c6290
inc edi
cmp eax, edi
je 0x43d28c
lea eax, [ebp - 6]
push eax
push ecx
push 0x4c52e0
push 0x4c52f8
mov ecx, esi
call fcn.00407285
test al, al
je 0x403c8e
mov al, byte [0x4c6290]
mov byte [0x4c52e4], al
mov al, byte [0x4c6291]
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2002c]
push eax
push 0x7fff
push dword [0x4c52f8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [ebp - 0xc]
mov ecx, 0x4c52d0
call fcn.00407bcc
mov al, byte [ebp - 6]
mov dword [ebp - 0xc], eax
push dword [0x4c52e0]
push 0x4c52f8
call fcn.0041092d
test eax, eax
jne 0x43d2ab
cmp byte [ebp - 5], 1
je 0x43d2ca
call fcn.00403a46
call fcn.004039d5
cmp byte [0x4c52e4], 0
jne 0x403c43
mov ecx, 0x4c5890
call fcn.0040434a
push edi
mov ecx, 0x4c5310
call fcn.004109d0
cmp byte [0x4c52e4], 0
jne 0x403c61
mov ecx, 0x4c5890
call fcn.0040443a
mov ecx, esi
call fcn.004072db
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x2c]
call fcn.00405904
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
or dword [0x4c527c], 0xffffffff
jmp 0x403c68
mov dword [0x4c527c], edi
jmp 0x403c68
push 0x10
push 0x4b7770
push str.This_is_a_third_party_compiled_AutoIt_script.
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403c75
push 0xffffffffffffffff
push dword [0x4c52e8]
mov ecx, esi
push edi
call fcn.00407213
mov al, byte [0x4c5284]
mov byte [0x4c6292], al
jmp 0x403c04
mov ecx, esi
call fcn.004072db
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4c527c], edi
jmp 0x403c75
call fcn.0045874b
test al, al
jne 0x403c26
cmp byte [ebp - 7], al
jne 0x403c26
lea ecx, [ebp - 0x2c]
call fcn.00404706
push 0x4b4260
lea ecx, [ebp - 0x1c]
call fcn.00407de1
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
test al, al
je 0x43d324
mov edi, 0x4b77a4
push edi
call fcn.00407cab
push 0x4c52f8
lea ecx, [ebp - 0x1c]
call fcn.00407b2e
push edi
lea ecx, [ebp - 0x1c]
call fcn.00407cab
push 1
jmp 0x43d32d
push dword [ebp + 8]
call fcn.00407cab
push edi
lea eax, [ebp - 0x1002c]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0x4b77a8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.00405904
jmp 0x403c61
Function at 0x4048d7
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [ebp + 8]
mov esi, eax
cmp ebx, esi
jne 0x43d658
xor eax, eax
inc eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
xor edi, edi
test esi, esi
jne 0x43d66d
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43d681
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43d75c
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
push 1
push edi
push dword [ebp + 8]
call esi
push 1
push dword [ebp - 4]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43d738
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push eax
push eax
push 0x12
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
xor eax, eax
push eax
push eax
push eax
push 0x12
call edi
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [ebp - 8]
test eax, eax
je 0x43d73d
push 4
jmp 0x43d73a
push 3
pop ebx
jmp 0x43d740
mov ebx, dword [ebp - 0xc]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call esi
push 0
push edi
push dword [ebp + 8]
call esi
push 0
push dword [ebp - 4]
push edi
call esi
jmp 0x43d75f
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x4048f5
Function at 0x404e89
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x10]
push ebx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x404ec1
push edi
push 0
push 0x48faf0
push 0xa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x43d933
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x404ec0
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x404ec0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x404ec0
mov ecx, dword [ebx]
push 0
push edi
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x10]
mov eax, dword [ebx]
xor edx, edx
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov byte [esi + 0x14], 1
jmp 0x404ec0

Function at 0x404f0b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x43d9cd
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004255e2
add esp, 0x10
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x404f31
Function at 0x405bc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x405c33
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
je 0x405bf6
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x405c06
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], al
inc edi
inc dword [esi + 0xc]
cmp edi, ebx
jb 0x405bd7
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop esi
pop ebx
pop ebp
ret 8
push 0
lea eax, [ebp + 0xc]
push eax
push 0x10000
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405bf6
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x405bf6
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x405bdf
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.00405c4e
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x405bce
Function at 0x415cf8
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x415d20
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x415d12
pop edi
pop esi
pop ebp
ret 4
Function at 0x41fffb
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
xor ebx, ebx
mov dword [ebp - 4], edx
push esi
inc ebx
mov dword [ebp - 0x10], edx
push edi
cmp dword [eax + 4], edx
je 0x4557f9
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov byte [eax], dl
mov eax, dword [ebp + 0x10]
mov byte [ecx], dl
mov ecx, dword [ebp + 0x14]
mov dword [edi], edx
mov edi, edx
mov byte [eax], dl
mov dword [ebp - 0xc], 0x2b
mov byte [ecx], dl
mov dword [ebp - 8], 0x23
push edi
mov ecx, esi
call fcn.004079c0
push 0x2b
pop ecx
push 0x5e
movzx eax, word [eax]
cmp ax, cx
pop ecx
push 0x21
pop edx
je 0x455800
cmp ax, cx
je 0x455800
cmp ax, dx
je 0x455800
cmp ax, word [ebp - 8]
je 0x455800
push edi
inc edi
mov ecx, esi
mov dword [ebp + 0x1c], edi
call fcn.004079c0
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x45587b
push 0x40
lea ecx, [ebp - 0x20]
call fcn.00407a16
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
push 0x7d
call fcn.00420112
test al, al
je 0x42010e
push dword [ebp - 0x20]
push dword [esi*4 + 0x4a4a10]
call fcn.00422efd
pop ecx
pop ecx
test eax, eax
je 0x4200da
inc esi
cmp esi, 0x63
jl 0x4200bf
cmp esi, 0x63
je 0x455832
cmp byte [esi + 0x4a49a8], 0
jne 0x42010e
movzx eax, byte [esi + str._f_b_b..__reepqrstuvwxyz________t___]
mov dword [edi], eax
lea ecx, [ebp - 0x20]
call fcn.00405904
and dword [edi], 0xff
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor bl, bl
jmp 0x4200f5
lea ecx, [ebp - 0x20]
call fcn.00405904
xor al, al
jmp 0x420105
cmp ax, word [ebp - 0xc]
jne 0x45580b
mov eax, dword [ebp + 0x10]
jmp 0x45582a
cmp ax, cx
jne 0x455815
mov eax, dword [ebp + 0x14]
jmp 0x45582a
cmp ax, dx
jne 0x45581f
mov eax, dword [ebp + 0x18]
jmp 0x45582a
push 0x23
pop ecx
cmp ax, cx
jne 0x45582c
mov eax, dword [ebp + 0x1c]
mov byte [eax], bl
inc edi
jmp 0x420047
push 0
lea ecx, [ebp - 0x20]
call fcn.004079f2
movzx eax, word [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x4557f1
test eax, 0x200
je 0x45585a
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x455866
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x4200f5
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x4200f5
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x4557f9
test eax, 0x200
je 0x45589a
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x4558a6
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x4200fd
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x4200fd
Function at 0x420162
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
mov edi, ecx
push 5
pop eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret

Function at 0x42098c
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4c5283]
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], al
push 0x8000
push esi
mov edi, edx
call fcn.004246e6
pop ecx
push eax
call fcn.00424514
cmp dword [edi + 0xc], 0xb
mov ebx, eax
pop ecx
pop ecx
je 0x455d8f
lea ecx, [ebp - 0x18]
call fcn.00405ab8
mov ecx, edi
call fcn.00409837
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.00405a15
push dword [ebp - 0x18]
push 0x491d28
push esi
call fcn.004248e5
add esp, 0xc
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x455daf
lea ecx, [ebp - 0x18]
call fcn.00405904
mov edi, dword [ebp - 8]
push esi
call fcn.00424aaa
pop ecx
cmp ebx, 0xffffffff
je 0x420a2a
push ebx
push esi
call fcn.004246e6
pop ecx
push eax
call fcn.00424514
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4000
jmp 0x420a12
push esi
mov ecx, edi
call fcn.00468758
push eax
push 1
call fcn.00468715
push eax
call fcn.00424863
add esp, 0x10
mov edi, eax
jmp 0x420a05
mov ecx, edi
call fcn.00409837
mov eax, dword [edi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4209fa
Function at 0x435a7c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bed50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00429e59
mov dword [ebp - 0x14], eax
cmp dword [0x4c40e8], esi
jne 0x435b6f
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x435afc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x435c4f
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x435c4f
push 0x4a0db0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x435c4f
push eax
call ebx
push 0x4a0dbc
push edi
mov dword [0x4c40e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4c40ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4c40f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c40f8], eax
test eax, eax
je 0x435b6c
push 0x4a0dfc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c40f4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x435b94
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x435b87
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x435ba9
push 4
pop eax
jmp 0x435c51
cmp dword [ebp - 0x14], esi
je 0x435ba9
push dword [0x4c40e8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x435b8e
mov eax, dword [0x4c40f4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x435c07
cmp dword [0x4c40f8], edi
je 0x435c07
push eax
call ebx
push dword [0x4c40f8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x435c07
test eax, eax
je 0x435c07
call ecx
test eax, eax
je 0x435bfc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x435bfc
test byte [ebp - 8], 1
jne 0x435c07
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x435c37
mov eax, dword [0x4c40ec]
cmp eax, edi
je 0x435c34
push eax
call ebx
test eax, eax
je 0x435c34
call eax
mov esi, eax
test esi, esi
je 0x435c34
mov eax, dword [0x4c40f0]
cmp eax, edi
je 0x435c34
push eax
call ebx
test eax, eax
je 0x435c34
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4c40e8]
call ebx
test eax, eax
je 0x435c4f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x435c51
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c5f6
mov esp, ebp
pop ebp
ret
Function at 0x4577dc
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], ebx
mov edi, edx
mov dword [ebp - 8], ebx
call fcn.00407667
lea ecx, [ebp - 0x20]
call fcn.00407667
lea ecx, [ebp - 0x40]
call fcn.00407667
push 0x4b7728
lea ecx, [ebp - 0x30]
call fcn.00407bcc
push esi
lea ecx, [ebp - 0x30]
call fcn.00407cab
push str.CLSID
lea ecx, [ebp - 0x30]
call fcn.00407cab
lea ecx, [ebp - 0x20]
call fcn.00407d8c
test edi, edi
je 0x45785f
push 0x5c
pop eax
cmp word [edi], ax
je 0x45785f
cmp word [edi + 2], ax
je 0x45785f
push 0x4b775c
lea ecx, [ebp - 0x20]
call fcn.00407bcc
push edi
lea ecx, [ebp - 0x20]
call fcn.00407cab
cmp dword [ebp + 0xc], ebx
je 0x4578b0
push 0x20
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.00422de0
add esp, 0xc
mov dword [ebp - 0x5c], ebx
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x40]
push eax
call fcn.00408047
push str.IPC_
lea ecx, [ebp - 0x40]
call fcn.00407cab
mov eax, dword [ebp - 0x40]
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x60]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
test esi, esi
js 0x45793c
lea eax, [ebp - 0x10]
push eax
push reloc.WSOCK32.dll_bind
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
jne 0x45793c
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x457937
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x1fe
push eax
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x457932
mov eax, dword [ebp - 0xc]
xor ecx, ecx
push dword [ebp + 8]
shr eax, 1
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2 - 0x26c], cx
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
push dword [ebp - 8]
call edi
push dword [ebp - 0x10]
call edi
lea ecx, [ebp - 0x40]
call fcn.00405904
lea ecx, [ebp - 0x20]
call fcn.00405904
lea ecx, [ebp - 0x30]
call fcn.00405904
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret