joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40411d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x404128
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x4041da
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x416418]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x416418]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x416418]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x416418]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x416418]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x416418]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x416418]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x416418]
inc ecx
sub edi, 8
dec esi
jne 0x40413f
pop ebx
test edi, edi
je 0x4041f3
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x416418]
inc ecx
dec edi
jne 0x4041de
pop esi
not eax
pop edi
ret

Function at 0x404826
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x404856
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x404851
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x40487e
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x404867
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00406920
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

Function at 0x405379
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push edi
cmp dword [esi], ebx
jne 0x4053db
cmp dword [esi + 4], 0xffffffff
jne 0x4053db
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x416a10
push edi
call fcn.00405f70
push 0x1c
mov dword [ebp - 4], ebx
call fcn.004068af
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0xc]
add esp, 0xc
push eax
mov byte [eax], bl
mov byte [eax + 1], 1
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ebx
mov dword [eax + 0xc], ebx
call fcn.00404a96
mov dword [esi], eax
pop ecx
xor eax, eax
jmp 0x4053e0
mov eax, 0x1000000
pop edi
pop ebx
leave
ret 8
Function at 0x4057cb
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x419054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
push ebx
mov ebx, dword [ebp + 8]
test cl, cl
je 0x405863
push esi
push edi
mov edi, eax
mov edx, eax
cmp cl, 0x2f
je 0x4057fb
cmp cl, 0x5c
jne 0x4057fd
mov edi, edx
inc edx
mov cl, byte [edx]
test cl, cl
jne 0x4057f1
mov esi, edi
cmp edi, eax
je 0x405835
sub esi, eax
push esi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00406920
lea eax, [ebp - 0x108]
push eax
push ebx
mov byte [ebp + esi - 0x108], 0
call fcn.004057cb
add esp, 0x14
lea esi, [edi + 1]
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00405f60
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00405f70
add esp, 0x10
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00405ca5
leave
ret
Function at 0x405870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x424c
call fcn.00411d60
mov eax, dword [0x419054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
cmp dword [ebx + 4], 0xffffffff
push esi
push edi
mov dword [ebp - 0x4248], ebx
mov dword [ebp - 0x424c], eax
je 0x4058a8
mov edi, dword [ebx]
call fcn.004052ba
mov esi, dword [ebx]
mov edi, dword [ebp + 8]
or dword [ebx + 4], 0xffffffff
cmp edi, dword [esi + 4]
jl 0x4058c0
mov eax, 0x10000
jmp 0x405aa0
cmp edi, dword [esi + 0x10]
jge 0x4058d3
call fcn.00404e25
jmp 0x4058d3
mov esi, dword [ebx]
call fcn.00404e5a
mov eax, dword [ebx]
cmp dword [eax + 0x10], edi
jl 0x4058cc
push edi
mov edi, dword [ebp - 0x4248]
lea ebx, [ebp - 0x4240]
mov ecx, edi
call fcn.004053e6
test byte [ebp - 0x4138], 0x10
je 0x405913
lea eax, [ebp - 0x423c]
push eax
add edi, 0x138
push edi
call fcn.004057cb
pop ecx
pop ecx
xor eax, eax
jmp 0x405aa0
mov ebx, dword [ebp - 0x424c]
mov al, byte [ebx]
mov esi, ebx
mov ecx, ebx
test al, al
je 0x4059d3
cmp al, 0x2f
je 0x40592f
cmp al, 0x5c
jne 0x405932
lea esi, [ecx + 1]
inc ecx
mov al, byte [ecx]
test al, al
jne 0x405927
cmp esi, ebx
je 0x4059d3
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.00405f60
sub esi, ebx
pop ecx
mov byte [ebp + esi - 0x111], 0
cmp byte [ebp - 0x110], 0x2f
pop ecx
je 0x40597c
cmp byte [ebp - 0x110], 0x5c
je 0x40597c
cmp byte [ebp - 0x10f], 0x3a
mov byte [ebp - 0x4241], 0
jne 0x405983
mov byte [ebp - 0x4241], 1
lea eax, [ebp - 0x110]
push 0x416a18
push eax
call fcn.00405ed0
mov esi, eax
lea eax, [ebp - 0x110]
push 0x416a1c
push eax
call fcn.00405ed0
add esp, 0x10
test eax, eax
setne al
test esi, esi
setne cl
or al, cl
or al, byte [ebp - 0x4241]
jne 0x4059d3
lea eax, [ebp - 0x110]
push eax
lea eax, [edi + 0x138]
push eax
call fcn.004057cb
pop ecx
pop ecx
xor eax, eax
push eax
push dword [ebp - 0x4138]
push 2
push eax
push eax
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x4248], eax
cmp eax, 0xffffffff
jne 0x405a01
mov eax, 0x200
jmp 0x405aa0
mov ebx, dword [edi]
call fcn.0040506e
xor bl, bl
mov esi, 0x4000
jmp 0x405a34
je 0x405a4b
push 0
lea ecx, [ebp - 0x424c]
push ecx
push eax
lea eax, [ebp - 0x4110]
push eax
push dword [ebp - 0x4248]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x405a49
lea eax, [ebp - 0x4110]
push eax
mov eax, dword [edi]
mov ecx, esi
call fcn.0040515b
pop ecx
test eax, eax
jge 0x405a11
mov bl, 1
push dword [ebp - 0x4248]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x405a81
test bl, bl
jne 0x405a81
lea eax, [ebp - 0x4124]
push eax
lea eax, [ebp - 0x4134]
push eax
lea eax, [ebp - 0x412c]
push eax
push dword [ebp - 0x4248]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x4248]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
call fcn.004052ba
movzx eax, bl
neg eax
sbb eax, eax
and eax, 0x400
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405ca5
leave
ret 8

Function at 0x405ca5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x419054]
jne 0x405caf
repz ret
jmp fcn.004076a2
Function at 0x40fb97
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.00407c82
and dword [ebp - 4], 0
cmp dword [0x41aad4], 0
mov ebx, eax
jne 0x40fc48
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40fcf9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x414300
push edi
call esi
test eax, eax
je 0x40fcf9
push eax
call fcn.00407c10
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41aad4], eax
call esi
push eax
call fcn.00407c10
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41aad8], eax
call esi
push eax
call fcn.00407c10
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41aadc], eax
call esi
push eax
call fcn.00407c10
pop ecx
mov dword [0x41aae4], eax
test eax, eax
je 0x40fc48
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407c10
pop ecx
mov dword [0x41aae0], eax
mov eax, dword [0x41aae0]
cmp eax, ebx
je 0x40fca0
cmp dword [0x41aae4], ebx
je 0x40fca0
push eax
call fcn.00407c8b
push dword [0x41aae4]
mov esi, eax
call fcn.00407c8b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40fca0
test edi, edi
je 0x40fca0
call esi
test eax, eax
je 0x40fc97
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40fc97
test byte [ebp - 0xc], 1
jne 0x40fca0
or dword [ebp + 0x10], 0x200000
jmp 0x40fcd9
mov eax, dword [0x41aad8]
cmp eax, ebx
je 0x40fcd9
push eax
call fcn.00407c8b
pop ecx
test eax, eax
je 0x40fcd9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40fcd9
mov eax, dword [0x41aadc]
cmp eax, ebx
je 0x40fcd9
push eax
call fcn.00407c8b
pop ecx
test eax, eax
je 0x40fcd9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41aad4]
call fcn.00407c8b
pop ecx
test eax, eax
je 0x40fcf9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40fcfb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414db0
Capabilities:
Terminate process

Disassembly:
jg 0x414db2
add bh, bh
rcl dword [eax - 1], cl
adc eax, 0x4320c4
mov esi, dword [ebp - 0x20]
cmp esi, 2
je 0x414dca
or edi, 0x8000
mov ecx, dword [ebp - 0x24]
mov eax, ecx
shl eax, 8
mov edx, dword [ebp - 0x28]
add eax, edx
mov dword [0x4413a8], esi
mov dword [0x4413b0], eax
mov dword [0x4413b4], ecx
mov dword [0x4413b8], edx
mov dword [0x4413ac], edi
call fcn.00414cee
mov dword [ebp - 0x20], eax
xor ebx, ebx
inc ebx
push ebx
call fcn.0041b3e7
pop ecx
test eax, eax
jne 0x414e12
push 0x1c
call fcn.00414cca
pop ecx
call fcn.0041b208
test eax, eax
jne 0x414e23
push 0x10
call fcn.00414cca
pop ecx
call fcn.0041ae11
mov dword [ebp - 4], ebx
call fcn.0041abd1
test eax, eax
jge 0x414e3c
push 0x1b
call fcn.00415096
pop ecx
call fcn.0041ab32
mov dword [0x443234], eax
call fcn.0041a9d1
mov dword [0x44139c], eax
call fcn.0041a926
test eax, eax
jge 0x414e61
push 8
call fcn.00415096
pop ecx
call fcn.0041a700
test eax, eax
jge 0x414e72
push 9
call fcn.00415096
pop ecx
push ebx
call fcn.004151b2
pop ecx
test eax, eax
je 0x414e84
push eax
call fcn.00415096
pop ecx
call fcn.0041a6ba
test byte [ebp - 0x44], bl
je 0x414e94
movzx ecx, word [ebp - 0x40]
jmp 0x414e97
push 0xa
pop ecx
push ecx
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x2b673813
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x238855e0
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2d5851fa
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x14cb3ce1
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x71401ac9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
push 0x71401b60
call fcn.7140130c
lea eax, [ebp - 0x1c]
push eax
push 0x714014c4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x71401b21
push 4
pop esi
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
push 0x71401b54
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x7141bb26
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x714bf488], edi
jge 0x71401b46
mov dword [0x714bf488], edi
mov dword [ebp - 4], edi
call fcn.71401b81
test eax, eax
jne 0x7141bb4e
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x714bf488]
call fcn.71401351
ret
cmp dword [ebp - 0x24], esi
jne 0x71401b18
cmp dword [ebp - 0x28], edi
je 0x71401b18
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x714bf488], edi
xor eax, eax
jmp 0x71401b4b
mov dword [0x714bf488], 1
jmp 0x71401b3f

Function at 0x71402339
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x714014c4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x7140238a
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
je 0x7141bb79
xor eax, eax
leave
ret
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x7140238a
xor eax, eax
inc eax
leave
ret
Function at 0x714cc294
Capabilities:
Encode data using xor

Disassembly:
call 0x714cc20d
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x714cc23d
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x714cc259
xor edx, 0
jmp 0x714cc264
xor edx, edx
jmp 0x714cc27b
jmp 0x714cc287
xor eax, eax
push 0x8427d7c0
call 0x714cc294
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x714cc2d0
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x714cc2a9
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x714cc2e7
add eax, 0
jno 0x714cc2ec
add esi, 0
ret 0x10

Function at 0x714cd055
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x714cd077
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x714cd219
cmp edi, dword [ebp + 0x10]
jb 0x714cd219
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.714ccb41
inc edi
jmp 0x714cd100
jmp 0x714cd10d
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.714ccb41
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.714ccb41
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x714cd161
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x714cd145
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.714cd18f
add dword [eax], 0x39
jle 0x714cd16b
sub al, 0xf5
mov ch, al
call fcn.714cd1a4
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x714cee7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x714cee92
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x714ceea3
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.714ceee4
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x714d1250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x714d1199
add ebx, 0
push ecx
call 0x714d11ae
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x7152d371
sub ebx, dword [0x7154cbb0]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x7154cba0
call fcn.714ccc78
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.714cc186
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x714d130c
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x714d130c
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x714d12c3
mov eax, 1
lock xchg dword [0x7154cbac], eax
push 0x3dd1fc71
call 0x714d1250
push esi
add esp, 8
cmp eax, 0
jne 0x714d1239
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x714d125f
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x714d1274
cmp ecx, edx
cmp eax, 0
je 0x714d1299
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x714d1283
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.714d12b2
dec eax
loope 0x714d12b5
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x7154cbac], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x714d12e9
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x714d12fe
jmp 0x714d1309
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x714d11f7
Function at 0x714d8371
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x714d8647
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x71539824
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x715307ea
push 0xffffffffffffffff
call fcn.714cf571
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x714d83db
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.714d83f3
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x714d863b
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x714d860f
Function at 0x714e7e41
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x714e7e63
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x714e7e63
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x714e7e63
ret
cmp word [ebx + 4], 0x14c
jne 0x714e7e63
test word [ebx + 0x16], 2
je 0x714e7e63
test word [ebx + 0x16], 0x100
je 0x714e7e63
cmp word [ebx + 0x18], 0x10b
jne 0x714e7e63
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x714e7e63
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x714e7eef
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x714e7e83
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.714cedce
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x714e7e63
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x714e7eef
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x714e7e63
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x714e7e63
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x714e7e63
ret
cmp word [ebx + 4], 0x14c
jne 0x714e7e63
test word [ebx + 0x16], 2
je 0x714e7e63
test word [ebx + 0x16], 0x100
je 0x714e7e63
cmp word [ebx + 0x18], 0x10b
jne 0x714e7e63
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x714e7e63
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x714e7eef
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x714e7e83
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.714cedce
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x714e7e63
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8