joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476f60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x595cb8]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x4000
push esi
mov esi, edx
push edi
mov edi, ecx
test word [esi], ax
je 0x476f9a
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov eax, 0xbfff
and word [esi], ax
push 0x30
lea eax, [ebp - 0x154]
push 0
push eax
call fcn.004f9110
push 0x110
lea eax, [ebp - 0x120]
mov dword [ebp - 0x154], 0x30
push 0
push eax
call fcn.004f9110
add esp, 0x18
mov dword [ebp - 0x124], 0x114
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x476ffe
mov eax, dword [ebp - 0x120]
cmp eax, 5
jae 0x477008
cmp eax, 4
jne 0x476ffe
cmp dword [ebp - 0x11c], 0x5a
jae 0x477008
mov dword [ebp - 0x154], 0x2c
movzx ecx, word [esi]
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x144], edi
test ecx, 0x100
je 0x477032
or eax, 3
mov dword [ebp - 0x148], eax
test ecx, 0x200
je 0x477043
or eax, 8
mov dword [ebp - 0x148], eax
test ecx, 0x1000
je 0x477056
or eax, 0x1000
mov dword [ebp - 0x148], eax
test ecx, 0x2000
je 0x477116
push 0x30
lea eax, [ebp - 0x184]
push 0
push eax
call fcn.004f9110
push 0x110
lea eax, [ebp - 0x120]
mov dword [ebp - 0x184], 0x30
push 0
push eax
call fcn.004f9110
add esp, 0x18
mov dword [ebp - 0x124], 0x114
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4770c6
mov eax, dword [ebp - 0x120]
cmp eax, 5
jae 0x4770d0
cmp eax, 4
jne 0x4770c6
cmp dword [ebp - 0x11c], 0x5a
jae 0x4770d0
mov dword [ebp - 0x184], 0x2c
lea eax, [ebp - 0x184]
mov dword [ebp - 0x180], 0x10
push eax
push 0
push edi
push ebx
mov dword [ebp - 0x174], edi
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x477116
mov eax, dword [ebp - 0x17c]
or dword [ebp - 0x150], 0x10
and eax, 0xfffff7fb
or dword [ebp - 0x14c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x154]
push eax
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f4566
mov esp, ebp
pop ebp
ret
Function at 0x488670
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x48868c
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4886aa
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 0x18], 0
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x488796
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x488796
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x488796
mov edi, dword [ebp + 0xc]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 0x18], eax
test eax, eax
je 0x488796
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x488786
push edi
push ebx
push eax
call fcn.004f8b90
add esp, 0xc
mov dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0
push dword [esi + 0x18]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x48877d
mov ecx, dword [ebp + 0xc]
call fcn.00488570
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x48877d
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
test eax, eax
jne 0x488769
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x488776
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 0x18], 0
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
Function at 0x489660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a8e6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x595cb8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x48970c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x48970c
call fcn.00443670
mov esi, eax
jmp 0x4897fc
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x48972f
call fcn.00443670
jmp 0x4897ef
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x48974d
call fcn.00443670
jmp 0x4897ef
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x48976e
mov esi, 0x8007000e
jmp 0x4897f1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00494df0
jmp 0x489798
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x4897af
mov esi, 0x8007000e
jmp 0x4897f1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4897cf
call fcn.00443670
jmp 0x4897ef
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0048a530
mov esi, eax
test edi, edi
je 0x4897fc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x489820
lea ecx, [ebp - 0x418]
call fcn.00494f30
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f4566
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4948d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52bde8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x595cb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0x20019
push str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
push SysReAllocString
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0042b000
test eax, eax
je 0x494944
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x494a07
push eax
jmp 0x494a01
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x494959
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
xor ecx, ecx
mov byte [ebp - 4], 1
mov eax, 0x1fffff
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f45af
push 0x3ffffe
mov ebx, eax
push 0
push ebx
call fcn.004f9110
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x14], 0x3ffffe
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 0
push 0x56ba60
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4949e0
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x4949c7
cmp eax, 2
jne 0x4949e0
test ebx, ebx
je 0x494a21
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x494a1c
test al, 1
jne 0x4949e0
shr eax, 1
cmp word [ebx + eax*2 - 2], 0
je 0x494a21
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4949fc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x494a07
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [ebx], ax
push ebx
lea ecx, [ebp - 0x14]
call fcn.0041f910
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004259c0
test al, al
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
sete byte [ebp - 0xe]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x494a5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
cmp byte [ebp - 0xe], 0
je 0x494a77
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jmp 0x4949f2
mov byte [ebp - 0xd], 1
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jmp 0x4949f2

Function at 0x497c40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x497c67
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x497c56
pop edi
movzx eax, dl
pop esi
ret
Function at 0x497db0
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x10c
call fcn.004f5150
mov eax, dword [0x595cb8]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x497e4f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x497e4f
lea eax, [esp + 0x118]
push eax
push 0
push dword [esp + 0x11c]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.0041fe60
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004fff39
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004f4566
add esp, 0x10c
ret
lea eax, [esp + 0x118]
push eax
push 0
push dword [esp + 0x11c]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.0041fe60
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004fff39
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.00497c70
test eax, eax
jle 0x497ee3
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x497ef7
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004f4566
add esp, 0x10c
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.004f4566
add esp, 0x10c
ret
Function at 0x4aa480
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x4aa549
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x4aa4a1
cmp al, 0x6b
jne 0x4aa549
inc ecx
cmp al, 0x6b
jne 0x4aa50b
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x4aa4c2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x4aa4c2
cmp dl, 0xbb
jne 0x4aa4eb
inc eax
cmp eax, esi
jl 0x4aa4b0
sub esi, eax
test eax, eax
jne 0x4aa50e
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00497360
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.00497360
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x4aa537
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.00497360
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.004f8b90
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.00497360
add esp, 0x14
or eax, 0xffffffff
pop esi
ret

Function at 0x4b6010
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x10]
call fcn.004b6100
mov edi, eax
add esp, 8
test edi, edi
jne 0x4b60b6
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.00497360
push 0x551a2c
push esi
push 0x551a30
push dword [esp + 0x2c]
push str.fopen_
push 5
call fcn.004969a0
add esp, 0x2c
call fcn.004fc697
cmp dword [eax], 2
je 0x4b6096
call fcn.004fc697
cmp dword [eax], 6
je 0x4b6096
push 0xb8
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.00497360
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0xb6
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.00497360
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0x595214
call fcn.00495c10
mov esi, eax
add esp, 4
test esi, esi
jne 0x4b60d7
push edi
call fcn.005006a3
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0
push esi
call fcn.00495850
push edi
push 1
push 0x6a
push esi
call fcn.00495880
add esp, 0x18
mov eax, esi
pop edi
pop esi
ret
Function at 0x4b7a10
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x4b7afc
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
inc edi
nop word [eax + eax]
cmp esi, 3
jl 0x4b7a8d
movzx ecx, byte [edi - 1]
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x12
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], al
mov eax, ecx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 2], al
add edx, 3
and ecx, 0x3f
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
jmp 0x4b7ae1
movzx eax, byte [edi - 1]
shl eax, 0x10
cmp esi, 2
jne 0x4b7aa1
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], cl
cmp esi, 1
jne 0x4b7acb
lea eax, [esi + 0x3c]
jmp 0x4b7ad8
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 2], al
add edx, 3
mov byte [edx], 0x3d
sub esi, 3
add ebx, 4
add edi, 3
inc edx
test esi, esi
jg 0x4b7a30
pop edi
pop esi
mov eax, ebx
mov byte [edx], 0
pop ebx
ret
mov eax, dword [esp + 0xc]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
ret
Function at 0x4c64b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.004f5150
mov eax, dword [0x595cb8]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.004b9680
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.004b94e0
add esp, 0xc
test eax, eax
je 0x4c65b2
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004b91e0
add esp, 0xc
test eax, eax
je 0x4c65b2
lea eax, [esp + 0x20]
push eax
call fcn.004b9420
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x4c65d0
push edi
call fcn.0049d990
push ebx
push edi
mov dword [esp + 0x1c], eax
call fcn.004c7690
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4c65b2
push esi
call fcn.004c7d40
add esp, 4
test eax, eax
jle 0x4c65b2
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.004c7440
add esp, 0x18
test eax, eax
jle 0x4c65b2
push dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
push esi
call fcn.004c7c60
add esp, 0x14
test eax, eax
jle 0x4c65b2
mov ecx, dword [esp + 0x14]
mov ebx, 1
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
push esi
call fcn.004c7630
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004f4566
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x4c65e8
cmp dword [edi], edx
je 0x4c6612
inc eax
add ecx, 4
cmp eax, 4
jl 0x4c65d5
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.00497360
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004f4566
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4c6646
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.00497360
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004f4566
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x44]
push dword [esp + 0x28]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f4566
add esp, 0x6c
ret
Function at 0x4d3280
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x4d3292
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.004b4c10
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x4d3355
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x4d32e6
test esi, esi
jle 0x4d3334
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
nop word [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x4d32d0
jmp 0x4d3334
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x4d330a
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.004f9110
add esp, 0xc
test esi, esi
jle 0x4d3334
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x4d3320
push esi
push ebp
push ebp
push edi
call fcn.004b66b0
add esp, 0x10
pop ebx
test eax, eax
jne 0x4d3355
push esi
push ebp
call fcn.004a4000
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret

Function at 0x4d71f0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ecx, dword [edx + 4]
mov ebp, edx
push edi
cmp ecx, dword [ebx + 4]
mov edi, dword [esp + 0x10]
cmovge ebp, ebx
cmovge ebx, edx
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 8]
jg 0x4d7219
mov eax, edi
jmp 0x4d7223
push eax
push edi
call fcn.00498a10
add esp, 8
test eax, eax
jne 0x4d722b
pop edi
pop ebp
pop ebx
ret
xor eax, eax
cmp dword [ebp + 4], eax
jle 0x4d724a
push esi
mov ecx, dword [ebx]
mov edx, dword [ebp]
mov esi, dword [ecx + eax*4]
mov ecx, dword [edi]
xor esi, dword [edx + eax*4]
mov dword [ecx + eax*4], esi
inc eax
cmp eax, dword [ebp + 4]
jl 0x4d7233
pop esi
cmp eax, dword [ebx + 4]
jge 0x4d7260
nop
mov ecx, dword [ebx]
mov edx, dword [edi]
mov ecx, dword [ecx + eax*4]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [ebx + 4]
jl 0x4d7250
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
test ecx, ecx
jle 0x4d7283
mov edx, dword [edi]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x4d7280
dec ecx
test ecx, ecx
jg 0x4d7272
mov dword [edi + 4], ecx
cmp dword [edi + 4], 0
jne 0x4d7290
mov dword [edi + 0xc], 0
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x4e3140
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x4ebea0
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.004ec0a0
add esp, 0xc
test eax, eax
js 0x4ec090
push ebx
push esi
push edi
mov edi, dword [ebp + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x4ebf20
lea esi, [ebp + 8]
lea esi, [esi + edi*4]
lea eax, [ebp + 8]
nop dword [eax]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x4ebee0
mov edi, 1
cmp dword [ebp + 0xf0], edi
jle 0x4ec08b
lea esi, [ebp + 2]
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
inc edi
shr eax, 0x18
movzx ecx, byte [eax*4 + 0x55b368]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x55bf68]
movzx eax, byte [eax*4 + 0x55b368]
xor ecx, dword [eax*4 + 0x55c768]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x55b368]
xor ecx, dword [eax*4 + 0x55c368]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x55b368]
xor ecx, dword [eax*4 + 0x55cb68]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x55b368]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x55bf68]
movzx eax, byte [eax*4 + 0x55b368]
xor ecx, dword [eax*4 + 0x55c768]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x55b368]
xor ecx, dword [eax*4 + 0x55c368]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x55b368]
xor ecx, dword [eax*4 + 0x55cb68]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x55b368]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x55bf68]
movzx eax, byte [eax*4 + 0x55b368]
xor ecx, dword [eax*4 + 0x55c768]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x55b368]
xor ecx, dword [eax*4 + 0x55c368]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x55b368]
xor ecx, dword [eax*4 + 0x55cb68]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x55b368]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x55bf68]
movzx eax, byte [eax*4 + 0x55b368]
xor ecx, dword [eax*4 + 0x55c768]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x55b368]
xor ecx, dword [eax*4 + 0x55c368]
movzx eax, dl
movzx eax, byte [eax*4 + 0x55b368]
xor ecx, dword [eax*4 + 0x55cb68]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x4ebf34
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret