joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x40de38
nop
mov ecx, 0x46ec10ae
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data_1
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x44ce75cd
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

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

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x33678b2
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..pdata
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7a7c3bd0
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401fa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d25dc
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x48db008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004023d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004023d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.004023d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.00402940
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.00402940
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 8]
mov byte [eax + 0x28], cl
lea ecx, [ebp - 0xa8]
call fcn.0041d760
lea ecx, [ebp - 0xa8]
call fcn.00402060
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bf27
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x48d3058]
test eax, eax
je 0x40bf66
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40bf66
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40bf66
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40bf66
cmp dword [ecx + 0x74], 0xe
jbe 0x40bf66
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402f60
Capabilities:
Get common file path
Get disk information
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x459598]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x45959c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0x9e3779b9
mov dword [ebp - 0x20], edx
call fcn.00402f50
mov ecx, dword [0x4595a0]
mov edx, dword [0x4595a4]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], 0x20
jmp 0x402fd0
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov esi, dword [ebp - 0xc]
mov eax, dword [0x460d84]
shl esi, 4
add esi, dword [ebp - 0x28]
cmp eax, 0xfa9
jne 0x402ffc
mov dword [0x460d80], 0xedeb2e40
jmp 0x403017
cmp eax, 0x3eb
jne 0x403017
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x460810], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x2c]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x460d84], 0x9e6
mov dword [0x460d7c], 0xf4ea3dee
jne 0x403052
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x460d84], 0x213
jne 0x4030c8
push 0
push 0
push 0
push 0
call ebx
lea eax, [ebp - 0x548]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
lea ecx, [ebp - 0xd48]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub edi, dword [ebp - 4]
cmp dword [0x460d84], 0xc
jne 0x4030dc
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov edx, dword [ebp - 8]
mov eax, edi
shr eax, 5
lea ecx, [edx + edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x20]
xor esi, ecx
cmp dword [0x460d84], 0xb03
jne 0x403114
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
sub dword [ebp - 0x14], 1
jne 0x402fd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403150
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x460d84]
mov ecx, dword [0x460814]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x4031e7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x460d84], 0x959
jne 0x4031d1
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
mov eax, dword [ebp - 4]
push eax
call fcn.00402f60
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x403183
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409b7f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x458da0]
jne 0x409b89
repz ret
jmp fcn.0040e741

Function at 0x40b073
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004071bb
and dword [ebp - 4], 0
cmp dword [0x45e800], 0
mov ebx, eax
jne 0x40b124
push 0x401ab8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b1d5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401aac
push edi
call esi
test eax, eax
je 0x40b1d5
push eax
call fcn.00407149
mov dword [esp], 0x401a9c
push edi
mov dword [0x45e800], eax
call esi
push eax
call fcn.00407149
mov dword [esp], 0x401a88
push edi
mov dword [0x45e804], eax
call esi
push eax
call fcn.00407149
mov dword [esp], 0x401a6c
push edi
mov dword [0x45e808], eax
call esi
push eax
call fcn.00407149
pop ecx
mov dword [0x45e810], eax
test eax, eax
je 0x40b124
push 0x401a54
push edi
call esi
push eax
call fcn.00407149
pop ecx
mov dword [0x45e80c], eax
mov eax, dword [0x45e80c]
cmp eax, ebx
je 0x40b17c
cmp dword [0x45e810], ebx
je 0x40b17c
push eax
call fcn.004071c4
push dword [0x45e810]
mov esi, eax
call fcn.004071c4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b17c
test edi, edi
je 0x40b17c
call esi
test eax, eax
je 0x40b173
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b173
test byte [ebp - 0xc], 1
jne 0x40b17c
or dword [ebp + 0x10], 0x200000
jmp 0x40b1b5
mov eax, dword [0x45e804]
cmp eax, ebx
je 0x40b1b5
push eax
call fcn.004071c4
pop ecx
test eax, eax
je 0x40b1b5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b1b5
mov eax, dword [0x45e808]
cmp eax, ebx
je 0x40b1b5
push eax
call fcn.004071c4
pop ecx
test eax, eax
je 0x40b1b5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45e800]
call fcn.004071c4
pop ecx
test eax, eax
je 0x40b1d5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b1d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push esi
mov esi, dword [edx]
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x401064
test esi, esi
je 0x401064
push ebx
xor ebx, ebx
test eax, eax
jbe 0x401063
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessId]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call edi
push eax
call esi
mov eax, dword [ebp - 4]
xor byte [ebx + eax], 0xf3
call edi
push eax
call esi
mov eax, dword [ebp - 4]
xor byte [ebx + eax], 0xc2
call edi
push eax
call esi
mov eax, dword [ebp - 4]
xor byte [ebx + eax], 0xd4
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x401032
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
pop edi
pop ebx
push ecx
push edx
push dword [ecx]
push dword [edx]
call fcn.00401487
add esp, 0x10
pop esi
leave
ret

Function at 0x4010c2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x128
mov eax, dword [0x40a004]
xor eax, ebp
mov dword [ebp + 0x70], eax
or dword [0x40b7b4], 0xffffffff
push esi
push edi
mov esi, 0x11c
push esi
lea eax, [ebp - 0xac]
push 0
push eax
mov edi, 0x7ffe0300
mov dword [ebp - 0xb4], 0x7efdd0c0
call fcn.00404c70
add esp, 0xc
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0xac], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0xb0], 0
je 0x40114a
mov eax, dword fs:[0xc0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
jmp 0x401189
mov eax, dword [ebp - 0xa8]
sub eax, 5
je 0x40115f
dec eax
jne 0x40118e
mov eax, dword [0x7ffe0300]
jmp 0x401189
cmp dword [ebp - 0xa4], 1
jne 0x40116f
cmp word [ebp + 0x68], 2
jmp 0x40117d
cmp dword [ebp - 0xa4], 2
jne 0x40118e
cmp word [ebp + 0x68], 1
jae 0x401187
mov dword [0x40b7b4], edi
jmp 0x40119b
mov eax, dword [edi]
mov dword [0x40b7b4], eax
cmp dword [0x40b7b4], 0xffffffff
je 0x401237
mov eax, dword [ebp + 0x7c]
and dword [0x40b7bc], 0
push str.ntdll.dll
mov dword [0x40b7b0], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.NtReadFile
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401237
mov eax, dword [0x40b7b4]
mov ecx, dword [eax]
push 0x40b7b8
push 0x40
mov dword [0x40b7c0], ecx
mov ecx, dword [eax + 4]
push 8
push eax
mov dword [0x40b7c4], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [ebp - 0xb0], 0
mov eax, dword [0x40b7b4]
je 0x401221
mov dword [eax], 0xb8
nop
mov eax, dword [0x40b7b4]
mov dword [eax + 1], 0x401075
nop
mov ecx, dword [0x40b7b4]
mov eax, 0xd0ff
mov word [ecx + 5], ax
nop
jmp 0x401235
mov dword [eax], 0x68
nop
mov eax, dword [0x40b7b4]
mov dword [eax + 1], 0x401075
nop
call esi
mov ecx, dword [ebp + 0x70]
pop edi
xor ecx, ebp
pop esi
call fcn.0040177c
add ebp, 0x74
leave
ret

Function at 0x40177c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a004]
jne 0x401786
repz ret
jmp fcn.00401cfd
Function at 0x402e79
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x6b75b], al
inc dword [eax]
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
invalid
test dword [ebx - 7], edx
invalid
invalid

Function at 0x4030ff
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dh, al
test dword [ecx + 0x11fffffc], esp
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
Function at 0x3212c20
Capabilities:
Encode data using xor

Disassembly:
xor al, al
cmp dword [esp + 8], 0
push ebp
mov ebp, dword [esp + 8]
je 0x3212cb7
test ebp, ebp
je 0x3212cb7
mov eax, ebp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x3212c40
sub eax, edx
push ebx
sar eax, 1
shr eax, 1
push esi
mov ebx, eax
push edi
lea edi, [ebx + 2]
push edi
call fcn.0321374f
mov esi, eax
add esp, 4
test esi, esi
je 0x3212cb2
push edi
push 0
push esi
call fcn.03216370
push esi
push ebp
mov eax, ebx
call fcn.032120d0
add esp, 0x14
xor eax, eax
test ebx, ebx
jbe 0x3212c8b
xor byte [eax + esi], bl
inc eax
cmp eax, ebx
jb 0x3212c83
mov ecx, dword [esp + 0x18]
lea eax, [ebx + ebx]
push eax
push ecx
push ebx
push esi
push 0
push 0
call dword [0x321f018]
push esi
mov bl, 1
call fcn.0321574e
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
Function at 0x401087
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
push edi
lea eax, [ebp - 0x220]
push eax
mov edi, 0x104
push edi
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push dword [ebp + 8]
call fcn.004013e8
call fcn.00445a7a
test eax, eax
je 0x4010d8
push 0x10
push 0x46bda6
push str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40128b
cmp dword [0x48a324], 0
mov ebx, 0x48a338
jne 0x401106
push 0xffffffffffffffff
push dword [0x48a32c]
mov esi, 0x48b470
push 1
call fcn.0040827f
mov al, byte [0x4795bc]
mov byte [0x48b472], al
jmp 0x401154
lea eax, [ebp - 2]
push eax
push 0x48a324
mov esi, ebx
mov eax, 0x48b470
call fcn.004088c3
test al, al
jne 0x40112e
mov dword [0x4795d4], 1
jmp 0x40127e
mov al, byte [0x48b470]
mov byte [0x48a328], al
mov al, byte [0x48b471]
push 0x48a320
mov byte [ebp - 1], al
lea eax, [ebp - 0x430]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
push dword [0x48a324]
push ebx
call fcn.0041b35f
test eax, eax
je 0x40118a
mov edi, 0x48b470
call fcn.00408435
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov dword [0x4795d4], 1
jmp 0x40128b
cmp byte [ebp - 1], 1
jne 0x401239
cmp byte [0x48a2f5], 1
jne 0x401239
call fcn.0040f69d
test al, al
jne 0x401239
push edi
lea eax, [ebp - 0x430]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
cmp byte [ebp - 2], 0
je 0x401212
mov edi, 0x46be10
push edi
lea esi, [ebp - 0x10]
call fcn.0040ffd4
push ebx
mov eax, esi
call fcn.00410227
push edi
mov eax, esi
call fcn.00410227
push 1
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x430]
push eax
push 0x46be14
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x10]
call fcn.0044f951
pop ecx
jmp 0x401274
push 1
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x430]
push eax
push 0x46be14
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x401274
call fcn.00401292
call fcn.00401377
cmp byte [0x48a328], 0
mov esi, 0x48aaf0
jne 0x401258
mov eax, esi
call fcn.0040bbb0
push 1
mov ecx, 0x48a548
call fcn.0041b513
cmp byte [0x48a328], 0
jne 0x401274
mov ecx, esi
call fcn.0040c0ba
mov edi, 0x48b470
call fcn.00408435
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4028fa
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push 0xc
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push 2
xor ebp, ebp
push ebp
mov edi, eax
push ebp
push edi
call esi
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
call esi
mov ebx, dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push eax
call ebx
push 2
push ebp
push ebp
lea eax, [edi + 8]
push eax
call esi
push eax
mov eax, dword [esp + 0x30]
push dword [eax]
call esi
push eax
call ebx
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
push ebp
push ebp
push edi
push 0x402968
push ebp
push ebp
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x4037ab
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push edi
push 1
push dword [esi]
call fcn.004050d9
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebp, ebp
push ebp
push 0x25
call edi
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
shl eax, 0x10
or eax, 1
cmp dword [esp + 0x10], ebp
push eax
jge 0x4037fb
push 0x25
push pe_nt_image_headers32
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebp
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
jmp 0x40381d
push 0x27
push pe_nt_image_headers32
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebp
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebp
push dword [esi]
call fcn.004050d9
pop edi
pop ebp
mov al, 1
pop ebx
ret 4

Function at 0x403c7b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xb0
push dword [ebx]
call esi
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x403ca8
xor al, al
jmp 0x403cbc
push edi
push 0
push 0
push 0xe
push dword [ebx]
call esi
mov edi, eax
test edi, edi
jne 0x403cc2
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 0x101]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f8e7
pop ecx
push eax
mov dword [ebp - 4], eax
lea eax, [edi + 1]
push eax
push 0xd
push dword [ebx]
call esi
test eax, eax
je 0x403d1f
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x403cfe
mov ecx, dword [ebp - 4]
and word [ecx + eax*2], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2]
push eax
mov eax, dword [ebp + 8]
call fcn.0041018f
mov bl, 1
push dword [ebp - 4]
call fcn.0044f951
pop ecx
mov al, bl
jmp 0x403cbb
xor bl, bl
jmp 0x403d12
Function at 0x4050d9
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 1
jne 0x405104
lea eax, [ebp + 0xc]
push eax
push 0x1388
push 2
push 0
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x40511f
push 1
jmp 0x405106
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop ebp
ret 8

Function at 0x4051d7
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push 0
push 0
mov ebx, eax
push 0xe
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jne 0x4051f5
mov esi, 0x7fff
push ebp
xor ecx, ecx
push 2
lea ebp, [esi + 1]
pop edx
mov eax, ebp
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f8e7
pop ecx
mov edi, eax
push edi
push ebp
push 0xd
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
and word [edi + esi*2], 0
test eax, eax
mov eax, dword [esp + 0x14]
pop ebp
jne 0x405247
push 0x46bf80
call fcn.0041018f
xor bl, bl
push edi
call fcn.0044f951
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
ret 4
push edi
call fcn.0041018f
mov bl, 1
jmp 0x405238
Function at 0x405e5c
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x405e7a
mov eax, dword [esp + 0xc]
cmp byte [eax + 5], 1
jne 0x405f12
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push 0
push 0
push 0xe
push dword [esp + 0x24]
call ebx
mov esi, eax
test esi, esi
jne 0x405e99
mov esi, 0x7fff
xor ecx, ecx
push 2
lea ebp, [esi + 1]
pop edx
mov eax, ebp
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044f8e7
pop ecx
mov edi, eax
push edi
push ebp
push 0xd
push dword [esp + 0x24]
call ebx
and word [edi + esi*2], 0
test eax, eax
pop ebp
pop ebx
jg 0x405ed8
xor esi, esi
inc esi
push edi
call fcn.0044f951
pop ecx
mov eax, esi
jmp 0x405f15
mov esi, dword [esp + 0xc]
cmp byte [esi + 0xc], 0
jne 0x405ef1
push edi
call fcn.0045177a
pop ecx
push eax
push edi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
push dword [esi + 0x20]
push edi
call fcn.00451c33
test eax, eax
pop ecx
pop ecx
je 0x405f0b
mov byte [esi + 0xac], 1
xor esi, esi
jmp 0x405ecd
push edi
call fcn.0044f951
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
ret 8