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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x466d76
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x66a3a0]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x466d76
test cl, 0x48
je 0x466c0d
cmp byte [eax + 5], 0xa
je 0x466c0d
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x466c5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x466c47
call fcn.0045d6a2
mov dword [eax], 9
call fcn.0045d6ab
mov dword [eax], esi
jmp 0x466c57
cmp eax, 0x6d
je 0x466d76
push eax
call fcn.0045d6b4
pop ecx
or eax, 0xffffffff
jmp 0x466d78
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x466d71
test eax, eax
je 0x466c86
cmp byte [ebx], 0xa
jne 0x466c86
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x466c8f
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x466d6b
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x466d5b
cmp al, 0xd
je 0x466cc1
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x466d4d
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x466cdb
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x466cd6
add dword [ebp + 0x10], 2
jmp 0x466d2f
mov dword [ebp + 0x10], eax
jmp 0x466d49
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x466d03
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x466d49
cmp dword [ebp - 0xc], 0
je 0x466d49
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x466d24
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x466d2f
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x466d4c
cmp ebx, dword [ebp + 0xc]
jne 0x466d34
cmp byte [ebp - 1], 0xa
jne 0x466d34
mov byte [ebx], 0xa
jmp 0x466d4c
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0046a756
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x466d4d
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x466ca5
jmp 0x466d6b
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x466d6b
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x466d78
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x468999
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x66a278], ebx
push esi
push edi
jne 0x468a19
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x468a54
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x642aec
push edi
call esi
test eax, eax
mov dword [0x66a278], eax
je 0x468a54
push 0x642adc
push edi
call esi
push 0x642ac8
push edi
mov dword [0x66a27c], eax
call esi
cmp dword [0x669ea0], 2
mov dword [0x66a280], eax
jne 0x468a19
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x66a288], eax
je 0x468a19
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x66a284], eax
mov eax, dword [0x66a284]
test eax, eax
je 0x468a5e
call eax
test eax, eax
je 0x468a45
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x66a288]
test eax, eax
je 0x468a45
test byte [ebp - 8], 1
jne 0x468a5e
cmp dword [0x669eac], 4
jb 0x468a58
or byte [ebp + 0x12], 0x20
jmp 0x468a7d
xor eax, eax
jmp 0x468a8d
or byte [ebp + 0x12], 4
jmp 0x468a7d
mov eax, dword [0x66a27c]
test eax, eax
je 0x468a7d
call eax
mov ebx, eax
test ebx, ebx
je 0x468a7d
mov eax, dword [0x66a280]
test eax, eax
je 0x468a7d
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x66a278]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x468b71
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x468b9f
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x468ba6
cmp ebx, dword [eax + 4]
jae 0x468ba6
xor eax, eax
jmp 0x468d96
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x468bb7
xor eax, eax
inc eax
jmp 0x468d95
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x468bcd
cmp ecx, edx
jae 0x468d12
cmp dword [eax + 4], 0
je 0x468bd6
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x468bbe
cmp dword [ebp + 8], 0
je 0x468bf8
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x468d12
cmp eax, esi
jae 0x468d12
mov eax, dword [0x66a290]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x468c1d
cmp dword [esi*4 + 0x66a298], edi
je 0x468d16
inc esi
cmp esi, eax
jl 0x468c0b
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x468d92
cmp dword [ebp - 8], 0x1000000
jne 0x468d92
test byte [ebp - 0xc], 0xcc
je 0x468c9b
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x468d92
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x468d92
cmp word [eax + 0x18], 0x10b
jne 0x468d92
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x468d92
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x468c9b
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x468c9b
test byte [ecx + 0x27], 0x80
jne 0x468d12
push 1
push 0x66a2d8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x468baf
mov ecx, dword [0x66a290]
test ecx, ecx
mov edx, ecx
jle 0x468ccf
lea eax, [ecx*4 + 0x66a294]
cmp dword [eax], edi
je 0x468ccf
dec edx
sub eax, 4
test edx, edx
jg 0x468cc3
test edx, edx
jne 0x468d00
push 0xf
pop ebx
cmp ecx, ebx
jg 0x468cdc
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x468cf4
lea eax, [edx*4 + 0x66a298]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x468ce2
cmp ecx, 0x10
jge 0x468d00
inc ecx
mov dword [0x66a290], ecx
push 0
push 0x66a2d8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x468baf
xor eax, eax
jmp 0x468d95
test esi, esi
jle 0x468baf
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x66a2d8
call ebx
test eax, eax
jne 0x468baf
cmp dword [esi*4 + 0x66a298], edi
je 0x468d6c
mov eax, dword [0x66a290]
lea esi, [eax - 1]
test esi, esi
jl 0x468d5a
cmp dword [esi*4 + 0x66a298], edi
je 0x468d56
dec esi
jns 0x468d4a
test esi, esi
jge 0x468d6a
cmp eax, 0x10
jge 0x468d65
inc eax
mov dword [0x66a290], eax
lea esi, [eax - 1]
jmp 0x468d6c
je 0x468d84
xor ecx, ecx
test esi, esi
jl 0x468d84
lea eax, [ecx*4 + 0x66a298]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x468d72
push 0
push 0x66a2d8
call ebx
jmp 0x468baf
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46f8a1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46f8d9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046d96f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046d947
jmp 0x46f8e5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x470f8f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x470fd1
call fcn.00476911
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x470fd1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x470fc8
xor eax, eax
jmp 0x470fd9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00470fdf
pop edi
pop esi
pop ebx
ret 4

Function at 0x476e41
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x476e6f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x476e8d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00476da7
jmp 0x476e8d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x476e8d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00476da7
test edi, edi
mov eax, edi
jne 0x476e77
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3677774b
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x209f7e77
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x259071c1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x77640d7b
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x5c50ac69
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5c50e0e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x5c50ae32
xor ebx, ebx
cmp dword [eax], ebx
je 0x5c50ae32
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x5c50ae32
cmp dword [eax], ebx
je 0x5c50ae32
mov eax, dword [esi + 8]
sub eax, ebx
je 0x5c50acce
sub eax, 1
jne 0x5c50acd5
push dword [esi + 0x20]
call fcn.5c50a4e6
push 0x5c5025b8
push esi
call fcn.5c51acac
pop ecx
pop ecx
jmp 0x5c50acd5
push 0x37
call fcn.5c50b278
push 1
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, eax
mov dword [ebp - 0x94], edi
cmp edi, 0xffffffff
jne 0x5c50acf9
mov eax, 0x88760361
jmp 0x5c50ae34
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x98], ebx
cmp dword [eax], ebx
jbe 0x5c50ae32
mov eax, dword [esi + 0x1c]
mov ecx, ebx
push 0
push 0
mov eax, dword [eax + 0xc]
push dword [eax + ecx*4]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x5c50acef
push edi
mov ecx, esi
call fcn.5c50b2c7
push 0
mov ecx, esi
call fcn.5c50b2c7
push 0
push 0
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x5c50acef
mov eax, dword [esi + 0x18]
mov ecx, ebx
shl ecx, 2
mov eax, dword [eax + 0xc]
add eax, ecx
xor ecx, ecx
push ecx
push 0x8000080
push 3
push ecx
push ecx
push 0x80000000
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x90], eax
cmp eax, 0xffffffff
je 0x5c50acef
and dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x88]
push 0
push ecx
push 0x80
lea ecx, [ebp - 0x84]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5c50ae08
mov ebx, dword [ebp - 0x90]
mov edi, dword [ebp - 0x8c]
cmp dword [ebp - 0x88], 0
je 0x5c50adf6
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push dword [ebp - 0x88]
call fcn.5c50b254
add edi, dword [ebp - 0x88]
lea eax, [ebp - 0x88]
push 0
push eax
push 0x80
lea eax, [ebp - 0x84]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x5c50adb3
mov ebx, dword [ebp - 0x98]
mov dword [ebp - 0x8c], edi
mov edi, dword [ebp - 0x94]
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, dword [ebp - 0x8c]
inc ebx
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x98], ebx
cmp ebx, dword [eax]
jb 0x5c50ad0a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5c50cb00
mov esp, ebp
pop ebp
ret
Function at 0x5c5151e6
Capabilities:
Encode data using xor

Disassembly:
call 0x5c51515f
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 0x5c51518f
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 0x5c5151ab
xor edx, 0
jmp 0x5c5151b6
xor edx, edx
jmp 0x5c5151cd
jmp 0x5c5151d9
xor eax, eax
push 0x8427d7c0
call 0x5c5151e6
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x5c515222
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 0x5c5151fb
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 0x5c515239
add eax, 0
jno 0x5c51523e
add esi, 0
ret 0x10

Function at 0x5c515fa7
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 0x5c515fc9
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 0x5c51616b
cmp edi, dword [ebp + 0x10]
jb 0x5c51616b
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.5c515a93
inc edi
jmp 0x5c516052
jmp 0x5c51605f
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.5c515a93
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.5c515a93
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 0x5c5160b3
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 0x5c516097
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.5c5160e1
add dword [eax], 0x39
jle 0x5c5160bd
sub al, 0xf5
mov ch, al
call fcn.5c5160f6
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x5c517dce
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 0x5c517de4
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 0x5c517df5
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.5c517e36
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 0x5c51a1a2
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 0x5c51a0eb
add ebx, 0
push ecx
call 0x5c51a100
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, 0x6cf3a1e7
sub ebx, dword [0x6cf59a26]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6cf59a16
call fcn.5c515bca
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.5c5150d8
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x5c51a25e
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x5c51a25e
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 0x5c51a215
mov eax, 1
lock xchg dword [0x6cf59a22], eax
push 0x3dd1fc71
call 0x5c51a1a2
push esi
add esp, 8
cmp eax, 0
jne 0x5c51a18b
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x5c51a1b1
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x5c51a1c6
cmp ecx, edx
cmp eax, 0
je 0x5c51a1eb
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 0x5c51a1d5
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.5c51a204
dec eax
loope 0x5c51a207
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6cf59a22], 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 0x5c51a23b
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x5c51a250
jmp 0x5c51a25b
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x5c51a149
Function at 0x5c5212c3
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 0x5c521599
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6cf4669a
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6cf3d660
push 0xffffffffffffffff
call fcn.5c5184c3
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 0x5c52132d
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.5c521345
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 0x5c52158d
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x5c521561
Function at 0x5c530d93
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 0x5c530db5
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x5c530db5
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x5c530db5
ret
cmp word [ebx + 4], 0x14c
jne 0x5c530db5
test word [ebx + 0x16], 2
je 0x5c530db5
test word [ebx + 0x16], 0x100
je 0x5c530db5
cmp word [ebx + 0x18], 0x10b
jne 0x5c530db5
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x5c530db5
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x5c530e41
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x5c530dd5
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.5c517d20
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x5c530db5
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 0x5c530e41
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 0x5c530db5
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x5c530db5
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x5c530db5
ret
cmp word [ebx + 4], 0x14c
jne 0x5c530db5
test word [ebx + 0x16], 2
je 0x5c530db5
test word [ebx + 0x16], 0x100
je 0x5c530db5
cmp word [ebx + 0x18], 0x10b
jne 0x5c530db5
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x5c530db5
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x5c530e41
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x5c530dd5
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.5c517d20
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x5c530db5
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