joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ba62de0
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
mov eax, 0x4ba6558e
call fcn.4ba636c0
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 7
push edi
call fcn.4ba57aa0
push edi
push dword [esi + 4]
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
xor ebx, ebx
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push 0x20
push 0x56010000
push 0x4ba5165c
push ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [eax], 0x64
mov eax, esp
lea ecx, [ebp - 0x24]
mov dword [eax], ecx
mov dword [ebp - 0x10], esp
push dword [esi + 4]
lea edi, [esi + 0x2c]
mov ecx, edi
call fcn.4ba554d9
push 0x4ba69af0
lea ecx, [ebp - 0x10]
mov byte [esi + 0xbc], 1
call fcn.4ba52e3e
push 0x42c7
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.4ba536d5
push dword [ebp - 0x10]
lea ebx, [esi + 0x30]
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x28]
push 1
push eax
mov ecx, ebx
mov dword [ebx + 4], eax
call fcn.4ba53f19
lea eax, [ebp - 0x14]
push eax
push 0x2c
call fcn.4ba573ef
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov byte [edi + 0x9c], 1
mov dword [edi + 0x94], eax
mov byte [edi + 0x9d], 1
mov dword [edi + 0x98], eax
and dword [esi + 0x24], 0
add ecx, 0xfffffff0
call fcn.4ba52c2f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10

Function at 0x4ba63d5f
Capabilities:
Allocate or change rwx memory

Disassembly:
cmp dword [0x4ba69b34], 0
push esi
jne 0x4ba63ccd
call fcn.4ba63bc4
test eax, eax
je 0x4ba63d10
mov eax, dword [0x4ba69b34]
cmp eax, 1
jne 0x4ba63cee
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4ba63d10
pop esi
ret
push eax
call dword [0x4ba69b3c]
test eax, eax
jne 0x4ba63d58
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4ba63d14
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4ba69b34]
call dword [0x4ba69b3c]
mov edi, eax
test edi, edi
je 0x4ba63d39
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4ba63d55
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4ba69b34]
call dword [0x4ba69b38]
add edi, 0x10
cmp edi, esi
jb 0x4ba63d41
mov eax, edi
pop edi
pop esi
ret
jmp 0x4ba63cba
Function at 0x4ba64a46
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ba686b8]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4ba64ab0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call sub.ADVAPI32.dll_CheckTokenMembership
test eax, eax
jne 0x4ba64aa7
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
pop ebx
call fcn.4ba6323b
leave
ret

Function at 0x4ba64b80
Capabilities:
Query or enumerate registry value

Disassembly:
call fcn.4ba64ac3
test eax, eax
je 0x4ba64b8e
jmp fcn.4ba64b06
xor eax, eax
inc eax
ret
Function at 0x4066bb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00425506
mov ebx, dword [0x426364]
mov edi, eax
lea eax, [edi + 1]
push eax
call ebx
pop ecx
mov dword [ebp + 8], eax
test eax, eax
pop ecx
je 0x406730
test edi, edi
jle 0x4066f5
sub esi, eax
mov ecx, edi
mov dl, byte [esi + eax]
xor dl, 0x13
mov byte [eax], dl
inc eax
dec ecx
jne 0x4066e9
lea esi, [edi + edi]
lea eax, [esi + 1]
push eax
call ebx
mov ebx, eax
lea eax, [esi + 1]
push eax
push 0
push ebx
call fcn.004254be
add esp, 0x10
test ebx, ebx
je 0x406724
push ebx
push edi
push dword [ebp + 8]
call fcn.0040662f
add esp, 0xc
and byte [esi + ebx], 0
push dword [ebp + 8]
call dword [0x426368]
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x406735
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00425506
mov edi, eax
push esi
push edi
push esi
call fcn.00406670
mov eax, edi
add esp, 0x10
cdq
sub eax, edx
xor ecx, ecx
sar eax, 1
test eax, eax
jle 0x406764
xor byte [ecx + esi], 0x13
inc ecx
cmp ecx, eax
jl 0x40675b
and byte [eax + esi], 0
pop edi
pop esi
ret

Function at 0x40839a
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x432eb8
push 8
mov eax, edx
pop esi
test al, 1
je 0x4083b4
shr eax, 1
xor eax, 0xedb88320
jmp 0x4083b6
shr eax, 1
dec esi
jne 0x4083a7
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x4332b8
jl 0x4083a2
pop esi
ret

Function at 0x40923b
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x4242fb
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.00424da2
mov byte [esi], 0x80
pop esi
ret
Function at 0x8a8840
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008a8990
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8a8866
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8a8852
add dl, dl
jne 0x8a8871
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8a88c4
xor eax, eax
add dl, dl
jne 0x8a887e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8a8965
add dl, dl
jne 0x8a888d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8a8898
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8a88a3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8a88ae
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8a88ba
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8a885d
mov eax, 1
add dl, dl
jne 0x8a88d2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8a88dd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8a88c9
sub eax, ebx
mov ebx, 1
jne 0x8a8910
mov ecx, 1
add dl, dl
jne 0x8a88f6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8a8901
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8a88ed
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8a885d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8a8927
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8a8932
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8a891e
cmp eax, 0x7d00
jae 0x8a8955
cmp eax, 0x500
jb 0x8a8950
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8a885d
cmp eax, 0x7f
ja 0x8a8958
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8a885d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8a8986
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8a885d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4040d2
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
and dword [esi + 0x2c], 0
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
je 0x404147
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumDisplayMonitors
push ebx
lea ebp, [esi + 0x18]
call edi
push str.GetMonitorInfoA
push ebx
mov dword [ebp], eax
call edi
push str.MonitorFromPoint
push ebx
mov dword [esi + 0x1c], eax
call edi
push str.MonitorFromRect
push ebx
mov dword [esi + 0x20], eax
call edi
push str.MonitorFromWindow
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
xor eax, eax
cmp dword [ebp], 0
je 0x404145
inc eax
add ebp, 4
cmp eax, 5
jl 0x40412f
mov dword [esi + 0x2c], 1
pop edi
pop ebp
pop esi
pop ebx
ret
Function at 0x4074c0
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0040733e
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
test edi, edi
jne 0x4074e0
mov ecx, esi
call fcn.004073ce
push 0
push edi
mov ecx, esi
call fcn.00407438
inc edi
push edi
push dword [esi + 4]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextA]
pop edi
pop esi
ret 4

Function at 0x40b331
Capabilities:
Hide graphical window

Disassembly:
push 0x5c
mov eax, 0x41940b
call fcn.0040db0d
mov esi, ecx
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0xf4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x7eb
push dword [eax + 0x1c]
call ebx
mov edi, 0x7ed
cmp dword [ebp + 8], edi
je 0x40b41a
cmp dword [esi + 0x3c], 0xfffffffe
jne 0x40b415
lea ecx, [ebp - 0x68]
call fcn.0040aa4d
mov dword [ebp - 0x68], 0x41b124
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00402fb5
push 0
push dword [esi + 0x1c]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xf8]
push dword [ebp - 0x18]
neg eax
push dword [ebp - 0x1c]
sbb eax, eax
and eax, 2
or eax, 0x100
push eax
push dword [esi + 0xc8]
lea ecx, [ebp - 0x68]
push dword [esi + 0xf4]
mov dword [esi + 0x108], 1
call fcn.0040d68d
test eax, eax
je 0x40b3ea
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xcc], eax
jmp 0x40b3ed
mov dword [ebp + 8], edi
and dword [esi + 0x108], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x20], vtable.ClsRect.0
mov dword [ebp - 0x68], vtable.ClsCommonDialog.0
mov dword [ebp - 0x34], vtable.ClsPoint.0
call fcn.00403b0c
cmp dword [ebp + 8], edi
jne 0x40b426
mov eax, dword [esi + 0xc8]
mov dword [esi + 0xcc], eax
push dword [esi + 0x118]
mov eax, dword [esi + 0xf4]
push dword [esi + 0xcc]
push dword [ebp + 8]
push dword [eax + 0x1c]
call ebx
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40b458
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
call fcn.0040dbac
ret 4

Function at 0x40dafe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4223a0]
jne 0x40db08
repz ret
jmp fcn.004103ec
Function at 0x4154ac
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.0040fdd8
and dword [ebp - 4], 0
cmp dword [0x424344], 0
mov ebx, eax
jne 0x41555d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41560e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41c250
push edi
call esi
test eax, eax
je 0x41560e
push eax
call fcn.0040fd66
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424344], eax
call esi
push eax
call fcn.0040fd66
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x424348], eax
call esi
push eax
call fcn.0040fd66
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42434c], eax
call esi
push eax
call fcn.0040fd66
pop ecx
mov dword [0x424354], eax
test eax, eax
je 0x41555d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040fd66
pop ecx
mov dword [0x424350], eax
mov eax, dword [0x424350]
cmp eax, ebx
je 0x4155b5
cmp dword [0x424354], ebx
je 0x4155b5
push eax
call fcn.0040fde1
push dword [0x424354]
mov esi, eax
call fcn.0040fde1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4155b5
test edi, edi
je 0x4155b5
call esi
test eax, eax
je 0x4155ac
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4155ac
test byte [ebp - 0xc], 1
jne 0x4155b5
or dword [ebp + 0x10], 0x200000
jmp 0x4155ee
mov eax, dword [0x424348]
cmp eax, ebx
je 0x4155ee
push eax
call fcn.0040fde1
pop ecx
test eax, eax
je 0x4155ee
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4155ee
mov eax, dword [0x42434c]
cmp eax, ebx
je 0x4155ee
push eax
call fcn.0040fde1
pop ecx
test eax, eax
je 0x4155ee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424344]
call fcn.0040fde1
pop ecx
test eax, eax
je 0x41560e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x415610
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a260
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x477dbb
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.0046aa5c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a2e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046837a
mov eax, dword [eax]
push 0x497200
push eax
call fcn.0045ae84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046ace7
test bl, bl
je 0x40a2e2
push 0x497200
lea ecx, [esp + 0xc]
call fcn.0046b0c3
push 0x49ad70
lea ecx, [esp + 0xc]
call fcn.0046b0c3
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 0x40a31e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046ace7
jmp 0x40a3e9
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 0x40a3a2
lea edx, [esp + 0x7c]
push 0x49ad6c
push edx
call fcn.0045ae84
add esp, 8
test eax, eax
je 0x40a3a2
lea eax, [esp + 0x7c]
push 0x49ad68
push eax
call fcn.0045ae84
add esp, 8
test eax, eax
je 0x40a3a2
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 0x40a332
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.0046ace7
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 0x40abe0
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 0x40ac42
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 0x40ac50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x477e3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a2118]
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 0x40ad88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40acb6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046ace7
xor eax, eax
jmp 0x40adff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046ae70
push esi
lea ecx, [esp + 0xc]
call fcn.0046b0ff
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x49ada8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40addd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040abe0
test eax, eax
jne 0x40addd
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 0x80000000
mov ecx, edi
call fcn.0040abe0
test eax, eax
jne 0x40addd
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0045bf60
mov esi, eax
add esp, 8
test esi, esi
jne 0x40adbc
lea ecx, [esp + 0x14]
push 0x49ad80
push ecx
call fcn.0045bee0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40adbc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40adbf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046ae20
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40acce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046ace7
xor eax, eax
jmp 0x40adff
mov byte [esi], 0
push 0x49ad7c
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.0046ace7
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 0x41b7e0
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 0x41b84e
cmp si, 0x69
ja 0x41b84e
add esi, 0xffd0
cmp si, 0x11
je 0x41b81e
push 0x11
call edi
test ax, ax
jge 0x41b81e
or esi, 0x2000
cmp si, 0x10
je 0x41b833
push 0x10
call edi
test ax, ax
jge 0x41b833
or esi, 0x4000
cmp si, 0x12
je 0x41b848
push 0x12
call edi
test ax, ax
jge 0x41b848
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41b85b
mov esi, 0xbd
jmp 0x41b80f
cmp si, 0x6e
jne 0x41b868
mov esi, 0xbe
jmp 0x41b80f
cmp si, 0x6f
jne 0x41b809
mov esi, 0xbf
jmp 0x41b80f

Function at 0x41cf00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4b2ec8]
xor edx, edx
cmp eax, edx
jne 0x41cf26
xor eax, eax
mov byte [eax + 0x4b2dc8], al
inc eax
cmp eax, 0x100
jl 0x41cf0e
mov dword [0x4b2ec8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4b2dc8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41cfb7
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 0x41cf8a
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 0x41cf58
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41d030
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 0x41d083
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 0x41d06a
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
Function at 0x423ac0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x423c58
cmp ebp, ebx
jle 0x423c58
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x423b1e
dec eax
or eax, 0xfffffff8
inc eax
je 0x423b25
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x423b34
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x423b3b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0046aa28
add esp, 4
cmp eax, ebx
je 0x423b5c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0046aa28
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x423c4e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x423c35
mov al, byte [edx]
cmp al, 0xc0
jbe 0x423c21
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x423c16
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x423c24
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x423c24
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x423bc0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x423bb1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret