joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401cc6
Capabilities:
Clear file content
Get common file path

Disassembly:
sub esp, 0x400
push esi
xor esi, esi
cmp dword [0x245826c], 0x400
push edi
jne 0x401d19
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
call fcn.00404241
push esi
call fcn.004049c8
push esi
push esi
call fcn.00404813
push esi
call fcn.00404a7e
push esi
push esi
call fcn.0040427b
add esp, 0x1c
xor edi, edi
cmp edi, 0x16c76
jge 0x401d2b
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e5c52
jg 0x401d51
inc edi
cmp edi, 0x3003f
jl 0x401d1b
mov eax, dword [0x43ab7c]
mov dword [0x245826c], eax
call fcn.004019f0
mov edi, 0x3078f
cmp dword [0x245826c], 0x51f
jne 0x401d7d
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x401d65
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x402850
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x43286d
call fcn.004326e8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00403526
xor edi, edi
push 4
mov dword [ebp - 4], edi
call fcn.00404a8d
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x402898
call fcn.004032da
mov dword [ebx], eax
call fcn.00403099
mov ecx, eax
call fcn.004011a5
mov eax, ebx
jmp 0x40289a
xor eax, eax
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], ecx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x34], ecx
mov dword [eax], edi
mov eax, dword [esi + 0x24]
mov dword [eax], edi
mov eax, dword [esi + 0x34]
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov eax, dword [esi + 0x30]
mov dword [eax], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
pop edi
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x405115
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43999c]
jne 0x40511f
repz ret
jmp fcn.0040ba6c
Function at 0x10018fd0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001900f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001900f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001900f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001900f
cmp dword [ecx + 0x74], 0xe
jbe 0x1001900f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001bccd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001bd6a
push ebx
push esi
call fcn.1001bc96
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001bc2a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001bd17
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001bd69
push edi
push eax
call fcn.10019d0d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001bd37
call fcn.1001a772
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001bd68
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001bc2a
add esp, 0x20
test eax, eax
jne 0x1001bd56
push edi
call fcn.1001a772
jmp 0x1001bd5e
push ebx
call fcn.1001a772
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001bfd7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10023d10
push 0x10023d08
push str.FlsAlloc
push 0x1f
call fcn.1001bef3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001c00b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002214c]
call esi
jmp 0x1001c011
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001c055
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10023d20
push 0x10023d18
push str.FlsGetValue
push 0x21
call fcn.1001bef3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001c08c
push dword [ebp + 8]
mov ecx, esi
call dword [0x1002214c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001c094
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10023d28
push 0x10023d20
push str.FlsSetValue
push 0x22
call fcn.1001bef3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001c0ce
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1002214c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10021680
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100216ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100216ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x40b85ed8
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5bf237ca
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x62ef90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x517015
lea edi, [esi - 0x116015]
push edi
or ebp, 0xffffffff
jmp 0x62efb2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x62efb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62efa8
mov eax, 1
add ebx, ebx
jne 0x62efcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x62efdc
jne 0x62efec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x62efec
dec eax
add ebx, ebx
jne 0x62efe8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x62efc0
xor ecx, ecx
sub eax, 3
jb 0x62f004
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x62f076
sar eax, 1
mov ebp, eax
jmp 0x62f00f
add ebx, ebx
jne 0x62f00f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x62f01c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x62f040
inc ecx
add ebx, ebx
jne 0x62f02c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x62f021
jne 0x62f03d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x62f021
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x62f060
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x62f051
jmp 0x62efae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x62f060
add edi, ecx
jmp 0x62efae
pop esi
mov edi, esi
mov ecx, 0x18c4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x62f07e
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x62f083
lea edi, [esi + 0x22c000]
mov eax, dword [edi]
or eax, eax
je 0x62f0f4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22fde4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22fe20]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x62f0a9
mov ecx, edi
jns 0x62f0d8
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x22fe24]
or eax, eax
je 0x62f0ee
mov dword [ebx], eax
add ebx, 4
jmp 0x62f0c6
call dword [esi + 0x22fe28]
popal
jmp 0x4016a0
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x6611e3e
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, str.O_M
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x200f52d5
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1004d860
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x10059bb4]
cmp dword [eax + 0x30], 0
je 0x1004d90a
cmp dword [ebx + 0x94], 0
jne 0x1004d904
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x1004d7f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x1004d904
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x1004d8ca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x1004d904
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.10016be4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x1004d8d9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x1004e46c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x1004e4a1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.10004070
jmp 0x1004e4ae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.10003fd4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x1004f510
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x1004f551
mov eax, esi
call fcn.10035ecc
test al, al
je 0x1004f551
mov eax, dword [ebx + 0x84]
call fcn.10035c6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x1004f551
push 0
mov eax, dword [ebx + 0x84]
call fcn.10035c6c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0xcad2d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x783000]
push edi
or ebp, 0xffffffff
jmp 0xcad2f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xcad2f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcad2e8
mov eax, 1
add ebx, ebx
jne 0xcad30b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xcad31c
jne 0xcad33b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcad33b
dec eax
add ebx, ebx
jne 0xcad328
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xcad300
add ebx, ebx
jne 0xcad337
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xcad38d
xor ecx, ecx
sub eax, 3
jb 0xcad353
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xcad3c2
sar eax, 1
mov ebp, eax
jmp 0xcad35e
add ebx, ebx
jne 0xcad35e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcad32c
inc ecx
add ebx, ebx
jne 0xcad36c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xcad32c
add ebx, ebx
jne 0xcad379
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xcad36e
jne 0xcad38a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xcad36e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xcad3ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xcad39e
jmp 0xcad2ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xcad3ac
add edi, ecx
jmp 0xcad2ee
pop esi
mov edi, esi
mov ecx, 0x21df3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xcad3ca
cmp byte [edi], 0x8e
jne 0xcad3ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xcad3cf
lea edi, [esi + 0x87f000]
mov eax, dword [edi]
or eax, eax
je 0xcad43e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc2ab74]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc2aca0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xcad3fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc2aca4]
or eax, eax
je 0xcad438
mov dword [ebx], eax
add ebx, 4
jmp 0xcad419
call dword [esi + 0xc2acac]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xcad46f
cmp al, 0xef
ja 0xcad462
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xcad444
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xcad451
mov ebp, dword [esi + 0xc2aca8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xcad4a3
sub esp, 0xffffff80
jmp 0x88ba9c
Function at 0x10547058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x105471a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1054707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1054706a
add dl, dl
jne 0x10547089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105470dc
xor eax, eax
add dl, dl
jne 0x10547096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1054717d
add dl, dl
jne 0x105470a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105470b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105470bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105470c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105470d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10547075
mov eax, 1
add dl, dl
jne 0x105470ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105470f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105470e1
sub eax, ebx
mov ebx, 1
jne 0x10547128
mov ecx, 1
add dl, dl
jne 0x1054710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10547119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10547105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10547075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1054713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1054714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10547136
cmp eax, 0x7d00
jae 0x1054716d
cmp eax, 0x500
jb 0x10547168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10547075
cmp eax, 0x7f
ja 0x10547170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10547075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1054719e
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 0x10547075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401878
cmp byte [esi + ebx - 1], 0xa
je 0x40184c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x407084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x402260
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x487080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push ebx
mov bl, byte [ebp + 0xc]
push esi
mov esi, ecx
mov byte [esi], al
mov byte [esi + 1], bl
cmp bl, al
jbe 0x48709b
mov byte [esi + 1], al
mov bl, al
xor edx, edx
movzx eax, al
movzx ecx, bl
div ecx
mov dl, 8
mov cl, 0x80
dec al
jmp 0x4870b0
test al, cl
jne 0x4870ba
dec dl
shr cl, 1
jne 0x4870b0
mov byte [esi + 2], dl
dec bl
mov cl, 8
mov al, 0x80
test bl, al
jne 0x4870cd
dec cl
shr al, 1
jne 0x4870c3
mov al, 8
mov byte [esi + 4], cl
sub al, cl
or bl, 0xff
sub al, dl
movzx ecx, cl
mov byte [esi + 6], al
movzx eax, dl
or dl, 0xff
add ecx, eax
shl dl, cl
mov ecx, eax
shl bl, cl
mov al, bl
mov byte [esi + 7], dl
not bl
xor al, dl
mov byte [esi + 3], bl
mov byte [esi + 5], al
pop esi
pop ebx
pop ebp
ret 8

Function at 0x56be6a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x56bea9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x56bea9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x56bea9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x56bea9
cmp dword [ecx + 0x74], 0xe
jbe 0x56bea9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x58531a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00585190

Function at 0x58f6a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x58f6cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x58f6cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x421480
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5df6d7
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x134]
call fcn.00418130
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00418130
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x134]
call fcn.0041a2c0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.0041a2c0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x134]
call fcn.0041abf0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x1bc]
call fcn.0041abf0
mov byte [ebp - 0x1bd], 0
lea ecx, [ebp - 0xac]
call fcn.0044dc80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.0044dd00
movzx edx, al
test edx, edx
je 0x42155e
lea ecx, [ebp - 0x1bc]
call fcn.00419540
push eax
lea ecx, [ebp - 0x134]
call fcn.00419540
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
jmp 0x42163c
lea ecx, [ebp - 0x134]
call fcn.004182c0
test eax, eax
jg 0x421580
lea ecx, [ebp - 0x1bc]
call fcn.004182c0
test eax, eax
jle 0x421613
lea ecx, [ebp - 0x24c]
call fcn.00418130
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00418130
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.004216b0
add esp, 8
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.004216b0
add esp, 8
lea ecx, [ebp - 0x2d4]
call fcn.00418bd0
push eax
lea ecx, [ebp - 0x24c]
call fcn.00418bd0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dl
mov byte [ebp - 0x1bd], dl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00418240
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00418240
jmp 0x42163c
lea ecx, [ebp - 0x1bc]
call fcn.00418bd0
push eax
lea ecx, [ebp - 0x134]
call fcn.00418bd0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
movzx ecx, byte [ebp - 0x1bd]
test ecx, ecx
jne 0x421655
cmp dword [ebp + 0x10], 0
je 0x421655
mov ecx, dword [ebp + 0x10]
call fcn.00435790
mov dl, byte [ebp - 0x1bd]
mov byte [ebp - 0x2d5], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.0044dce0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00418240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00418240
mov al, byte [ebp - 0x2d5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bba53
mov esp, ebp
pop ebp
ret