joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d480
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43d4b3
push esi
call fcn.00440570
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43d4ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43d539
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43d522
mov eax, dword [esi + 8]
test eax, eax
je 0x43d4d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43d51e
cmp eax, 2
je 0x43d522
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43d4ca
cmp eax, 3
je 0x43d4fd
cmp eax, 1
jne 0x43d4ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43d4ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43d4ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043d560
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43d548
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043d560
add esp, 4
pop esi
ret

Function at 0x45bba8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45bbe0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00459c5c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00459c34
jmp 0x45bbec
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45d296
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45d2d8
call fcn.00462d4f
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45d2d8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45d2cf
xor eax, eax
jmp 0x45d2e0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045d2e6
pop edi
pop esi
pop ebx
ret 4

Function at 0x46327f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4632ad
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4632cb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004631e5
jmp 0x4632cb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4632cb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004631e5
test edi, edi
mov eax, edi
jne 0x4632b5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402aa0
Capabilities:
Inspect load icon resource

Disassembly:
sub esp, 0x134
mov eax, dword [esp + 0x140]
push esi
mov esi, dword [0x4091ec]
mov dword [esp + 8], eax
mov eax, dword [0x40c864]
push 0x66
push eax
mov dword [esp + 0xc], 0x30
mov dword [esp + 0x14], 0x402bf0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x20], eax
call esi
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x1c], eax
and ecx, 0xffff
push ecx
push 0
call dword [0x4091e8]
push 0
push 0
lea edx, [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x144]
push 0x104
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
mov dword [esp + 0x44], 0x10
mov dword [esp + 0x48], 0
call dword [0x4090c8]
mov edx, dword [0x40c864]
lea ecx, [esp + 0x34]
push 0x66
push edx
mov dword [esp + 0x34], ecx
call esi
mov dword [esp + 0x30], eax
lea eax, [esp + 4]
push eax
call dword [0x4091e4]
mov ecx, dword [0x40c890]
push 0
push 0
push 0
push 0x65
lea esi, [ecx + 0x88]
call dword [0x4091c0]
mov edx, dword [0x40c864]
push eax
push edx
call dword [esi]
xor ecx, ecx
mov dword [0x40c86c], eax
test eax, eax
setne cl
mov eax, ecx
pop esi
add esp, 0x134
ret 0xc
Function at 0x404650
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
je 0x404754
lea eax, [esp + 0x10]
push eax
push str.SystemCurrentControlSetControlProductOptions
push 0x80000002
call dword [0x40900c]
test eax, eax
jne 0x404754
mov eax, dword [esp + 0x10]
mov esi, dword [0x409024]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edi
push edx
push edi
push str.ProductSuite
push eax
call esi
test eax, eax
je 0x4046cb
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x409018]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x404749
push eax
call fcn.00407da2
mov ebp, eax
add esp, 4
cmp ebp, edi
mov dword [esp + 0x20], ebp
jne 0x4046fd
mov eax, dword [esp + 0x10]
push eax
call dword [0x409018]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push ebp
push edx
push edi
push str.ProductSuite
push eax
call esi
test eax, eax
je 0x404739
push ebp
call fcn.00407d9c
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [0x409018]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4
cmp dword [esp + 0x18], 7
je 0x404760
push ebp
call fcn.00407d9c
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call dword [0x409018]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4
mov al, byte [ebp]
mov dword [esp + 0x28], 1
test al, al
je 0x4047eb
mov esi, ebx
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x404797
test cl, cl
je 0x404793
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x404797
add eax, 2
add esi, 2
test cl, cl
jne 0x404773
xor eax, eax
jmp 0x40479c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4047aa
mov dword [esp + 0x1c], 1
jmp 0x4047c0
push ebx
push ebp
call fcn.00407d96
add esp, 8
test eax, eax
je 0x4047c0
mov dword [esp + 0x28], 0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
lea ebp, [ecx + ebp + 1]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov al, byte [ebp]
not ecx
dec ecx
test al, al
lea ebx, [ebx + ecx + 1]
jne 0x40476f
mov ebp, dword [esp + 0x20]
xor edi, edi
push ebp
call fcn.00407d9c
mov eax, dword [esp + 0x14]
add esp, 4
push eax
call dword [0x409018]
cmp dword [esp + 0x1c], edi
je 0x404754
cmp dword [esp + 0x28], edi
je 0x404754
cmp byte [ebx], 0
jne 0x404754
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret 4
Function at 0x404830
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
test ebp, ebp
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
jne 0x404861
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret 4
lea eax, [esp + 0xc]
push eax
push str.SystemCurrentControlSetControlProductOptions
push 0x80000002
call dword [0x40900c]
test eax, eax
je 0x404885
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret 4
mov eax, dword [esp + 0xc]
mov esi, dword [0x409024]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push 0
push edx
push 0
push str.ProductType
push eax
call esi
test eax, eax
je 0x4048bf
mov ecx, dword [esp + 0xc]
push ecx
call dword [0x409018]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4048dd
mov edx, dword [esp + 0xc]
push edx
call dword [0x409018]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret 4
push eax
call fcn.00407da2
mov edi, eax
add esp, 4
test edi, edi
jne 0x404902
mov eax, dword [esp + 0xc]
push eax
call dword [0x409018]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret 4
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edi
push edx
push 0
push str.ProductType
push eax
call esi
test eax, eax
je 0x40493e
push edi
call fcn.00407d9c
mov ecx, dword [esp + 0x10]
add esp, 4
push ecx
call dword [0x409018]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret 4
push ebp
push edi
call fcn.00407bf0
mov esi, eax
push edi
neg esi
sbb esi, esi
inc esi
call fcn.00407d9c
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call dword [0x409018]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4
Function at 0x47c100
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46612f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
push edi
lea ecx, [esp + 8]
mov dword [esp + 0x48], 0
call 0x4df7ce
push 0x4862b4
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 1
call 0x4df7b0
push 0x486234
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 2
call 0x4df7b0
push 0x486230
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 3
call 0x4df7b0
push 0x48622c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 4
call 0x4df7b0
push 0x486228
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 5
call 0x4df7b0
push 0x486224
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 6
call 0x4df7b0
push 0x486220
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 7
call 0x4df7b0
push 0x48621c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 8
call 0x4df7b0
push 0x486218
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 9
call 0x4df7b0
push 0x486214
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], 0xa
call 0x4df7b0
push 0x486210
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0xb
call 0x4df7b0
push 0x48620c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0xc
call 0x4df7b0
push 0x486208
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 0xd
call 0x4df7b0
push 0x486200
lea ecx, [esp + 0x44]
mov byte [esp + 0x58], 0xe
call 0x4df7b0
push 0x4861fc
lea ecx, [esp + 0x48]
mov byte [esp + 0x58], 0xf
call 0x4df7b0
mov eax, dword [esp + 0x64]
mov byte [esp + 0x54], 0x10
test eax, eax
mov edi, 0x4861f8
jne 0x47c262
mov edi, 0x49fc14
mov esi, dword [esp + 0x60]
xor eax, eax
push 2
lea ecx, [esp + 0x68]
mov ax, word [esi + 6]
shl eax, 1
push eax
push ecx
lea ecx, [esp + 0x18]
call 0x4df7e0
mov edx, dword [eax]
xor eax, eax
mov ax, word [esi + 2]
push edx
lea edx, [esp + 0xc]
mov byte [esp + 0x58], 0x11
mov ecx, dword [esp + eax*4 + 0x18]
push ecx
push edi
push 0x4861e8
push edx
call 0x4df7da
add esp, 0x14
lea ecx, [esp + 0x64]
mov byte [esp + 0x54], 0x10
call 0x4df7b6
mov esi, dword [esp + 0x5c]
lea eax, [esp + 8]
push eax
mov ecx, esi
call 0x4df7c2
mov dword [esp + 0x48], 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x54], 0xf
call 0x4df7b6
lea ecx, [esp + 0x40]
mov byte [esp + 0x54], 0xe
call 0x4df7b6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 0xd
call 0x4df7b6
lea ecx, [esp + 0x38]
mov byte [esp + 0x54], 0xc
call 0x4df7b6
lea ecx, [esp + 0x34]
mov byte [esp + 0x54], 0xb
call 0x4df7b6
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 0xa
call 0x4df7b6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 9
call 0x4df7b6
lea ecx, [esp + 0x28]
mov byte [esp + 0x54], 8
call 0x4df7b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 7
call 0x4df7b6
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 6
call 0x4df7b6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 5
call 0x4df7b6
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 4
call 0x4df7b6
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 3
call 0x4df7b6
lea ecx, [esp + 0xc]
mov byte [esp + 0x54], 2
call 0x4df7b6
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
call 0x4df7b6
mov byte [esp + 0x54], 0
lea ecx, [esp + 8]
call 0x4df7b6
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
Function at 0x49a730
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469d34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 0x64
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0x14]
push ebx
push ecx
push 0x50000000
push edi
push eax
mov ecx, esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call 0x4df8f4
push 0x4c
call 0x4df810
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov dword [esp + 0x24], edi
je 0x49a79c
mov ecx, eax
call fcn.0049b800
jmp 0x49a79e
xor eax, eax
push 1
lea edx, [esp + 0x10]
push esi
push edx
mov dword [esp + 0x30], 0xffffffff
push 0x50010080
mov ecx, eax
mov dword [esi + 0x9c], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call 0x4dfea6
mov ecx, dword [esi + 0x9c]
push 1
push 0x14
push 0x1f4
push edi
push edi
call 0x4df98a
mov eax, dword [ebx + 0x20]
mov ebx, dword [fcn.00472ce0]
push edi
push edi
push 0x31
push eax
call ebx
push eax
call 0x4dfe70
mov ecx, dword [esi + 0x9c]
cmp eax, edi
jne 0x49a80a
xor eax, eax
jmp 0x49a80d
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push 1
push eax
push 0x30
push ecx
call ebx
mov eax, dword [esi + 0x9c]
push 0x10001
push 3
push 0xd3
mov edx, dword [eax + 0x20]
push edx
call ebx
mov eax, dword [esi + 0x9c]
mov ecx, dword [0x49486c]
push 0xac
mov dword [eax + 0x44], ecx
call 0x4df810
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov dword [esp + 0x24], 1
je 0x49a866
push edi
mov ecx, eax
call fcn.0047d020
jmp 0x49a868
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
push 0x66
mov ecx, eax
mov dword [esi + 0xa0], eax
call 0x4dfea0
mov ecx, dword [esi + 0xa0]
push edi
push 0x80
push 0x40000
call 0x4dfe9a
mov edx, dword [esi + 0xa0]
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x1c]
pop edi
mov dword [edx + 0x64], eax
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4a4830
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x46abb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, ecx
mov ecx, dword [0x49fe58]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
lea edx, [esp + 0x38]
mov ebp, eax
push edx
call fcn.0047ca80
add esp, 4
lea ebx, [edi + 0xa4]
push eax
mov ecx, ebx
mov dword [esp + 0x34], 0
call 0x4df9fc
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call 0x4df7b6
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
mov edx, dword [eax - 8]
push edx
push eax
mov eax, dword [esi + 8]
push eax
call dword [fcn.00472074]
lea ecx, [edi + 0x94]
mov edx, ecx
mov eax, dword [edx]
add eax, 2
mov ecx, dword [edx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xa8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 8]
sub ecx, 2
mov edx, dword [edx + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov edx, dword [esi]
mov dword [esp + 0x24], eax
mov eax, dword [0x494870]
push eax
mov ecx, esi
call dword [edx + 0x38]
push 1
mov ecx, esi
call 0x4dfdc2
mov ebx, dword [ebx]
mov edx, dword [esi]
mov edi, eax
lea eax, [esp + 0x18]
mov ecx, dword [ebx - 8]
push 0x8025
push eax
push ecx
push ebx
mov ecx, esi
call dword [edx + 0x70]
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x30]
push edi
mov ecx, esi
call 0x4dfdc2
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x410090
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b320b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a54e9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410112
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a2acd
mov eax, dword [eax]
push 0x527230
push eax
call fcn.00493944
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a5774
test bl, bl
je 0x410112
push 0x527230
lea ecx, [esp + 0xc]
call fcn.004a5b50
push 0x52adac
lea ecx, [esp + 0xc]
call fcn.004a5b50
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41014e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a5774
jmp 0x410219
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4101d2
lea edx, [esp + 0x7c]
push 0x52ada8
push edx
call fcn.00493944
add esp, 8
test eax, eax
je 0x4101d2
lea eax, [esp + 0x7c]
push 0x52ada4
push eax
call fcn.00493944
add esp, 8
test eax, eax
je 0x4101d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x410162
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a5774
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x410a30
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x410a92
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x410aa0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b328b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x53c320]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x410bd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410b06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a5774
xor eax, eax
jmp 0x410c4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a58fd
push esi
lea ecx, [esp + 0xc]
call fcn.004a5b8c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x410c2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00410a30
test eax, eax
jne 0x410c2d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00410a30
test eax, eax
jne 0x410c2d
lea eax, [esp + 0x14]
push 0x52adc0
push eax
call fcn.00494a50
mov esi, eax
add esp, 8
test esi, esi
jne 0x410c0c
lea ecx, [esp + 0x14]
push 0x52adbc
push ecx
call fcn.004949d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x410c0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x410c0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a58ad
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x410b1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a5774
xor eax, eax
jmp 0x410c4f
mov byte [esi], 0
push 0x52adb8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004a5774
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4235f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x42365e
cmp si, 0x69
ja 0x42365e
add esi, 0xffd0
cmp si, 0x11
je 0x42362e
push 0x11
call edi
test ax, ax
jge 0x42362e
or esi, 0x2000
cmp si, 0x10
je 0x423643
push 0x10
call edi
test ax, ax
jge 0x423643
or esi, 0x4000
cmp si, 0x12
je 0x423658
push 0x12
call edi
test ax, ax
jge 0x423658
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42366b
mov esi, 0xbd
jmp 0x42361f
cmp si, 0x6e
jne 0x423678
mov esi, 0xbe
jmp 0x42361f
cmp si, 0x6f
jne 0x423619
mov esi, 0xbf
jmp 0x42361f

Function at 0x424cd0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x54d210]
xor edx, edx
cmp eax, edx
jne 0x424cf6
xor eax, eax
mov byte [eax + 0x54d110], al
inc eax
cmp eax, 0x100
jl 0x424cde
mov dword [0x54d210], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x54d110
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x424d87
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x424d5a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x424d28
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x424e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x424e53
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x424e3a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret