joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4056a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415ccb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x41e358]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00408855
push 4
mov dword [ebp - 4], 0
call fcn.00408e82
mov edi, eax
add esp, 4
test edi, edi
je 0x40571c
call fcn.00407da0
mov dword [edi], eax
call fcn.00407b5f
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00407a94
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405712
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00407abc
jmp 0x40571e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406470
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415e68
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x41e358]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x2c], ax
xor ebx, ebx
push 0x34
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00402f20
push 0x26
mov eax, str.BA6E3406_3BB9_433B_B9BF_ADC652DF3520
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00402ab0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4064d8
mov eax, esi
lea ecx, [ebp - 0x34]
push ecx
push 0x2001f
push ebx
push eax
push 0x80000002
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x34]
xor esi, esi
mov edi, eax
cmp eax, ebx
je 0x40652d
mov ecx, 4
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x3c]
push edx
push ebx
push 0x41ab24
push eax
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [ebp - 0x30]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 8
jb 0x40653f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00408abf
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040893a
mov esp, ebp
pop ebp
ret
Function at 0x406560
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41618b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x41e358]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x88]
call fcn.004043e0
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x78], ebx
je 0x40665a
mov ecx, 0x17
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x90]
push ecx
push 0x2001f
push ebx
lea edx, [ebp - 0x6c]
push edx
push 0x80000001
mov dword [ebp - 0x90], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x90]
cmp esi, ebx
jne 0x406618
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea edx, [ebp - 0x6c]
push edx
push 0x80000001
mov dword [ebp - 0x8c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [ebp - 0x8c]
cmp esi, ebx
je 0x40665a
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x98], esp
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push ebx
lea edx, [ebp - 0x88]
mov word [ecx], ax
push edx
or eax, 0xffffffff
call fcn.00402be0
mov ecx, str.Bing_Dictionary
call fcn.00407300
add esp, 0x1c
cmp esi, ebx
je 0x40665a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], 8
jb 0x40666f
mov eax, dword [ebp - 0x88]
push eax
call fcn.00408abf
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040893a
mov esp, ebp
pop ebp
ret
Function at 0x4070c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415e68
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x41e358]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x34]
push eax
push 0x2001f
xor edi, edi
push edi
push str.SYSTEMCURRENTCONTROLSETCONTROLWINDOWS
push 0x80000002
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x34]
mov ecx, 4
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x40]
push ecx
push edi
push str.CSDVersion
push eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
push edi
mov eax, 0x41a2c0
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.00402f20
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x30]
cmp eax, 0x100
jne 0x40716d
push 3
mov eax, 0x41ad64
jmp 0x407193
cmp eax, 0x200
jne 0x40717d
push 3
mov eax, 0x41a2f8
jmp 0x407193
cmp eax, 0x300
jne 0x40718d
push 3
mov eax, 0x41a2f0
jmp 0x407193
push edi
mov eax, 0x41a2c0
lea esi, [ebp - 0x2c]
call fcn.00402f20
mov eax, dword [ebp - 0x38]
cmp eax, edi
je 0x4071a9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], edi
mov esi, ebx
cmp dword [ebp - 0x1c], edi
je 0x4071d3
xor eax, eax
lea edi, [ebp - 0x2c]
mov word [ebx], ax
call fcn.00402a40
cmp dword [ebp - 0x18], 8
jb 0x4071f5
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x4071ed
xor edx, edx
push edi
mov eax, 0x41a2c0
mov word [ebx], dx
call fcn.00402f20
cmp dword [ebp - 0x18], 8
jb 0x4071f5
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00408abf
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040893a
mov esp, ebp
pop ebp
ret

Function at 0x407300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
test esi, esi
jne 0x407321
cmp dword [ebp + 0x1c], 8
jb 0x40731c
mov eax, dword [ebp + 8]
push eax
call fcn.00408abf
add esp, 4
xor al, al
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x1c]
cmp edi, 8
jae 0x407330
lea eax, [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407333
mov ecx, dword [ebp + 8]
sub eax, edx
sar eax, 1
cmp edi, 8
lea eax, [eax + eax + 2]
pop edi
jae 0x407352
lea ecx, [ebp + 8]
push eax
push ecx
push 1
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp dword [ebp + 0x1c], 8
jb 0x407377
mov ecx, dword [ebp + 8]
push ecx
call fcn.00408abf
add esp, 4
mov al, bl
pop ebx
pop ebp
ret
Function at 0x407380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415e38
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x41e358]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, edx
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], esi
cmp ebx, esi
jne 0x4073d8
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], esi
mov word [edi], ax
jmp 0x4074b0
lea ecx, [ebp - 0x34]
push ecx
push esi
lea edx, [ebp - 0x30]
push edx
push esi
push eax
push ebx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x4074a1
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x34]
cmp ecx, esi
lea esi, [ebp - 0x2c]
ja 0x407423
or eax, 0xffffffff
call fcn.00403010
jmp 0x40742d
mov ebx, ecx
call fcn.004074e0
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x40743d
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x34]
push ecx
push eax
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x30]
push edx
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407487
mov esi, dword [ebp - 0x3c]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
xor ecx, ecx
mov word [edi], cx
lea edi, [ebp - 0x2c]
call fcn.00402a40
cmp dword [ebp - 0x18], 8
jb 0x407483
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00408abf
add esp, 4
mov eax, esi
jmp 0x4074bf
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], esi
jb 0x40749f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00408abf
add esp, 4
xor esi, esi
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], esi
mov word [edi], cx
push esi
mov eax, 0x41a2c0
mov esi, edi
call fcn.00402f20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040893a
mov esp, ebp
pop ebp
ret
Function at 0x4077a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x41e358]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], 0
push esi
je 0x4078ab
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x22c]
lea esi, [edi + 0x20]
push ecx
call fcn.004076a0
mov eax, dword [ebp - 0x22c]
mov esi, 8
cmp dword [ebp - 0x218], esi
jae 0x4077ea
lea eax, [ebp - 0x22c]
mov edx, dword [ebp - 0x21c]
push edx
push eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004091ba
push 0x40
lea ecx, [ebp - 0x284]
push 0
push ecx
mov dword [ebp - 0x288], 0x44
call fcn.00410ca0
add esp, 0x1c
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x288]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x407894
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x234]
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], ecx
cmp dword [ebp - 0x218], esi
jb 0x407883
mov edx, dword [ebp - 0x22c]
push edx
call fcn.00408abf
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040893a
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x218], esi
jb 0x4078ab
mov eax, dword [ebp - 0x22c]
push eax
call fcn.00408abf
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.0040893a
mov esp, ebp
pop ebp
ret

Function at 0x40893a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41e358]
jne 0x408944
repz ret
jmp fcn.0040c4ca
Function at 0x4135ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41e358]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040d6bb
and dword [ebp - 0x14], 0
cmp dword [0x420338], 0
mov dword [ebp - 0x18], eax
jne 0x41365f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x413707
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x419e24
push ebx
call edi
test eax, eax
je 0x413707
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x420338], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42033c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x420340], eax
call edi
push eax
call esi
mov dword [0x420348], eax
test eax, eax
je 0x41365f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x420344], eax
mov eax, dword [0x420344]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4136b8
cmp dword [0x420348], ecx
je 0x4136b8
push eax
call esi
push dword [0x420348]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4136b8
test ebx, ebx
je 0x4136b8
call edi
test eax, eax
je 0x4136af
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4136af
test byte [ebp - 8], 1
jne 0x4136b8
or dword [ebp + 0x10], 0x200000
jmp 0x4136eb
mov eax, dword [0x42033c]
cmp eax, dword [ebp - 0x18]
je 0x4136eb
push eax
call esi
test eax, eax
je 0x4136eb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4136eb
mov eax, dword [0x420340]
cmp eax, dword [ebp - 0x18]
je 0x4136eb
push eax
call esi
test eax, eax
je 0x4136eb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x420338]
call esi
test eax, eax
je 0x413707
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x413709
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040893a
leave
ret
Function at 0x404149
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00406a16
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00406a16
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x4041c5
mov eax, dword [0x49b518]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0xc
call fcn.00406a22
cmp dword [ebp - 0x18], esp
je 0x4041f1
push 6
call fcn.00406a1c
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x11
call fcn.00406a22
cmp dword [ebp - 0x18], esp
je 0x40421f
push 6
call fcn.00406a1c
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0x12
call fcn.00406a22
cmp dword [ebp - 0x18], esp
je 0x40424b
push 6
call fcn.00406a1c
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x13
call fcn.00406a22
cmp dword [ebp - 0x18], esp
je 0x4042da
push 6
call fcn.00406a1c
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0x14
call fcn.00406a22
cmp dword [ebp - 0x18], esp
je 0x4042ff
push 6
call fcn.00406a1c
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x404307
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00406a0a
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00406a0a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4113b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x471b0b
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.00466451
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x411432
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004641d0
mov eax, dword [eax]
push 0x48d210
push eax
call fcn.00456dc4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004666dc
test bl, bl
je 0x411432
push 0x48d210
lea ecx, [esp + 0xc]
call fcn.00466a6c
push 0x490d8c
lea ecx, [esp + 0xc]
call fcn.00466a6c
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 0x41146e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004666dc
jmp 0x411539
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 0x4114f2
lea edx, [esp + 0x7c]
push 0x490d88
push edx
call fcn.00456dc4
add esp, 8
test eax, eax
je 0x4114f2
lea eax, [esp + 0x7c]
push 0x490d84
push eax
call fcn.00456dc4
add esp, 8
test eax, eax
je 0x4114f2
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 0x411482
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.004666dc
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 0x411d30
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 0x411d92
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 0x411da0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x471b8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x497500]
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 0x411ed8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411e06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004666dc
xor eax, eax
jmp 0x411f4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00466819
push esi
lea ecx, [esp + 0xc]
call fcn.00466aa8
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 0x411f2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00411d30
test eax, eax
jne 0x411f2d
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.00411d30
test eax, eax
jne 0x411f2d
lea eax, [esp + 0x14]
push 0x490da0
push eax
call fcn.00457ed0
mov esi, eax
add esp, 8
test esi, esi
jne 0x411f0c
lea ecx, [esp + 0x14]
push 0x490d9c
push ecx
call fcn.00457e50
mov esi, eax
add esp, 8
test esi, esi
jne 0x411f0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x411f0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004667c9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x411e1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004666dc
xor eax, eax
jmp 0x411f4f
mov byte [esi], 0
push 0x490d98
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.004666dc
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 0x4239d0
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 0x423a3e
cmp si, 0x69
ja 0x423a3e
add esi, 0xffd0
cmp si, 0x11
je 0x423a0e
push 0x11
call edi
test ax, ax
jge 0x423a0e
or esi, 0x2000
cmp si, 0x10
je 0x423a23
push 0x10
call edi
test ax, ax
jge 0x423a23
or esi, 0x4000
cmp si, 0x12
je 0x423a38
push 0x12
call edi
test ax, ax
jge 0x423a38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x423a4b
mov esi, 0xbd
jmp 0x4239ff
cmp si, 0x6e
jne 0x423a58
mov esi, 0xbe
jmp 0x4239ff
cmp si, 0x6f
jne 0x4239f9
mov esi, 0xbf
jmp 0x4239ff

Function at 0x425170
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4a7c60]
xor edx, edx
cmp eax, edx
jne 0x425196
xor eax, eax
mov byte [eax + 0x4a7b60], al
inc eax
cmp eax, 0x100
jl 0x42517e
mov dword [0x4a7c60], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4a7b60
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x425227
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 0x4251fa
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 0x4251c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4252a0
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 0x4252f3
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 0x4252da
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