joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d4dc7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x100d4ddf
mov edi, dword [esi + 0xc]
jmp 0x100d4e1f
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100d4df8
call fcn.1000b78a
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x100d4e0d
call fcn.1000b78a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x100d4e1f
call fcn.1000b78a
call fcn.1000a094
cmp dword [eax + 0x3c], 0
je 0x100d4e34
push edi
mov ecx, ebx
call fcn.100d3bf1
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.100d4ce1
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x100d4e52
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x100d4e5e
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100f96f8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1016a580]
jne 0x100f9702
repz ret
jmp fcn.100ff4f8
Function at 0x1010acda
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1016a580]
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.100ff72f
and dword [ebp - 0x14], 0
cmp dword [0x10172668], 0
mov dword [ebp - 0x18], eax
jne 0x1010ad8d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1010ae35
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10148a1c
push ebx
call edi
test eax, eax
je 0x1010ae35
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x10148a0c
push ebx
mov dword [0x10172668], eax
call edi
push eax
call esi
push 0x101489f8
push ebx
mov dword [0x1017266c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10172670], eax
call edi
push eax
call esi
mov dword [0x10172678], eax
test eax, eax
je 0x1010ad8d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10172674], eax
mov eax, dword [0x10172674]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1010ade6
cmp dword [0x10172678], ecx
je 0x1010ade6
push eax
call esi
push dword [0x10172678]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1010ade6
test ebx, ebx
je 0x1010ade6
call edi
test eax, eax
je 0x1010addd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1010addd
test byte [ebp - 8], 1
jne 0x1010ade6
or dword [ebp + 0x10], 0x200000
jmp 0x1010ae19
mov eax, dword [0x1017266c]
cmp eax, dword [ebp - 0x18]
je 0x1010ae19
push eax
call esi
test eax, eax
je 0x1010ae19
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1010ae19
mov eax, dword [0x10172670]
cmp eax, dword [ebp - 0x18]
je 0x1010ae19
push eax
call esi
test eax, eax
je 0x1010ae19
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10172668]
call esi
test eax, eax
je 0x1010ae35
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1010ae37
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100f96f8
leave
ret
Function at 0x10001016
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push esi
push edi
push 0x10003010
push 0x65
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10001061
push edi
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10001061
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001061
push edi
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x10001065
xor eax, eax
jmp 0x100010a7
push ebx
mov ebx, dword [esi]
push 0
push 4
push 2
push 0
push 2
push 0x40000000
push 0x10003038
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100010a3
lea eax, [esp + 0xc]
push 0
push eax
add esi, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x100010ab
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push edi
xor edx, edx
xor eax, eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], edx
push 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
push eax
lea eax, [ebp - 0x54]
push eax
push edx
push edx
push 0x8000000
push edx
push edx
push edx
push 0x10003038
push edx
mov word [ebp - 0x24], dx
mov dword [ebp - 0x28], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x10001110
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x10]
call esi
pop esi
xor eax, eax
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x8e15455
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x29293647
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x178e1316
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, str._f_j
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x254c2ada
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push 0xf3c00
push 0
call sub.user32.dll_GetCaretBlinkTime
call sub.kernel32.dll_VirtualAlloc
call fcn.004a12b8
ret
Function at 0x408b80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ecx
push edi
mov edi, dword [eax + 0x10]
mov dword [ebp - 4], edi
cmp ecx, 0x10
jb 0x408ba3
mov esi, dword [eax]
jmp 0x408ba5
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x408bc1
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x408bb0
mov ecx, dword [ebx + 0x14]
mov edi, ecx
and edi, edx
cmp dword [ebx + 0x18], edi
ja 0x408bd6
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add edi, eax
mov ecx, dword [ebx + 8]
lea eax, [edi + edi]
mov edx, dword [ebx]
lea eax, [eax + 1]
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov esi, dword [ecx + edi*8]
mov edi, dword [ecx + eax*4 - 4]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
cmp edi, edx
jne 0x408bff
mov eax, edx
jmp 0x408c03
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x408d23
cmp dword [ebp - 8], 0x10
lea ecx, [esi + 8]
jb 0x408c1b
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
jmp 0x408c1e
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
mov dword [ebp - 4], eax
jb 0x408c2c
mov ecx, dword [ecx]
cmp eax, ebx
mov edx, ebx
cmovb edx, eax
test edx, edx
je 0x408c93
sub edx, 4
jb 0x408c51
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x408c56
add ecx, 4
add edi, 4
sub edx, 4
jae 0x408c40
cmp edx, 0xfffffffc
je 0x408c8a
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x408c83
cmp edx, 0xfffffffd
je 0x408c8a
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x408c83
cmp edx, 0xfffffffe
je 0x408c8a
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x408c83
cmp edx, 0xffffffff
je 0x408c8a
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x408c8a
sbb eax, eax
or eax, 1
jmp 0x408c8c
xor eax, eax
test eax, eax
jne 0x408ca3
mov eax, dword [ebp - 4]
cmp eax, ebx
jb 0x408ca3
xor eax, eax
cmp dword [ebp - 4], ebx
setne al
test eax, eax
je 0x408cb3
mov esi, dword [esi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x408bf7
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
mov edi, dword [ecx + 0x10]
jb 0x408cc1
mov ecx, dword [ecx]
cmp dword [ebp - 8], 0x10
jb 0x408ccf
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
cmp ebx, edi
mov eax, edi
cmovb eax, ebx
push eax
push ecx
push dword [ebp + 0xc]
call fcn.0040c920
add esp, 0xc
test eax, eax
jne 0x408d0a
cmp ebx, edi
jb 0x408d0a
cmp ebx, edi
setne al
test eax, eax
jne 0x408d0a
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
pop edi
mov dword [ebp + 0xc], esi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x40b9a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42acbc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi + 0x28], 0x42e244
mov dword [edi + 0x30], vtable.boost::exception_detail::clone_base.0
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x10], 1
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::bad_cast::constructor_class_std::bad_cast_const__]
mov dword [edi], vtable.boost::bad_lexical_cast.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 1
lea edx, [esi + 0x14]
mov dword [edi + 0x14], vtable.boost::exception.0
mov ecx, dword [edx + 4]
mov dword [ebp + 8], edx
mov dword [edi + 0x18], ecx
test ecx, ecx
je 0x40ba32
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [edi + 0x1c], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0x20], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x24], eax
mov dword [ebp - 4], 2
lea ecx, [edi + 0x14]
mov eax, dword [edi + 0x28]
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.2.0
mov dword [edi + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.0
mov eax, dword [edi + 0x28]
mov esi, dword [eax + 4]
lea eax, [esi - 8]
mov dword [esi + edi + 0x24], eax
call fcn.00404ef0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40bfa0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42acbc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi + 0x28], 0x42e244
mov dword [edi + 0x30], vtable.boost::exception_detail::clone_base.0
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x10], 1
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::bad_cast::constructor_class_std::bad_cast_const__]
mov dword [edi], vtable.boost::bad_lexical_cast.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov dword [ebp - 4], 1
lea edx, [esi + 0x14]
mov dword [edi + 0x14], vtable.boost::exception.0
mov ecx, dword [edx + 4]
mov dword [ebp + 8], edx
mov dword [edi + 0x18], ecx
test ecx, ecx
je 0x40c032
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [edi + 0x1c], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0x20], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x24], eax
mov dword [ebp - 4], 2
lea ecx, [edi + 0x14]
mov eax, dword [edi + 0x28]
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.2.0
mov dword [edi + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::bad_lexical_cast__.0
mov eax, dword [edi + 0x28]
mov esi, dword [eax + 4]
lea eax, [esi - 8]
mov dword [esi + edi + 0x24], eax
call fcn.00404ef0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x27064245
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6e09189a
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x209001a2
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0xadb0004
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x494645
Capabilities:
Encode data using xor

Disassembly:
arpl ax, dx
mov ecx, 0x22ad7d14
insb byte es:[edi], dx
and esp, edi
insd dword es:[edi], dx
invalid

Function at 0x4c6f71
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4ce378
cmp edx, dword [eax]
je 0x4c6f93
add eax, 8
inc ecx
cmp eax, 0x4ce408
jl 0x4c6f84
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4ce378]
jne 0x4c70c1
mov eax, dword [0x4d3da0]
cmp eax, 1
je 0x4c709b
test eax, eax
jne 0x4c6fc4
cmp dword [0x4ce2a4], 1
je 0x4c709b
cmp edx, 0xfc
je 0x4c70c1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c6ffb
lea eax, [ebp - 0x1a4]
push 0x4cc6c0
push eax
call fcn.004c7950
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c7de0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c703e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c7de0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cc6bc
push edi
call fcn.004c9cb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4cc6a0
push eax
call fcn.004c7950
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c7960
lea eax, [ebp - 0xa0]
push 0x4cc69c
push eax
call fcn.004c7960
push dword [esi + 0x4ce37c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c7960
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cc674
push eax
call fcn.004c9c24
add esp, 0x2c
pop edi
jmp 0x4c70c1
lea eax, [ebp + 8]
lea esi, [esi + 0x4ce37c]
push 0
push eax
push dword [esi]
call fcn.004c7de0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Get windows directory from kuser_shared_data
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x448
call fcn.00401190
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov word [esp + 0x44], ax
lea eax, [esp + 0x2c]
push eax
push 0x1e
push 0x4b2b20
call fcn.00403a30
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], al
lea eax, [esp + 0xc]
push eax
push 0x19
push 0x4b2b8c
call fcn.00403a30
lea eax, [esp + 0x44]
push 0
push eax
call fcn.00401aa0
add esp, 0x20
test eax, eax
je 0x401182
push esi
mov esi, dword [eax + 0x18]
push edi
call fcn.00401190
test esi, esi
je 0x4010bb
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4010bb
mov ecx, dword [eax + esi + 0x7c]
test ecx, ecx
je 0x4010bb
mov eax, dword [eax + esi + 0x78]
test eax, eax
je 0x4010bb
lea edx, [esp + 8]
push edx
push ecx
lea edx, [eax + esi]
mov ecx, esi
call fcn.004035a0
add esp, 8
mov edi, eax
test edi, edi
jne 0x4010da
mov eax, dword [0x7fbc90]
test eax, eax
je 0x401180
lea ecx, [esp + 8]
push ecx
push esi
call eax
mov edi, eax
test edi, edi
je 0x401180
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x20]
push eax
push 0x18
push 0x4b2b54
call fcn.00403a30
push 0x400
lea eax, [esp + 0x60]
push 0
push eax
call fcn.004018d0
mov ecx, 0x7ffe0030
add esp, 0x18
xor edx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401120
sub ecx, esi
sar ecx, 1
je 0x401180
add ecx, 0xb
cmp ecx, 0x200
ja 0x401180
xor eax, eax
test ecx, ecx
je 0x40115a
movzx esi, word [edx + edx + 0x7ffe0030]
test si, si
je 0x40115a
mov word [esp + edx*2 + 0x50], si
inc eax
inc edx
cmp eax, ecx
jb 0x401142
xor eax, eax
test ecx, ecx
je 0x401179
lea edx, [esp + edx*2 + 0x50]
movzx esi, word [esp + eax*2 + 0x20]
test si, si
je 0x401179
mov word [edx], si
inc eax
add edx, 2
cmp eax, ecx
jb 0x401164
lea eax, [esp + 0x50]
push eax
call edi
pop edi
pop esi
add esp, 0x448
ret
Function at 0x401550
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
sub esp, 0x20c
push ebx
push ebp
mov ebp, dword [0x7fbc98]
push esi
push edi
mov edi, ecx
test ebp, ebp
je 0x40167a
cmp dword [0x7fbc9c], 0
jne 0x401665
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov word [esp + 0x18], ax
mov byte [esp + 0x1a], al
lea eax, [esp + 0x10]
push eax
push 0xf
push 0x4b2bbc
call fcn.00403a30
push 0x200
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.004018d0
mov edx, 0x7ffe0030
add esp, 0x18
xor ecx, ecx
lea esi, [edx + 2]
lea esp, [esp]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4015c0
sub edx, esi
sar edx, 1
je 0x40167a
mov esi, edi
lea ebx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x4015e0
sub esi, ebx
add edx, 0xc
add edx, esi
cmp edx, 0x200
ja 0x40167a
xor eax, eax
test edx, edx
je 0x401617
movzx ebx, word [eax + eax + 0x7ffe0030]
test bx, bx
je 0x401617
mov byte [esp + eax + 0x1c], bl
inc ecx
inc eax
cmp eax, edx
jb 0x401600
xor eax, eax
test edx, edx
je 0x401632
lea ecx, [ecx]
mov bl, byte [esp + eax + 0x10]
test bl, bl
je 0x401632
mov byte [esp + ecx + 0x1c], bl
inc eax
inc ecx
cmp eax, edx
jb 0x401620
xor eax, eax
test edx, edx
je 0x40164f
lea ecx, [esp + ecx + 0x1c]
lea esp, [esp]
mov bl, byte [eax + edi]
test bl, bl
je 0x40164f
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, edx
jb 0x401640
push 8
push 0
lea eax, [esp + 0x24]
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push 0x800
push 0
push edi
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret