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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push esi
mov dword [eax + 0x34], 0
lea esi, [eax + 0x60]
mov word [eax + 0x1e], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x468], 0xffffffff
mov dword [eax + 0x46c], 0xffffffff
mov dword [eax + 0x30], 0x20
mov byte [eax + 0x1d], 1
mov dword [eax + 0x48], 4
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x4e6396
pop esi
pop ebp
ret

Function at 0x4e81a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.004c1d2c
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x4e81cb
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e9e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4e9fc1
cmp dword [esi + 0x20], 0
je 0x4e9fc1
cmp dword [esi + 0x24], 0
je 0x4e9fc1
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x4e9fc1
cmp dword [edi], esi
jne 0x4e9fc1
mov eax, dword [edi + 4]
cmp eax, 0x2a
je 0x4e9e98
cmp eax, 0x39
je 0x4e9e98
cmp eax, 0x45
je 0x4e9e98
cmp eax, 0x49
je 0x4e9e98
cmp eax, 0x5b
je 0x4e9e98
cmp eax, 0x67
je 0x4e9e98
cmp eax, 0x71
je 0x4e9e98
cmp eax, 0x29a
jne 0x4e9fc1
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov eax, dword [edi + 8]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x14], 0
test eax, eax
jns 0x4e9ecd
neg eax
mov dword [edi + 0x18], eax
cmp eax, 2
jne 0x4e9ed7
lea ecx, [eax + 0x37]
jmp 0x4e9ee6
test eax, eax
mov ecx, 0x71
mov edx, 0x2a
cmovne ecx, edx
mov dword [edi + 4], ecx
push 0
push 0
push 0
cmp eax, 2
jne 0x4e9efb
call fcn.004aa990
jmp 0x4e9f00
call fcn.004aa700
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [edi + 0x28], 0
push edi
call fcn.004eaf00
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.004b23a0
mov eax, dword [esi + 0x84]
add esp, 0x10
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x5281a2]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x5281a0]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x5281a4]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x5281a6]
pop edi
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
pop ebp
ret
pop edi
mov eax, 0xfffffffe
pop esi
pop ebp
ret

Function at 0x4ec4f0
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x4058e4
pop dword [ebp - 0x24]
mov eax, 0x4058e4
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xe71084b0
add dword [ebp - 0x34], 0x6741c09b
mov dword [ebp - 0x30], 0x2ef30e40
add dword [ebp - 0x30], 0x3403e05
mov dword [ebp - 0x2c], 0xa85f1e15
sub dword [ebp - 0x2c], 0x5c12d9e7
mov dword [ebp - 0x28], 0xf8d1d4eb
add dword [ebp - 0x28], 0x72e2b15
lea eax, [ebp - 0x34]
push eax
mov eax, 0x7a75ea2
sub eax, 0x766dd9e
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xd8e0f532
sub dword [ebp - 0x34], 0x646e8bdc
mov dword [ebp - 0x30], 0xb77f61b2
add dword [ebp - 0x30], 0x89ecffc3
mov dword [ebp - 0x2c], 0xc65178c2
add dword [ebp - 0x2c], 0x9d1df3aa
mov dword [ebp - 0x28], 0xd6e643a8
sub dword [ebp - 0x28], 0xd6e643a8
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x36d54
push 0
call eax
mov ecx, 0xdf5996f
add ecx, 0xf20aae09
xor esi, esi
add esi, eax
mov edx, 0xd0724e71
sub edx, 0xd02d4a71
add edx, dword [ebp - 0x24]
mov ebx, 0x130c4966
add ebx, 0xbebf7c16
sub dword [ebp - 8], 0x87c62713
mov edi, dword [edx]
sub dword [ebp - 0x20], 0x200301a2
add edi, ebx
add dword [ebp - 0xc], ebx
mov dword [esi], edi
xor dword [ebp - 0x20], 0x4dc5476b
add esi, 0xf6ba45f1
add esi, 0x945ba13
add edx, 0xf0687b5
sub edx, 0xf0687b1
loop 0x4059fe
add eax, 0x110b3
xor ebx, ebx
add ebx, eax
add eax, 0xdabdb2f2
sub eax, 0xdabdb2ed
mov ecx, 0xf5b10dc3
add ecx, 0xa8ef23d
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x405ba0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42fa50
push esi
call fcn.004060e4
push esi
call fcn.00405b43
mov edi, eax
test edi, edi
jne 0x405bc1
xor eax, eax
jmp 0x405c19
push edi
call fcn.00406378
test byte [0x434ef8], 0x80
je 0x405bde
mov ax, word [edi]
test ax, ax
je 0x405bbd
cmp ax, 0x5c
je 0x405bbd
sub edi, esi
sar edi, 1
jmp 0x405bf8
call fcn.00406427
test eax, eax
je 0x405bf2
test byte [eax], 0x10
je 0x405bbd
push esi
call fcn.00405ae4
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405be4
call fcn.00405a98
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405c94
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405cb3
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405cb9
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
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
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x23645dbc
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4f4f10
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x43f15d
Capabilities:
Set environment variable

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

Function at 0x43f168
Capabilities:
Set environment variable

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

Function at 0x446d4c
Capabilities:
Create thread
Print debug messages

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

Function at 0x451e64
Capabilities:
Read file on windows

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

Function at 0x451e6f
Capabilities:
Read file on windows

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

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x7995582c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x32b825cd
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4f884fec
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4f88d064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7c
pop ebx
push ebx
lea eax, [ebp - 0x80]
mov edi, edx
push 0
push eax
mov esi, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x104], ebx
mov edx, ebx
lea ecx, [ebp - 0xfc]
push esi
call fcn.4f8837a5
test eax, eax
js 0x4f8850c4
push 0x4f881400
lea ecx, [ebp - 0xfc]
call fcn.4f884e06
test eax, eax
js 0x4f8850c4
lea eax, [ebp - 0x100]
xor ebx, ebx
push eax
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x100], ebx
call fcn.4f889f77
test eax, eax
jne 0x4f8850c4
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x100]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x100]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4f8850c4
mov al, byte [ebp - 0x80]
test al, al
je 0x4f8850c4
lea edx, [ebp - 0x80]
mov ecx, edx
inc ecx
test al, al
je 0x4f8850b5
cmp al, 0x5c
je 0x4f8850ad
cmp al, 0x3a
jne 0x4f8850af
mov edx, ecx
mov al, byte [ecx]
test al, al
jne 0x4f8850a0
push edx
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov word [edi], ax
xor eax, eax
inc eax
jmp 0x4f8850c6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4f88bbb0
leave
ret

Function at 0x4f8873f2
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x4f88d064]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
mov edx, 0x104
push ebx
push esi
push edi
push ecx
push ecx
xor edi, edi
mov dword [esp + 0x1c], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.4f8866f9
push 0x4f881758
lea ecx, [esp + 0x1c]
call fcn.4f88661e
lea eax, [esp + 0x18]
push eax
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x4f887472
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4f8874a8
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc0
call fcn.4f8870f3
mov edi, eax
jmp 0x4f8874a8
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov ecx, esi
call fcn.4f8872dd
mov ebx, eax
test ebx, ebx
jns 0x4f88749a
push ebx
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc6
call fcn.4f8870d4
mov edi, ebx
jmp 0x4f8874a8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
test esi, esi
je 0x4f8874b2
push esi
call fcn.4f887173
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.4f88bbb0
mov esp, ebp
pop ebp
ret 8
Function at 0x4f8913b7
Capabilities:
Encode data using xor

Disassembly:
call 0x4f891330
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 0x4f891360
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 0x4f89137c
xor edx, 0
jmp 0x4f891387
xor edx, edx
jmp 0x4f89139e
jmp 0x4f8913aa
xor eax, eax
push 0x8427d7c0
call 0x4f8913b7
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x4f8913f3
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 0x4f8913cc
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 0x4f89140a
add eax, 0
jno 0x4f89140f
add esi, 0
ret 0x10

Function at 0x4f892178
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 0x4f89219a
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 0x4f89233c
cmp edi, dword [ebp + 0x10]
jb 0x4f89233c
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.4f891c64
inc edi
jmp 0x4f892223
jmp 0x4f892230
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.4f891c64
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.4f891c64
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 0x4f892284
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 0x4f892268
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.4f8922b2
add dword [eax], 0x39
jle 0x4f89228e
sub al, 0xf5
mov ch, al
call fcn.4f8922c7
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x4f893f9f
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 0x4f893fb5
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 0x4f893fc6
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.4f894007
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 0x4f896373
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 0x4f8962bc
add ebx, 0
push ecx
call 0x4f8962d1
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, 0x733660e1
sub ebx, dword [0x73385920]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x73385910
call fcn.4f891d9b
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.4f8912a9
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x4f89642f
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x4f89642f
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 0x4f8963e6
mov eax, 1
lock xchg dword [0x7338591c], eax
push 0x3dd1fc71
call 0x4f896373
push esi
add esp, 8
cmp eax, 0
jne 0x4f89635c
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x4f896382
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x4f896397
cmp ecx, edx
cmp eax, 0
je 0x4f8963bc
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 0x4f8963a6
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.4f8963d5
dec eax
loope 0x4f8963d8
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x7338591c], 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 0x4f89640c
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x4f896421
jmp 0x4f89642c
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x4f89631a
Function at 0x4f89d494
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 0x4f89d76a
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73372594
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7336955a
push 0xffffffffffffffff
call fcn.4f894694
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 0x4f89d4fe
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.4f89d516
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 0x4f89d75e
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4f89d732
Function at 0x4f8acf64
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 0x4f8acf86
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4f8acf86
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4f8acf86
ret
cmp word [ebx + 4], 0x14c
jne 0x4f8acf86
test word [ebx + 0x16], 2
je 0x4f8acf86
test word [ebx + 0x16], 0x100
je 0x4f8acf86
cmp word [ebx + 0x18], 0x10b
jne 0x4f8acf86
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4f8acf86
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4f8ad012
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4f8acfa6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.4f893ef1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4f8acf86
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 0x4f8ad012
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 0x4f8acf86
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4f8acf86
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4f8acf86
ret
cmp word [ebx + 4], 0x14c
jne 0x4f8acf86
test word [ebx + 0x16], 2
je 0x4f8acf86
test word [ebx + 0x16], 0x100
je 0x4f8acf86
cmp word [ebx + 0x18], 0x10b
jne 0x4f8acf86
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4f8acf86
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4f8ad012
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4f8acfa6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.4f893ef1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4f8acf86
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 0x4f8ad0c9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4f8ad122
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4f8ad0c9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4f8ad0d8
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x4fcb2d7b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x4f8ad129
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.4f893f9f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4f8ad1c8
add edi, 4
add eax, 2
dec ecx
jne 0x4f8ad10e
call 0x4f8ad175
loope 0x4f8ad16b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4f8ad1c5
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4f8ad1d6
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4f8ad189
cmp eax, ecx
ja 0x4f8ad189
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4f8ad213
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4f8ad209
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.4f89447e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]