joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53035d3
Capabilities:
Check if file exists
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x54183c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x5303769
test esi, esi
je 0x5303769
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x64
jb 0x5303769
xor eax, eax
push 0x208
push eax
mov word [esi], ax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.05351b20
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x530364e
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x530376c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x5303754
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
jne 0x5303754
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push 0x105
push eax
call fcn.05351f46
add esp, 0xc
test eax, eax
jne 0x530374d
push str.isolate.ini
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x530374d
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x530364e
lea eax, [ebp - 0x41c]
push eax
push ebx
push esi
push str.SoftwareSymantecIsolation
push str.reghive
push str.isolation
call fcn.053032da
add esp, 0x18
dec ebx
cmp eax, ebx
jne 0x53036f0
push 0x7a
jmp 0x530376b
lea eax, [ebp - 0x420]
push eax
push 0x20019
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x530371c
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x530373f
cmp eax, 5
jne 0x530372e
push str.CIsolation::GetRegistryHive__:_RegOpenKeyEx___returned_ERROR_ACCESS_DENIED
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x530373f
cmp eax, 2
jne 0x530373a
push str.CIsolation::GetRegistryHive__:_RegOpenKeyEx___returned_ERROR_FILE_NOT_FOUND
jmp 0x5303726
xor eax, eax
mov word [esi], ax
xor eax, eax
cmp word [esi], ax
setne al
dec eax
and eax, 0xd
jmp 0x530376c
mov eax, 0x54f
jmp 0x530376c
push 0x1c
push str.SoftwareSymantecIsolation
push ebx
push esi
call fcn.05351a47
add esp, 0x10
xor eax, eax
jmp 0x530376c
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0534fc81
leave
ret
Function at 0x530377b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x54183c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x53038b9
test esi, esi
je 0x53038b9
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x26
jb 0x53038b9
xor eax, eax
push 0x208
push eax
mov word [esi], ax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.05351b20
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x53037f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x53038bc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x53038b5
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsUNCServerW]
test eax, eax
jne 0x53038b5
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x41c]
push 0x105
push eax
call fcn.05351f46
add esp, 0xc
test eax, eax
jne 0x53038ae
push str.isolate.ini
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x53038ae
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x53037f6
lea eax, [ebp - 0x41c]
push eax
push ebx
push esi
push 0x54025b8
push str.silo
push str.isolation
call fcn.053032da
add esp, 0x18
dec ebx
cmp eax, ebx
jne 0x5303890
push 0x7a
jmp 0x53038bb
push esi
call fcn.05302809
pop ecx
test al, al
jne 0x53038a0
xor eax, eax
mov word [esi], ax
xor eax, eax
cmp word [esi], ax
setne al
dec eax
and eax, 0xd
jmp 0x53038bc
mov eax, 0x54f
jmp 0x53038bc
push 2
jmp 0x53038bb
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0534fc81
leave
ret

Function at 0x53040f4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.05303d39
mov ecx, dword [0x541bf1c]
test ecx, ecx
jne 0x530411a
push 0x541bf18
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [0x541bf1c]
mov eax, dword [ebp + 8]
xor edx, edx
div ecx
push ebx
xor ebx, ebx
push 4
cmp ebx, edx
sbb edx, edx
imul eax, ecx
and edx, ecx
add edx, eax
pop eax
push eax
push 0x1000
push edx
push ebx
mov dword [esi + 8], edx
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0xc], eax
pop ebx
test eax, eax
jne 0x5304185
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x530417b
test byte [eax + 0x1c], 1
je 0x530417b
cmp byte [eax + 0x19], 2
jb 0x530417b
push 0x53f2624
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.052e5970
add esp, 0x10
and dword [esi + 8], 0
and dword [esi + 4], 0
jmp 0x5304190
push dword [esi + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esi + 0xc]
pop esi
pop ebp
ret 4
Function at 0x5304d18
Capabilities:
Get common file path

Disassembly:
push 0x58
mov eax, 0x53e7644
call fcn.053519dc
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
call fcn.05302607
and dword [ebp - 4], 0
mov esi, 0x104
push esi
mov ecx, edi
mov byte [ebp - 0x35], 1
mov byte [ebp - 4], 1
call fcn.052fe3b5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
mov ecx, edi
mov ebx, eax
call fcn.052fdfbd
test ebx, ebx
je 0x5304d63
cmp ebx, esi
jbe 0x5304da0
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x5304d9c
test byte [eax + 0x1c], 1
je 0x5304d9c
cmp byte [eax + 0x19], 2
jb 0x5304d9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x5419944]
push 0x53f2680
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.05308899
add esp, 0x14
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x5c]
call fcn.053025af
test al, al
je 0x5304db0
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x5c]
call fcn.053025c5
mov al, byte [ebp - 0x35]
call fcn.05351a38
ret

Function at 0x5304e9d
Capabilities:
Get common file path

Disassembly:
push 0x58
mov eax, 0x53e7671
call fcn.053519dc
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
call fcn.05302607
and dword [ebp - 4], 0
mov esi, 0x104
push esi
mov ecx, edi
mov byte [ebp - 0x35], 1
mov byte [ebp - 4], 1
call fcn.052fe3b5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
mov ecx, edi
mov ebx, eax
call fcn.052fdfbd
test ebx, ebx
je 0x5304ee8
cmp ebx, esi
jbe 0x5304f25
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x5304f21
test byte [eax + 0x1c], 1
je 0x5304f21
cmp byte [eax + 0x19], 2
jb 0x5304f21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x5419944]
push 0x53f2680
push 0x15
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.05308899
add esp, 0x14
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x5c]
call fcn.053025af
test al, al
je 0x5304f35
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x5c]
call fcn.053025c5
mov al, byte [ebp - 0x35]
call fcn.05351a38
ret
Function at 0x5327f81
Capabilities:
Get common file path

Disassembly:
push 0x68
mov eax, 0x53e878d
call fcn.053519dc
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x35], 1
call fcn.05302607
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp dword [ebp + 0xc], ebx
je 0x5327fb3
cmp dword [ebp + 0xc], 1
jne 0x532800f
push 0x104
mov ecx, esi
call fcn.052fe3b5
push ebx
push 0x2b
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
push 0xffffffffffffffff
mov ecx, esi
setne byte [ebp - 0x35]
call fcn.052fdfbd
cmp byte [ebp - 0x35], bl
jne 0x5328099
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x532800f
test byte [eax + 0x1c], 1
je 0x532800f
cmp byte [eax + 0x19], 2
jb 0x532800f
push 0x53f4cc8
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.052e5970
add esp, 0x10
lea ecx, [ebp - 0x6c]
call fcn.052ffa3a
mov eax, dword [ebp + 0xc]
dec eax
mov ecx, 0x20019
je 0x532802c
dec eax
jne 0x5328031
mov ecx, 0x20119
jmp 0x5328031
mov ecx, 0x20219
push ebx
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x6c]
call fcn.0530083c
test eax, eax
je 0x5328061
push esi
push str.CommonFilesDir
lea ecx, [ebp - 0x6c]
call fcn.05300894
test eax, eax
je 0x5328061
mov byte [ebp - 0x35], 1
jmp 0x5328091
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x532808e
test byte [eax + 0x1c], 1
je 0x532808e
cmp byte [eax + 0x19], 2
jb 0x532808e
push 0x53f4cc8
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.052e5970
add esp, 0x10
mov byte [ebp - 0x35], bl
lea ecx, [ebp - 0x6c]
call fcn.0530004d
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x53280a3
mov byte [ebp - 0x35], bl
cmp byte [ebp - 0x35], bl
je 0x5328125
push 0x5c
mov ecx, esi
call fcn.05328406
push str.Symantec_Shared
mov ecx, esi
call fcn.052fe8d3
jmp 0x5328125
lea ecx, [ebp - 0x60]
call fcn.053025af
test al, al
je 0x5328134
mov byte [ebp - 0x35], bl
cmp byte [ebp - 0x35], bl
je 0x5328168
mov eax, dword [0x5419944]
cmp eax, 0x5419944
je 0x5328168
test byte [eax + 0x1c], 1
je 0x5328168
cmp byte [eax + 0x19], 4
jb 0x5328168
push dword [esi]
push 0x53f4cc8
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.052e1190
add esp, 0x14
lea ecx, [ebp - 0x60]
call fcn.053025c5
mov al, byte [ebp - 0x35]
call fcn.05351a38
ret
Function at 0x532c861
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x53e8a00
call fcn.053519a6
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x532c958
cmp byte [esi + 0x4a], bl
je 0x532c958
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x532c89d
xor al, al
jmp 0x532c95a
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.05329f07
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x532c8fb
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x532c900
dec eax
je 0x532c904
dec eax
dec eax
je 0x532c954
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.052e50b0
mov al, bl
jmp 0x532c95a
mov edx, dword [ebp - 0x2c]
jmp 0x532c8c6
mov byte [esi + 0x4a], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x532c910
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x532c936
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x532c923
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.05357adc
add esp, 0x10
cmp edi, eax
jne 0x532c8e9
cmp byte [esi + 0x4a], 0
je 0x532c954
test edi, edi
jne 0x532c8b8
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.052eaec0
jmp 0x532c8b8
mov bl, 1
jmp 0x532c8eb
mov al, 1
call fcn.05351a29
ret
Function at 0x534e350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53eb923
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x54183c4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push edi
mov byte [esi], 0
call fcn.052e51b0
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x20]
push ecx
lea ecx, [esi + 0x20]
mov dword [esp + 0x1c], 0
mov dword [esi + 0x1c], eax
call fcn.052ed9a0
lea edx, [edi + 0x30]
push edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 1
call fcn.052ed9a0
mov al, byte [edi + 0x40]
mov byte [esi + 0x40], al
mov cl, byte [edi + 0x41]
mov byte [esi + 0x41], cl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x534e4e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53eb988
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54183c4]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x54183c4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
cmp esi, edi
je 0x534e574
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x58]
call fcn.0534e310
mov ecx, dword [esp + 0x4c]
push eax
mov dword [esp + 0x3c], 0
call fcn.052e9010
cmp dword [esp + 0x24], 8
mov dword [esp + 0x38], 0xffffffff
jb 0x534e561
mov ecx, dword [esp + 0x10]
push ecx
call fcn.053504e7
add esp, 4
add esi, 0x1c
cmp esi, edi
jne 0x534e524
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0xc]
mov dword [eax], edx
jmp 0x534e57a
mov ecx, dword [esp + 0x4c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0534fc81
add esp, 0x30
ret

Function at 0x534fc81
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x54183c4]
jne 0x534fc8b
repz ret
jmp fcn.05359ccc

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x5351e75
call fcn.053555d0
mov dword [eax], esi
call fcn.053555bd
push 0x16
pop esi
mov dword [eax], esi
call fcn.0535a2d2
mov eax, esi
jmp 0x5351eca
test dword [ebp + 0xc], 0xfffffff9
jne 0x5351e5b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5351ea2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.053555e3
pop ecx
call fcn.053555bd
mov eax, dword [eax]
jmp 0x5351eca
test al, 0x10
jne 0x5351ec8
test al, 1
je 0x5351ec8
test byte [ebp + 0xc], 2
je 0x5351ec8
call fcn.053555d0
mov dword [eax], 5
call fcn.053555bd
mov dword [eax], 0xd
jmp 0x5351e99
xor eax, eax
pop esi
pop ebp
ret
Function at 0x53650ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x54183c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0535c1f4
and dword [ebp - 0x14], 0
cmp dword [0x541d2a8], 0
mov dword [ebp - 0x18], eax
jne 0x5365161
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5365209
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x5365209
mov esi, dword [0x5419890]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x541d2a8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x541d2ac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x541d2b0], eax
call edi
push eax
call esi
mov dword [0x541d2b8], eax
test eax, eax
je 0x5365161
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x541d2b4], eax
mov eax, dword [0x541d2b4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x54198af]
cmp eax, ecx
je 0x53651ba
cmp dword [0x541d2b8], ecx
je 0x53651ba
push eax
call esi
push dword [0x541d2b8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x53651ba
test ebx, ebx
je 0x53651ba
call edi
test eax, eax
je 0x53651b1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x53651b1
test byte [ebp - 8], 1
jne 0x53651ba
or dword [ebp + 0x10], 0x200000
jmp 0x53651ed
mov eax, dword [0x541d2ac]
cmp eax, dword [ebp - 0x18]
je 0x53651ed
push eax
call esi
test eax, eax
je 0x53651ed
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x53651ed
mov eax, dword [0x541d2b0]
cmp eax, dword [ebp - 0x18]
je 0x53651ed
push eax
call esi
test eax, eax
je 0x53651ed
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x541d2a8]
call esi
test eax, eax
je 0x5365209
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x536520b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0534fc81
leave
ret
Function at 0x5372380
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x53723ad
push esi
push edi
jmp 0x5372390
movzx esi, byte [edx]
movzx esi, byte [esi + 0x53f9750]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x5372390
pop edi
pop esi
ret

Function at 0x537d020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov ecx, eax
test eax, eax
jne 0x537d03d
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x537d055
cmp byte [eax], 0
je 0x537d048
inc ecx
cmp byte [ecx], 0
jne 0x537d042
sub ecx, eax
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 0x14]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x537d137
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x10], ecx
push edi
nop
mov ecx, eax
cmp eax, 2
jge 0x537d07a
xor ecx, 1
mov edx, dword [ebp + 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0xc]
test edx, edx
je 0x537d0ca
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x537d0b2
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x53f9750]
cmp cl, byte [eax + 0x53f9750]
jne 0x537d0af
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x537d092
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x53f9750]
movzx edx, byte [edx + 0x53f9750]
sub edx, ecx
jne 0x537d126
cmp dword [edi + 0x24], 0
lea esi, [edi + 0x18]
je 0x537d104
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x537d0fe
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x53f9750]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x537d0e0
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [esi]
jmp 0x537d106
xor edx, edx
mov eax, dword [ebp + 8]
push ebx
push eax
mov eax, esi
call fcn.053786c0
add esp, 8
test eax, eax
je 0x537d13d
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x537d136
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x537d070
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x537d123
Function at 0x537d150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, edi
test edi, edi
jne 0x537d16e
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x537d184
cmp byte [edi], al
je 0x537d177
inc ecx
cmp byte [ecx], al
jne 0x537d172
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x537d285
jmp 0x537d1a3
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x537d1ab
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x537d20b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x537d1ed
jmp 0x537d1d0
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x53f9750]
cmp dl, byte [eax + 0x53f9750]
jne 0x537d1ed
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x537d1d0
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x53f9750]
movzx ecx, byte [ecx + 0x53f9750]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x537d275
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x537d258
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x537d24e
jmp 0x537d230
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x53f9750]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x537d230
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 8]
jmp 0x537d25a
xor edx, edx
push ebx
push edi
lea eax, [esi + 8]
call fcn.053786c0
add esp, 8
test eax, eax
je 0x537d28c
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x537d285
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x537d1a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x537d275
Function at 0x537f390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 0
push esi
jne 0x537f3bf
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0537cd20
test eax, eax
jne 0x537f3b5
cmp dword [esi + 0x10], eax
jne 0x537f3b5
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x537f416
jmp 0x537f3d0
mov esi, dword [edi + 0x14]
xor edx, edx
test esi, esi
jle 0x537f40c
lea ecx, [edi + 0x24]
lea esp, [esp]
mov eax, dword [ecx]
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + eax*4], 0
jge 0x537f4ca
mov ebx, dword [ebp + 8]
movsx ebx, word [ebx + 0x24]
cmp eax, ebx
jne 0x537f404
cmp dword [ebp + 0x10], 0
jne 0x537f4ca
inc edx
add ecx, 8
cmp edx, esi
jl 0x537f3e0
mov edi, dword [edi + 4]
test edi, edi
jne 0x537f3d0
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
mov eax, esi
test esi, esi
jne 0x537f425
xor edi, edi
mov dword [ebp - 4], edi
jmp 0x537f442
cmp byte [esi], 0
je 0x537f436
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x537f430
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov dword [ebp - 4], eax
mov ebx, dword [ecx + 0x44]
add ebx, 0x38
cmp dword [ebx + 0xc], 0
mov dword [ebp - 8], ebx
je 0x537f487
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x537f481
jmp 0x537f460
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x53f9750]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x537f460
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
xor edx, edx
div dword [ebx]
jmp 0x537f489
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.053786c0
add esp, 8
test eax, eax
je 0x537f4c1
mov esi, dword [eax + 8]
test esi, esi
je 0x537f4c1
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov eax, esi
call fcn.05375120
add esp, 0xc
test eax, eax
jne 0x537f4ca
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x537f4a0
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret