joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bc980
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.Security
lea edi, [esi - 0x75000]
push edi
or ebp, 0xffffffff
jmp 0x4bc9a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bc9a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bc998
mov eax, 1
add ebx, ebx
jne 0x4bc9bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bc9cc
jne 0x4bc9eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bc9eb
dec eax
add ebx, ebx
jne 0x4bc9d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bc9b0
add ebx, ebx
jne 0x4bc9e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bca3d
xor ecx, ecx
sub eax, 3
jb 0x4bca03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bca72
sar eax, 1
mov ebp, eax
jmp 0x4bca0e
add ebx, ebx
jne 0x4bca0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bc9dc
inc ecx
add ebx, ebx
jne 0x4bca1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bc9dc
add ebx, ebx
jne 0x4bca29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bca1e
jne 0x4bca3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bca1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bca5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bca4e
jmp 0x4bc99e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bca5c
add edi, ecx
jmp 0x4bc99e
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bca7a
cmp byte [edi], 0x13
jne 0x4bca7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4bca7f
lea edi, [esi + 0xb8000]
mov eax, dword [edi]
or eax, eax
je 0x4bcaf7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc6ee8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc705c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bcaac
mov ecx, edi
jns 0x4bcadb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc7064]
or eax, eax
je 0x4bcaf1
mov dword [ebx], eax
add ebx, 4
jmp 0x4bcac9
call dword [esi + 0xc7060]
mov ebp, dword [esi + 0xc7068]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4bcb2b
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x401123
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4d1323]
push ebx
push esi
push edi
mov edi, ecx
mov byte [ebp - 1], al
push 0x8000
push edi
mov esi, edx
call fcn.0042d505
pop ecx
push eax
call fcn.0042d326
cmp dword [esi + 0xc], 0xb
mov ebx, eax
pop ecx
pop ecx
je 0x4420da
lea ecx, [ebp - 0x18]
call fcn.0040225b
mov ecx, esi
call fcn.00405efc
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x18]
call fcn.004011c5
push dword [ebp - 0x18]
push 0x49c910
push edi
call fcn.004010d0
add esp, 0xc
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x4420fa
lea ecx, [ebp - 0x18]
call fcn.004020f8
mov esi, dword [ebp - 8]
push edi
call fcn.0042d949
push edi
call fcn.0042d505
pop ecx
pop ecx
cmp ebx, 0xffffffff
jne 0x4011b3
mov ebx, 0x4000
push ebx
push eax
call fcn.0042d326
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov ecx, esi
call fcn.00472211
push eax
push 1
call fcn.004721c4
push eax
call fcn.0042d763
add esp, 0x10
mov esi, eax
jmp 0x40119b
mov ecx, esi
call fcn.00405efc
mov eax, dword [esi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x401190
Function at 0x401864
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 0x40189c
push edi
push 0
push 0x49c918
push 0xa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x442439
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 0x40189b
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x40189b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40189b
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 0x40189b

Function at 0x4018e6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x4424d3
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042e474
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 0x40190c

Function at 0x4023a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x40241d
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
je 0x4023dc
mov ecx, dword [esi + 0xc]
lea ecx, [ecx]
cmp ecx, dword [esi + 8]
je 0x4023ee
mov eax, dword [esi + 4]
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], al
inc edi
inc dword [esi + 0xc]
mov ecx, dword [esi + 0xc]
cmp edi, ebx
jb 0x4023c0
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop esi
pop ebx
mov esp, ebp
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 0x4023dc
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4023dc
mov dword [esi + 8], eax
xor ecx, ecx
mov dword [esi + 0xc], 0
jmp 0x4023c5
push 1
lea eax, [ebp - 8]
mov dword [esi + 8], 0
push eax
push 0
push 0
push dword [esi]
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov eax, dword [ebp - 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
jmp 0x4023b1
Function at 0x418913
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp ebx, esi
jne 0x4570ad
xor eax, eax
inc eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
xor edi, edi
test esi, esi
jne 0x4570c2
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 0x4570d6
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x4571b1
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp - 4], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp - 4]
mov dword [ebp - 8], eax
call esi
push 1
push edi
push dword [ebp - 4]
call esi
push 1
push dword [ebp - 8]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x45718d
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 - 0xc]
test eax, eax
je 0x457192
push 4
jmp 0x45718f
push 3
pop ebx
jmp 0x457195
mov ebx, dword [ebp - 0x10]
push 0
push dword [ebp - 8]
push dword [ebp - 4]
call esi
push 0
push edi
push dword [ebp - 4]
call esi
push 0
push dword [ebp - 8]
push edi
call esi
jmp 0x4571b4
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x418930
Function at 0x419a04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
mov ebx, ecx
mov esi, dword [edi]
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x16c], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x170], eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
cmp ecx, dword [edi + 0x174]
jne 0x419ace
cmp eax, dword [edi + 0x178]
jne 0x419ace
push dword [ebx + 0x18]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call esi
mov ecx, 0x8000
and ax, cx
push 0
mov word [ebp + 0xa], ax
pop eax
push dword [ebx + 0x1c]
setne al
mov dword [ebp - 0xc], eax
call esi
mov esi, dword [ebp - 0xc]
mov cx, ax
mov eax, 0x8000
and cx, ax
push 0
pop eax
setne al
mov word [ebp - 2], cx
mov dword [ebp - 8], eax
cmp esi, dword [edi + 0x17c]
jne 0x457c84
cmp dword [ebp + 0xc], 0
je 0x419aad
mov dword [edi + 0x17c], esi
cmp eax, dword [edi + 0x180]
jne 0x457cf7
cmp dword [ebp + 0xc], 0
je 0x419ac5
mov dword [edi + 0x180], eax
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 0x419a55
jmp 0x457c73
push eax
push ecx
push edi
push 0xfffffffffffffff5
mov ecx, ebx
call fcn.00492c09
jmp 0x419a55
cmp dword [ebp + 0xc], 1
jl 0x419aa1
cmp byte [edi + 0x1a8], 0
je 0x419aa1
cmp word [ebp + 0xa], 0
mov ecx, ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
je 0x457caf
push 0xfffffffffffffff9
jmp 0x457cdf
push 0xfffffffffffffff8
call fcn.00492c09
cmp byte [edi + 0x184], 0
je 0x457ce4
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
test eax, 0x1000000
je 0x457cdd
push 0xfffffffffffffffa
jmp 0x457cdf
push 0xfffffffffffffff4
call fcn.00492c09
mov eax, dword [ebp - 8]
mov cx, word [ebp - 2]
mov byte [edi + 0x184], 0
jmp 0x419aa1
cmp dword [ebp + 0xc], 1
jl 0x419ab9
push dword [ebp - 0x10]
test cx, cx
mov ecx, ebx
push dword [ebp - 0x14]
push edi
je 0x457d13
push 0xfffffffffffffff7
jmp 0x457d15
push 0xfffffffffffffff6
call fcn.00492c09
mov eax, dword [ebp - 8]
jmp 0x419ab9
Function at 0x41a2db
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push edi
mov edi, 0x4d1890
jne 0x457f0b
mov ecx, dword [0x4d18fc]
cmp ecx, 0xffffffff
je 0x41a380
mov eax, dword [0x4d18f0]
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 0x41a323
mov byte [esi + 0x3a], dl
cmp dword [esi + 0x18c], edx
jge 0x457f22
mov edi, dword [ebp + 8]
cmp edi, 8
jg 0x457f7e
je 0x41a353
test edi, edi
je 0x457f6d
cmp edi, 1
je 0x41a353
cmp edi, 2
je 0x41a38d
cmp edi, 3
je 0x41a384
jle 0x41a377
cmp edi, 5
jg 0x457f4c
cmp byte [esi + 0x38], 0
jne 0x41a396
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 8
je 0x41a373
cmp edi, 4
je 0x41a373
mov ecx, dword [ebp + 0xc]
call fcn.00418913
mov byte [esi + 0x38], 1
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
ret 8
xor eax, eax
jmp 0x41a37b
mov byte [esi + 0x38], 1
jmp 0x457fd9
mov byte [esi + 0x38], 1
jmp 0x457f55
xor eax, eax
jmp 0x41a37a
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00419cea
mov ecx, eax
mov dword [0x4d18fc], ecx
jmp 0x41a2f4
cmp byte [esi + 0x198], dl
je 0x41a323
push dword [esi + 0x194]
mov ecx, edi
push esi
call fcn.004981a1
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov byte [esi + 0x198], dl
jmp 0x41a323
cmp edi, 6
jne 0x41a377
cmp byte [esi + 0x38], 0
je 0x41a396
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41a377
push edx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x38], 0
jmp 0x41a377
mov eax, edi
sub eax, 9
je 0x457fd9
sub eax, 0x37
je 0x457fcb
sub eax, 1
je 0x457fc8
sub eax, 1
je 0x457fb8
sub eax, 1
jne 0x41a377
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 0x41a377
push ecx
mov byte [esi + 0x39], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x41a377
push edx
jmp 0x457fcd
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x41a377
cmp byte [esi + 0x38], 0
je 0x41a396
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 0xc]
call fcn.00418913
jmp 0x41a377
Function at 0x41ab8b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
je 0x41ac0a
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x41ac0a
xor eax, eax
xor ebx, ebx
mov word [esi], ax
lea eax, [ebp - 8]
push eax
push 1
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ac0a
mov eax, dword [ebp + 0xc]
push edi
lea edi, [eax + eax]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push esi
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41abef
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0xc]
jae 0x41ac01
xor ecx, ecx
mov word [esi + eax*2], cx
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [edi + esi - 2], ax
jmp 0x41abed
xor al, al
jmp 0x41abfb
Function at 0x41af6d
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2002c
call fcn.00441bc0
push ebx
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.00403f6a
lea eax, [esp + 0x38]
xor ebx, ebx
push eax
push 0x7fff
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x13]
push eax
push dword [ebp + 8]
call fcn.0041ac3c
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x458e78
mov eax, dword [0x4d13c0]
test eax, eax
je 0x458e90
xor edi, edi
mov esi, 0x4d2370
inc edi
cmp eax, edi
je 0x458e9c
lea eax, [esp + 0x11]
push eax
push ecx
push 0x4d13c0
push 0x4d13d8
mov ecx, esi
call fcn.00403bb6
test al, al
je 0x458ebb
mov al, byte [0x4d2370]
mov byte [0x4d13c4], al
mov al, byte [0x4d2371]
mov byte [esp + 0x12], al
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1003c]
push eax
push 0x7fff
push dword [0x4d13d8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [esp + 0x14]
mov ecx, 0x4d13b0
call fcn.004043ee
mov bl, byte [esp + 0x11]
push dword [0x4d13c0]
push 0x4d13d8
call fcn.0040d1cc
test eax, eax
jne 0x458ec6
cmp byte [esp + 0x12], 1
je 0x458ee3
call fcn.0041ae8b
call fcn.0041be45
cmp byte [0x4d13c4], 0
mov ebx, 0x4d1970
jne 0x41b07f
mov ecx, ebx
call fcn.0041b776
push edi
mov ecx, 0x4d13f0
call fcn.0040d270
cmp byte [0x4d13c4], 0
jne 0x41b09a
mov ecx, ebx
call fcn.0041b862
mov ecx, esi
call fcn.00403c0c
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0x28]
call fcn.004020f8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x10
push 0x4c57e8
push str.This_is_a_third_party_compiled_AutoIt_script.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41b0ac
or dword [0x4d131c], 0xffffffff
jmp 0x41b0a1
push 0xffffffffffffffff
push dword [0x4d13c8]
mov ecx, esi
push edi
call fcn.00403b42
mov al, byte [0x4d1324]
mov byte [0x4d2372], al
jmp 0x41b03d
mov dword [0x4d131c], edi
jmp 0x41b0a1
mov ecx, esi
call fcn.00403c0c
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4d131c], edi
jmp 0x41b0ac
call fcn.00461edf
test al, al
jne 0x41b060
cmp byte [esp + 0x13], al
jne 0x41b060
lea ecx, [esp + 0x28]
call fcn.0041bdab
push 0x4c0e54
lea ecx, [esp + 0x1c]
call fcn.004045fd
lea ecx, [esp + 0x18]
test bl, bl
je 0x458f40
mov edi, 0x4c581c
push edi
call fcn.004044dd
push 0x4d13d8
lea ecx, [esp + 0x1c]
call fcn.00404350
push edi
lea ecx, [esp + 0x1c]
call fcn.004044dd
push 1
jmp 0x458f49
push dword [ebp + 8]
call fcn.004044dd
push edi
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x20]
push dword [esp + 0x34]
push 0x4c5820
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x18]
call fcn.004020f8
jmp 0x41b09a
Function at 0x41c8d1
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 0x41c8f9
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x41c8eb
pop edi
pop esi
pop ebp
ret 4
Function at 0x41f858
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
push esi
xor esi, esi
inc ebx
push edi
mov dword [ebp - 0xc], esi
cmp dword [edx + 4], eax
je 0x45f3c0
mov ecx, dword [ebp + 0x1c]
xor edx, edx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], 0x23
mov byte [ecx], dl
mov ecx, dword [ebp + 0x18]
mov dword [edi], edx
mov edi, dword [ebp + 8]
mov byte [ecx], dl
mov ecx, dword [ebp + 0x14]
mov byte [ecx], dl
mov ecx, dword [ebp + 0x10]
mov byte [ecx], dl
push eax
mov ecx, edi
call fcn.0040423c
push 0x2b
pop ecx
push 0x5e
movzx eax, word [eax]
cmp ax, cx
pop ecx
push 0x21
pop edx
je 0x45f3c7
cmp ax, cx
je 0x45f3c7
cmp ax, dx
je 0x45f3c7
cmp ax, word [ebp - 8]
je 0x45f3c7
lea eax, [esi + 1]
mov ecx, edi
push esi
mov dword [ebp + 0x1c], eax
call fcn.0040423c
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x45f44c
push 0x40
lea ecx, [ebp - 0x1c]
call fcn.00404293
mov edx, dword [ebp + 8]
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x7d
pop ecx
call fcn.0041f9d7
pop ecx
pop ecx
test al, al
je 0x41f96b
push dword [ebp - 0x1c]
push dword [esi*4 + 0x4afe10]
call fcn.004246f3
pop ecx
pop ecx
test eax, eax
je 0x41f936
inc esi
cmp esi, 0x63
jl 0x41f91b
cmp esi, 0x63
je 0x45f403
cmp byte [esi + 0x4afda8], 0
jne 0x41f96b
movzx eax, byte [esi + str._f_b_b..__reepqrstuvwxyz________t___]
mov dword [edi], eax
lea ecx, [ebp - 0x1c]
call fcn.004020f8
mov eax, dword [edi]
movzx ecx, al
mov al, bl
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor bl, bl
jmp 0x41f951
lea ecx, [ebp - 0x1c]
call fcn.004020f8
xor al, al
jmp 0x41f962
push 0x2b
pop esi
cmp ax, si
jne 0x45f3d4
mov eax, dword [ebp + 0x10]
jmp 0x45f3f3
cmp ax, cx
jne 0x45f3de
mov eax, dword [ebp + 0x14]
jmp 0x45f3f3
cmp ax, dx
jne 0x45f3e8
mov eax, dword [ebp + 0x18]
jmp 0x45f3f3
push 0x23
pop ecx
cmp ax, cx
jne 0x45f3f5
mov eax, dword [ebp + 0x1c]
mov byte [eax], bl
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov esi, eax
jmp 0x41f89f
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040426f
movzx eax, word [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x45f3b8
test eax, 0x200
je 0x45f42b
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x45f437
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x41f951
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x41f951
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x45f3c0
test eax, 0x200
je 0x45f46b
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x45f477
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x41f95b
mov ecx, dword [ebp + 0x10]
mov byte [ecx], bl
jmp 0x41f95b
Function at 0x41f96f
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 0x423fba
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x49ff74
push str.FlsAlloc
push 0
call fcn.00423f33
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423fec
push dword [ebp + 8]
mov ecx, esi
call fcn.00420da2
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x424030
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x49ffa4
push str.FlsSetValue
push 3
call fcn.00423f33
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x424064
mov ecx, esi
call fcn.00420da2
call esi
jmp 0x42406a
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x438e0b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00438c8a

Function at 0x43cdf1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043cab1