joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471a40
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x3c
push edi
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
lea eax, [esp + 0x1c]
push eax
movups xmmword [esp + 0x20], xmm0
movups xmmword [esp + 0x30], xmm0
call fcn.004719c0
push 0x64d4c8
push dword [ebp + 8]
call fcn.005ca5ef
add esp, 8
mov edi, eax
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
movss xmm0, dword [esp + 0x24]
sub esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0x34]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CenterPos__f__f__f_n
push 0
push edi
call fcn.005534c0
movss xmm0, dword [esp + 0x58]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x50]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0x54]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CameraSetting__f__f__f_n
push 0
push edi
call fcn.005534c0
movss xmm0, dword [esp + 0x54]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x44]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0x40]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.CmrPos__f__f__f_n
push 0
push edi
call fcn.005534c0
cvttss2si eax, dword [esp + 0x54]
push eax
cvttss2si eax, dword [esp + 0x54]
push eax
cvttss2si eax, dword [esp + 0x54]
push eax
cvttss2si eax, dword [esp + 0x64]
push eax
cvttss2si eax, dword [esp + 0x6c]
push eax
cvttss2si eax, dword [esp + 0x74]
push eax
cvttss2si eax, dword [esp + 0x60]
push eax
cvttss2si eax, dword [esp + 0x60]
push eax
cvttss2si eax, dword [esp + 0x60]
push eax
push str.Line__x__dy__dz__ddistance__dpitch__drot__dup__dview__dcross__d__n
push 0
push edi
call fcn.005534c0
add esp, 0x54
push edi
call fcn.005ca84b
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x474e00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
push 0x40
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 0xc
Function at 0x48f5c0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp fcn.0054a310
Function at 0x4b0ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x58edadb9
xor eax, eax
cmp byte [ebp - 4], al
jbe 0x4b0f13
xor dword [ebp - 4], 0x80164043
add dword [ebp - 4], 0xd61f75bd
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x6f8b60], ecx
inc eax
movzx ecx, byte [ebp - 4]
cmp eax, ecx
jb 0x4b0ef2
mov eax, 0x6f8b60
mov esp, ebp
pop ebp
ret
Function at 0x4d13c0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x64cbc8
push str.interface.cfg
mov edi, ecx
call fcn.005ca5ef
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d13e1
pop edi
xor al, al
pop esi
ret
push esi
push 0xc8
lea eax, [edi + 0x2628]
push 1
push eax
call fcn.005caf95
push esi
call fcn.005ca84b
add esp, 0x14
mov al, 1
pop edi
pop esi
ret

Function at 0x4d1410
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x2624], 0
je 0x4d147f
push edi
push 0x641460
call dword [sym.imp.python27.dll_Py_BuildValue]
push eax
push str.OnSaveInterfaceStatus
push dword [esi + 0x2624]
call fcn.005bfc80
push 0x64cb98
push str.interface.cfg
call fcn.005ca5ef
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4d1461
push str.Cannot_open_interface.cfg
call fcn.0052ab40
add esp, 4
pop edi
pop esi
ret
push edi
push 0xc8
lea eax, [esi + 0x2628]
push 1
push eax
call fcn.005ca75d
push edi
call fcn.005ca84b
add esp, 0x14
pop edi
pop esi
ret

Function at 0x4d4f00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60520a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a1450]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [0x6f86d4], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.CPythonTextTail.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004632c0
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004632c0
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 2
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.004632c0
mov dword [esi + 0x14], eax
push 0
mov byte [ebp - 4], 3
push 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call fcn.0047a870
mov dword [esi + 0x1c], eax
push 0
mov byte [ebp - 4], 4
push 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.0047a870
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], vtable.CDynamicPool_struct_CPythonTextTail::STextTail_.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004d4e30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d6560
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x605328
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6a1450]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [str.UserDict.pyc]
xor edi, edi
cmp byte [eax], 0xa
je 0x4d666f
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
mov esi, 0x641710
push 4
push str.lib_
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.0045a870
mov dword [esp + 0x38], 0
mov edx, dword [esi]
cmp byte [edx], 0
jne 0x4d65ea
xor eax, eax
jmp 0x4d65f9
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d65f0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.0045b850
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
push 0
cmovae eax, dword [esp + 0x14]
push eax
call fcn.005ccb60
add esp, 8
test eax, eax
jne 0x4d668f
cmp dword [esp + 0x24], 0x10
lea esi, [esp + 0x10]
lea ecx, [esp + 0x10]
cmovae esi, dword [esp + 0x10]
cmovae ecx, dword [esp + 0x10]
push esi
push ecx
call ebx
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x4d6657
push dword [esp + 0x10]
call fcn.004dbb70
add esp, 4
inc edi
mov eax, dword [edi*4 + 0x641710]
lea esi, [edi*4 + 0x641710]
cmp byte [eax], 0xa
jne 0x4d65b2
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x24], 0x10
jb 0x4d66a2
push dword [esp + 0x10]
call fcn.004dbb70
add esp, 4
xor al, al
jmp 0x4d6671
Function at 0x4d66c0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x6a1450]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x104]
mov dword [ebp - 0x408], ecx
push eax
push 0x100
mov esi, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x104]
cmp byte [eax + ecx - 1], 0x5c
je 0x4d6723
mov edi, ecx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4d6710
mov ax, word [0x65ccb4]
mov word [edi], ax
lea ecx, [ebp - 0x104]
dec ecx
lea ebx, [ebx]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4d6730
mov eax, dword [str.metin2client.dat]
mov dword [ecx], eax
mov eax, dword [0x65ccbc]
mov dword [ecx + 4], eax
mov eax, dword [0x65ccc0]
mov dword [ecx + 8], eax
mov eax, dword [0x65ccc4]
mov dword [ecx + 0xc], eax
mov al, byte [0x65ccc8]
push ebx
mov byte [ecx + 0x10], al
call fcn.00469d80
mov ebx, eax
lea edi, [ebp - 0x404]
mov edx, ebx
sub edi, ebx
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [edi + edx - 1], cl
test cl, cl
jne 0x4d6773
push 7
lea eax, [ebp - 0x404]
push str.locale_
push eax
call fcn.005cba3d
add esp, 0xc
test eax, eax
jne 0x4d67b2
lea ecx, [ebx + 7]
lea edx, [ebp - 0x404]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4d67a5
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x104]
push eax
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push 0
push esi
lea eax, [ebp - 0x404]
push eax
call edi
cmp byte [ebp - 0x304], 0
pop ebx
jne 0x4d6843
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push dword [ebp - 0x408]
push dword [0x6f7dd8]
call dword [sym.imp.USER32.dll_LoadStringA]
cmp byte [ebp - 0x304], 0
jne 0x4d6843
lea eax, [ebp - 0x104]
push eax
push 0x1ff
lea eax, [ebp - 0x304]
push eax
push 0
push esi
push 0x65ccb0
call edi
cmp byte [ebp - 0x304], 0
jne 0x4d6843
lea ecx, [ebp - 0x304]
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x4d6836
lea eax, [ebp - 0x408]
mov ecx, 0x6f7ddc
push eax
call fcn.0048cae0
cmp byte [ebp - 0x304], 0
mov esi, eax
jne 0x4d6863
xor ecx, ecx
jmp 0x4d6879
lea ecx, [ebp - 0x304]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d6870
sub ecx, edx
push ecx
lea eax, [ebp - 0x304]
mov ecx, esi
push eax
call fcn.0045a870
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.005c9914
mov esp, ebp
pop ebp
ret
Function at 0x4d73d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x605487
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6a1450]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push 0
call fcn.005cc316
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add eax, esi
push eax
call fcn.0052c020
add esp, 4
call fcn.0052bfc0
push eax
call fcn.005cc04f
add esp, 4
push 1
call fcn.0052ab10
add esp, 4
push 0
push str.perf_game_update.txt
call fcn.005ccb60
add esp, 8
test eax, eax
jne 0x4d745e
push str.perf_game_update.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push str.newpatch.exe
call fcn.005ccb60
add esp, 8
test eax, eax
jne 0x4d7485
push str.patchupdater.exe
call fcn.005cd2a5
add esp, 4
xor al, al
jmp 0x4d7614
call dword [sym.imp.DevIL.dll_ilInit]
call fcn.004d79c0
test eax, eax
je 0x4d747e
push 0
call fcn.0052aac0
mov eax, dword [0x6faa7c]
add esp, 4
test al, 1
jne 0x4d74db
or eax, 1
mov dword [0x6faa7c], eax
mov ecx, 0x6faa80
mov dword [esp + 0x58], 0
call fcn.0052c030
push 0x6128a0
call fcn.005ca3dd
mov dword [esp + 0x5c], 0xffffffff
add esp, 4
mov eax, dword [0x6faa7c]
test al, 2
jne 0x4d750e
or eax, 2
mov dword [0x6faa7c], eax
mov ecx, 0x6faa88
mov dword [esp + 0x58], 1
call fcn.0055cea0
push 0x612890
call fcn.005ca3dd
add esp, 4
mov dword [esp + 0x58], 0xffffffff
call fcn.004d6940
test al, al
jne 0x4d752f
push 0
push 0
push str.Pack_Initialization_failed._Check_log.txt_file..
call fcn.0052a960
add esp, 0xc
xor al, al
jmp 0x4d7614
call fcn.0045e910
test al, al
je 0x4d7546
call fcn.00469d60
push eax
call fcn.00553520
add esp, 4
push 0x239d8
call fcn.005c9923
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], 2
test eax, eax
je 0x4d756e
mov ecx, eax
call fcn.0046e550
mov esi, eax
jmp 0x4d7570
xor esi, esi
push ebx
mov ecx, esi
mov dword [esp + 0x5c], 0xffffffff
call fcn.00542fc0
lea ecx, [esp + 0x14]
xor bl, bl
call fcn.005c08e0
lea ecx, [esp + 0x24]
mov dword [esp + 0x58], 3
call fcn.0048a2f0
lea eax, [esp + 0x24]
mov byte [esp + 0x58], 4
push eax
call fcn.005c1030
add esp, 4
lea ecx, [esp + 0x14]
push str.eter.python
call fcn.005c0990
test al, al
je 0x4d75cd
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.004d6df0
mov bl, al
mov ecx, esi
call fcn.00470c10
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
lea ecx, [esp + 0x14]
call sub.python27.dll_Py_Finalize
lea ecx, [esp + 0x24]
call fcn.0048a3a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 0xffffffff
call fcn.005c0900
mov ecx, esi
call fcn.00470c20
test esi, esi
je 0x4d7612
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
Function at 0x4d8a40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6057a0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6a1450]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
push 0
push edx
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0xc]
push 0x6a56cc
push edx
mov dword [esp + 0x14], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x18], vtable.CryptoPP::ArraySink.1.0
movlpd qword [esp + 0x2c], xmm0
call dword [eax + 0x28]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005c9914
mov esp, ebp
pop ebp
ret 8

Function at 0x4db3c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x605cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6a1450]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], ebx
call fcn.004db230
add esp, 4
mov esi, eax
push 0x65d134
lea eax, [esp + 0x30]
mov dword [esp + 0x84], 0
push edi
push eax
call fcn.0049b3f0
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x88], 1
push eax
call fcn.004db100
add esp, 0xc
push str._is_not_a_valid_key_length
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x88], 2
push eax
call fcn.00467950
add esp, 0xc
mov esi, eax
mov ecx, ebx
mov byte [esp + 0x80], 3
call fcn.005d2384
mov byte [esp + 0x80], 4
lea ecx, [ebx + 0x10]
push 0xffffffffffffffff
mov dword [ebx], vtable.CryptoPP::Exception.0
mov dword [ebx + 0xc], 1
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.0045ad40
cmp dword [esp + 0x58], 0x10
mov dword [ebx], vtable.CryptoPP::InvalidArgument.0
jb 0x4db4c1
push dword [esp + 0x44]
call fcn.004dbb70
add esp, 4
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jb 0x4db4e9
push dword [esp + 0x14]
call fcn.004dbb70
add esp, 4
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x4db511
push dword [esp + 0x2c]
call fcn.004dbb70
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], 0
mov byte [esp + 0x2c], 0
jb 0x4db539
push dword [esp + 0x5c]
call fcn.004dbb70
add esp, 4
mov eax, ebx
mov dword [ebx], vtable.CryptoPP::InvalidKeyLength.0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.005c9914
add esp, 0x74
ret 8
Function at 0x4db7e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebx, ecx
push edi
mov edi, esi
mov dword [esp + 0x10], edx
shr edi, 2
xor ebp, ebp
mov dword [esp + 0x14], ebx
test edi, edi
je 0x4db8cb
cmp edi, 4
jb 0x4db896
mov ecx, dword [esp + 0x28]
lea eax, [ecx - 4]
lea eax, [eax + edi*4]
cmp ebx, eax
ja 0x4db829
mov eax, ecx
lea ecx, [ebx - 4]
lea ecx, [ecx + edi*4]
cmp ecx, eax
jae 0x4db89a
mov ecx, eax
lea eax, [edx - 4]
lea eax, [eax + edi*4]
cmp ebx, eax
ja 0x4db83d
lea eax, [ebx - 4]
lea eax, [eax + edi*4]
cmp eax, edx
jae 0x4db896
mov eax, edi
mov dword [esp + 0x18], edi
and eax, 3
mov esi, ebx
sub dword [esp + 0x18], eax
sub esi, edx
sub ecx, edx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x2c]
mov eax, edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
lea ebx, [ebx]
movdqu xmm1, xmmword [edx + eax]
add ebp, 4
lea eax, [eax + 0x10]
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [ebx + eax - 0x10], xmm1
cmp ebp, ecx
jb 0x4db870
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
cmp ebp, edi
jae 0x4db8cb
mov esi, edx
lea ecx, [eax + ebp*4]
mov edx, dword [esp + 0x10]
sub ebx, eax
sub edi, ebp
mov dword [esp + 0x20], ebx
sub esi, eax
add ebp, edi
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
mov dword [ebx + ecx - 4], eax
dec edi
jne 0x4db8b3
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
lea eax, [ebp*4]
sub esi, eax
mov dword [esp + 0x2c], esi
je 0x4db990
mov ebp, dword [esp + 0x28]
add ebx, eax
add edx, eax
mov dword [esp + 0x14], ebx
add ebp, eax
mov dword [esp + 0x10], edx
xor edi, edi
test esi, esi
je 0x4db990
cmp esi, 0x10
jb 0x4db96b
lea eax, [ebp - 1]
lea ecx, [ebx - 1]
add eax, esi
add ecx, esi
cmp ebx, eax
ja 0x4db911
cmp ecx, ebp
jae 0x4db96b
lea eax, [edx - 1]
add eax, esi
cmp ebx, eax
ja 0x4db91e
cmp ecx, edx
jae 0x4db96b
mov eax, esi
mov ecx, esi
mov esi, ebx
and eax, 0xf
sub esi, edx
sub ecx, eax
mov ebx, ebp
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x2c]
sub ebx, edx
mov dword [esp + 0x1c], ebx
mov eax, edx
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
movdqu xmm1, xmmword [eax + edx]
add edi, 0x10
lea eax, [eax + 0x10]
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax + ebx - 0x10], xmm1
cmp edi, ecx
jb 0x4db945
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
cmp edi, esi
jae 0x4db990
sub edx, ebp
lea ecx, [edi + ebp]
sub ebx, ebp
sub esi, edi
jmp 0x4db980
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
dec esi
jne 0x4db980
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4db9a0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, esi
shr edi, 2
test edi, edi
je 0x4db9e6
mov esi, ebp
mov dword [esp + 0x10], edi
mov edx, ecx
sub esi, ecx
jmp 0x4db9d0
mov eax, dword [esi + edx]
lea edx, [edx + 4]
xor eax, dword [edx - 4]
or ebx, eax
dec edi
jne 0x4db9d0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
shl eax, 2
sub esi, eax
jne 0x4db9fa
pop edi
xor eax, eax
test ebx, ebx
pop esi
pop ebp
sete al
pop ebx
pop ecx
ret
add ebp, eax
add ecx, eax
mov edx, ebx
mov eax, ebx
shr edx, 0x18
shr eax, 0x10
or dl, al
mov eax, ebx
shr eax, 8
or dl, al
or dl, bl
test esi, esi
je 0x4dba2e
sub ebp, ecx
lea esp, [esp]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
or dl, al
dec esi
jne 0x4dba20
pop edi
xor eax, eax
test dl, dl
pop esi
pop ebp
sete al
pop ebx
pop ecx
ret

Function at 0x4dcb90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x605e6b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6a1450]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov dword [esi + 0xc], eax
mov dword [esp + 0xc], esi
mov dword [esi + 0x14], 0
mov dword [esp + 0x5c], 2
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
push 0
mov dword [esi + 0x2c], 0
call fcn.004da060
mov dword [esi + 0x30], 0
mov dword [esp + 0x60], 3
push 0
mov dword [esi + 0x4c], 0
call fcn.004da060
add esp, 8
mov dword [esi + 0x50], 0
cmp byte [esp + 0x70], 0
mov byte [esp + 0x5c], 4
mov dword [esi], vtable.CryptoPP::StreamTransformationFilter.1.0
mov dword [esi + 4], vtable.CryptoPP::StreamTransformationFilter.0
mov dword [esi + 0x54], edi
jne 0x4dcc89
push 0
push 0x6b4fe0
push 0x6b4fb4
push 0
push edi
call fcn.005d28bd
add esp, 0x14
test eax, eax
je 0x4dcc89
push str.StreamTransformationFilter:_please_use_AuthenticatedEncryptionFilter_and_AuthenticatedDecryptionFilter_for_AuthenticatedSymmetricCipher
lea ecx, [esp + 0x14]
call fcn.0045b980
lea eax, [esp + 0x10]
mov byte [esp + 0x5c], 5
push eax
lea ecx, [esp + 0x2c]
call fcn.004db080
push 0x684ca4
lea eax, [esp + 0x2c]
push eax
call fcn.005cd5b0
push ecx
lea eax, [esp + 0x70]
mov edx, str.BlockPaddingScheme
push eax
lea ecx, [esp + 0x18]
call fcn.004ddac0
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x60], 6
call fcn.004dc2f0
mov byte [esp + 0x5c], 4
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4dccc0
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.005c9914
add esp, 0x54
ret 0x10
Function at 0x4dd4e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x605f79
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov dword [ebx + 0xc], 0
mov dword [esp + 0x14], ebx
mov dword [ebx + 0x14], 0
mov dword [esp + 0x20], 2
push 0
mov dword [ebx + 0x1c], 0
call fcn.004da060
add esp, 4
mov dword [ebx + 0x20], 0
mov eax, dword [esp + 0x28]
lea ecx, [ebx + 0x34]
mov byte [esp + 0x20], 3
mov dword [ebx + 0x24], eax
mov al, byte [esp + 0x30]
push 0xffffffffffffffff
mov dword [ebx], vtable.CryptoPP::HashFilter.1.0
mov dword [ebx + 4], vtable.CryptoPP::HashFilter.0
mov byte [ebx + 0x28], al
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.0045ad40
push 0xffffffffffffffff
lea ecx, [ebx + 0x4c]
mov byte [esp + 0x24], 4
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edi
mov byte [ecx], 0
call fcn.0045ad40
mov eax, dword [esp + 0x34]
mov byte [esp + 0x20], 5
test eax, eax
jns 0x4dd5b8
mov ecx, dword [ebx + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov dword [ebx + 0x2c], eax
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4dd5d1
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0xc], ecx
jmp 0x4dd5d8
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0xc], eax
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x18

Function at 0x4ddac0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x60601c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x18], 0
mov byte [esp + 0x1c], 1
push ecx
push dword [esp + 0x34]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 1
push edx
call fcn.004ddb80
mov dword [esi], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esi + 4], 0
mov byte [esp + 0x28], 2
mov cl, byte [eax + 8]
mov byte [esi + 8], cl
mov edi, dword [eax + 4]
mov dword [eax + 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4ddb4e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], edi
mov byte [esp + 0x28], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], 1
test ecx, ecx
je 0x4ddb6c
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret