joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445870
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x471db8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x492bec]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x4458b0
push esi
push esi
push esi
push 2
call fcn.00451800
xor al, al
jmp 0x445a34
call fcn.00444960
mov ebp, dword [sym.imp.MSVCR90.dll_fseek]
push 2
or eax, 0xffffffff
push 0
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call ebp
push esi
call dword [sym.imp.MSVCR90.dll_ftell]
push 0
push 0
push esi
mov edi, eax
call ebp
add esp, 0x1c
test edi, edi
jg 0x4458f8
push 0
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.00451800
xor al, al
jmp 0x445a34
mov dword [esp + 0x14], 0x493c14
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.004510c0
lea eax, [edi + 1]
push eax
call sub.mfc90.dll_Ordinal_265
push esi
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x14
cmp eax, 1
je 0x44596f
push ebp
call sub.mfc90.dll_Ordinal_266
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.00451800
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
cmp eax, 0x493c14
je 0x445968
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
xor al, al
jmp 0x445a34
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, ebp
mov esi, ebp
je 0x4459dc
lea ecx, [ecx]
mov cl, byte [esi]
cmp cl, 0xa
jne 0x44599c
mov ecx, esi
sub ecx, eax
inc ecx
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00451250
inc esi
mov eax, esi
jmp 0x4459d7
cmp cl, 0xd
jne 0x4459d6
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x4459b4
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00451250
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xa
call fcn.00451250
cmp byte [esi + 1], 0xa
jne 0x445997
add esi, 2
mov eax, esi
jmp 0x4459d7
inc esi
cmp byte [esi], 0
jne 0x445980
sub esi, eax
je 0x4459eb
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00451250
push ebp
call sub.mfc90.dll_Ordinal_266
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, ebx
call eax
cmp byte [ebx + 0x2c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
jne 0x445958
cmp eax, 0x493c14
je 0x445a32
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x448190
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4481a8
cmp al, 5
sbb eax, eax
and eax, 2
add eax, 6
ret
mov eax, 8
ret
Function at 0x449630
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x471b13
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x492bec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.00451070
mov dword [esi], vtable.dsScrollBarHelper.0
mov eax, dword [0x493fc0]
mov edx, dword [eax + 0xc]
xor edi, edi
mov ecx, 0x493fc0
mov dword [esp + 0x1c], edi
lea ebx, [esi + 0x14]
call edx
add eax, 0x10
mov dword [ebx], eax
push 9
push str.scrollbar
mov ecx, ebx
mov byte [esp + 0x24], 1
mov dword [esi + 0x10], edi
call fcn.00412c00
mov eax, 0x12
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov eax, 3
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x44c280
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, ecx
mov ecx, dword [0x493c00]
test ecx, ecx
jne 0x44c2b5
cmp dword [0x493bf8], ecx
jne 0x44c2b5
push edx
push eax
mov eax, dword [esi + 4]
push 0x113
push edi
push eax
call dword [sym.imp.USER32.dll_CallWindowProcA]
pop edi
pop esi
add esp, 0x28
ret
cmp eax, 0xfffffff2
jne 0x44c40b
cmp dword [esi + 0x6a8], 0
jne 0x44c403
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
push eax
push 0x493bc8
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x44c330
mov ecx, dword [0x493bf8]
push ecx
push edi
call dword [sym.imp.USER32.dll_KillTimer]
or eax, 0xffffffff
mov dword [0x492a78], eax
mov dword [0x492a80], eax
mov dword [0x492a7c], eax
push edi
push esi
mov eax, 1
mov dword [0x493bf8], 0
call fcn.0044ae30
add esp, 8
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
cmp dword [0x492a78], 0
push ebx
jne 0x44c356
mov edx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
lea ebx, [esi + 8]
push ebx
mov eax, 0x493bc8
call fcn.0044b530
add esp, 8
jmp 0x44c374
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
lea ebx, [esi + 0x358]
push ecx
push ebx
mov esi, 0x493bc8
call fcn.0044b580
add esp, 0xc
mov dword [0x492a7c], eax
cmp dword [0x492a80], eax
je 0x44c3fd
mov edx, dword [0x493bc8]
mov eax, dword [0x493bcc]
mov ecx, dword [0x493bd0]
mov dword [esp + 0x14], edx
mov edx, dword [0x493bd4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x14]
mov eax, ebx
mov dword [esp + 0x20], edx
call fcn.0044b650
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
neg ecx
push ecx
neg edx
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
call fcn.0044ade0
mov esi, eax
push ebx
or edx, 0xffffffff
lea eax, [esp + 0x1c]
call fcn.0044adb0
add esp, 8
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x492a7c]
mov dword [0x492a80], eax
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
cmp eax, 0xfffd
jne 0x44c437
push ecx
push edi
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x37
push 0xfffe
push edi
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
mov dword [0x493c00], eax
xor eax, eax
pop esi
add esp, 0x28
ret
cmp eax, 0xfffe
jne 0x44c496
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx eax, word [esp + 0xc]
movzx ecx, word [esp + 8]
shl eax, 0x10
or eax, ecx
push 1
mov ecx, edi
mov edx, esi
call fcn.0044bea0
mov eax, dword [0x492a84]
add esp, 4
cmp eax, 0xffffffff
je 0x44c48e
mov edx, dword [0x493bfc]
push 0
push eax
push edi
call fcn.00449f00
add esp, 0xc
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret
push edx
mov edx, dword [esi + 4]
push eax
push 0x113
push edi
push edx
call dword [sym.imp.USER32.dll_CallWindowProcA]
pop edi
pop esi
add esp, 0x28
ret
Function at 0x44eb00
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push eax
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44eb94
push esi
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
mov edi, eax
push edi
push ebx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, dword [esp + 0x14]
je 0x44eb6f
push edi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push edi
mov ecx, ebp
call fcn.0044ea80
push edi
mov esi, eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 4
pop ebp
xor eax, eax
pop ebx
ret 4

Function at 0x4507b0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471c6b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x492bec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], vtable.dsDib.0
xor edi, edi
or eax, 0xffffffff
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 2
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov eax, dword [0x493fc0]
mov edx, dword [eax + 0xc]
mov ecx, 0x493fc0
lea ebx, [esi + 0x64]
call edx
add eax, 0x10
mov dword [ebx], eax
xor eax, eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
push edi
mov dword [esi + 0x5c], eax
push 0x47ee18
mov ecx, ebx
mov dword [esp + 0x24], edi
mov dword [esi + 0x60], edi
call fcn.00412c00
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x454f40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x4550ea
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x454f98
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x454fab
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x454fbf
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x455006.3
jmp 0x454fd0
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x454fdc
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x454fe1
mov esi, 1
inc eax
cmp eax, edi
jl 0x454fd0
cmp si, cx
je case.0x455006.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x455006.3
movzx eax, byte [eax + 0x455104]
jmp dword [eax*4 + 0x4550f0]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x455006.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x455020
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x455006.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x455060
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x455006.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x455086
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x455006.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x4550b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x45a830
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x45a85f
push esi
call fcn.00463300
add esp, 4
cmp byte [esi + 0x40], 0
je 0x45a858
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x45a8d9
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x45a8c9
mov eax, dword [esi + 8]
test eax, eax
je 0x45a884
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x45a8c5
cmp eax, 2
je 0x45a8c9
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45a875
cmp eax, 3
je 0x45a8ac
cmp eax, 1
jne 0x45a875
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x45a875
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x45a875
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.0045a6c0
pop esi
ret
cmp eax, 0xcc
je 0x45a8fb
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.0045a6c0
pop esi
ret
Function at 0x462a80
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.004451e0
push 0x54
push edi
mov dword [esp + 0x18], eax
call fcn.004653a0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x462ac6
push edi
call fcn.00416de0
mov eax, dword [edi]
mov dword [eax + 0x14], 0x36
mov ecx, dword [edi]
mov dword [ecx + 0x18], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push edi
call eax
add esp, 8
mov dword [esi], fcn.00461fb0
mov dword [esi + 4], fcn.004620e0
mov dword [esi + 8], fcn.00462180
mov dword [esi + 0xc], fcn.00462230
mov dword [esi + 0x10], 0x4622e0
mov dword [esi + 0x14], 0x462350
mov dword [esi + 0x18], 0x4623c0
mov dword [esi + 0x1c], 0x4626a0
mov dword [esi + 0x20], 0x4627e0
mov dword [esi + 0x24], fcn.00462930
mov dword [esi + 0x28], 0x462a40
mov dword [esi + 0x30], 0x3b9aca00
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x54
push str.JPEGMEM
mov dword [edi + 4], esi
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
cmp eax, ebx
je 0x462ba1
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x10]
push ecx
push str._ld_c
push eax
mov byte [esp + 0x24], 0x78
call dword [sym.imp.MSVCR90.dll_sscanf]
add esp, 0x10
test eax, eax
jle 0x462ba1
mov al, byte [esp + 0x14]
cmp al, 0x6d
je 0x462b7c
cmp al, 0x4d
jne 0x462b94
mov eax, dword [esp + 0xc]
imul eax, eax, 0x3e8
imul eax, eax, 0x3e8
pop edi
mov dword [esi + 0x2c], eax
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
imul eax, eax, 0x3e8
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x46b130
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x46b157
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x46b163
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0xc], ecx
jle 0x46b259
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x18], edx
jmp 0x46b1ac
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
cdq
idiv ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
je 0x46b1cd
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov edi, dword [edx + ecx*4]
dec ebp
mov ecx, ebp
xor eax, eax
xor ebx, ebx
call fcn.0046afa0
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x46b1f7
inc ebx
mov ecx, ebp
mov eax, ebx
call fcn.0046afa0
mov ecx, eax
cmp esi, ecx
jg 0x46b1e7
mov al, byte [esp + 0x1c]
imul bl
mov byte [esi + edi], al
inc esi
cmp esi, 0xff
jle 0x46b1e3
cmp dword [esp + 0x10], 0
je 0x46b23c
mov eax, 1
lea ecx, [edi - 1]
jmp 0x46b220
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
inc eax
dec ecx
cmp eax, 0xff
jle 0x46b220
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], 4
inc eax
cmp eax, dword [ecx + 0x64]
mov dword [esp + 0x14], eax
jl 0x46b1a0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x46d6fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x492bec]
jne 0x46d706
repz ret
jmp fcn.0046dd9e
Function at 0x14cf818
Capabilities:
Encode data using xor

Disassembly:
push dword [esp]
inc dl
clc
lea esp, [esp + 0x52]
jp 0x14d5b2e
ror dl, 5
jmp 0x14d5ca0
jmp 0x14c56ee
pushal
push 0xfe6b532c
bt ax, ax
bt di, 0xd
ror dl, 5
pushfd
mov byte [esp + 0xc], cl
pushfd
mov byte [esp], al
dec dl
stc
clc
push word [esp + 0x2c]
popf
push dword [esp]
inc esi
push 0xd9e4d74f
pushfd
adc dl, dl
push ebp
pushfd
mov byte [esp], ah
push dword [esp + 0x42]
ret 0x46

Function at 0x264a756
Capabilities:
Encode data using xor

Disassembly:
push dword [esp]
lea esp, [esp + 0x44]
ja 0x14e0bd7
pushfd
mov byte [esp], 0xcc
call int.014cd9e5
lea esp, [esp + 4]
jne 0x14cbc8b
and ax, bp
aam 0x1f
aaa
xor edx, edx
cmc
mov eax, edx
add al, ah
sar al, 1
add edi, 1
push edi
sar al, 7
mov al, byte [edi]
mov dword [esp], ebp
test al, al
pushal
pushal
pushfd
push dword [esp]
lea esp, [esp + 0x4c]
je 0x14cbc85
cmc
test dx, bp
test al, 0x41
sub al, 0x30
test esp, esp
stc
pushal
cmp al, 9
pushal
jmp 0x2649585
Function at 0x5443b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x611d8b
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.00605308
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x544432
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00602064
mov eax, dword [eax]
push 0x733d90
push eax
call fcn.005f2d14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00605593
test bl, bl
je 0x544432
push 0x733d90
lea ecx, [esp + 0xc]
call fcn.00605923
push 0x733d9c
lea ecx, [esp + 0xc]
call fcn.00605923
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 0x54446e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00605593
jmp 0x544539
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 0x5444f2
lea edx, [esp + 0x7c]
push 0x733d98
push edx
call fcn.005f2d14
add esp, 8
test eax, eax
je 0x5444f2
lea eax, [esp + 0x7c]
push 0x733d94
push eax
call fcn.005f2d14
add esp, 8
test eax, eax
je 0x5444f2
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 0x544482
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.00605593
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 0x544d30
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 0x544d92
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 0x544da0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x611e0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x748128]
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 0x544ed8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x544e06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00605593
xor eax, eax
jmp 0x544f4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.006056d0
push esi
lea ecx, [esp + 0xc]
call fcn.0060595f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x733dd0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x544f2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x733dc8
push accept
call fcn.00544d30
test eax, eax
jne 0x544f2d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x733db4
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00544d30
test eax, eax
jne 0x544f2d
lea eax, [esp + 0x14]
push 0x733dac
push eax
call fcn.005f3e60
mov esi, eax
add esp, 8
test esi, esi
jne 0x544f0c
lea ecx, [esp + 0x14]
push 0x733da8
push ecx
call fcn.005f3de0
mov esi, eax
add esp, 8
test esi, esi
jne 0x544f0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x544f0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00605680
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x544e1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00605593
xor eax, eax
jmp 0x544f4f
mov byte [esi], 0
push 0x733da4
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.00605593
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