joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4de3f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6060f0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6a1450]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x10
push str.BER_decode_error
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.0045a870
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.005d2384
mov byte [esp + 0x30], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], vtable.CryptoPP::Exception.0
lea eax, [esp + 0x10]
mov dword [esi + 0xc], 1
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0045ad40
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::InvalidArgument.0
jb 0x4de4a6
push dword [esp + 0xc]
call fcn.004dbb70
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::BERDecodeErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005c9914
add esp, 0x2c
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x606298
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0050a1a0
push eax
lea ecx, [esi + 0x34]
mov dword [esp + 0x30], 0
call fcn.005068c0
mov edx, dword [esp + 0x18]
mov ebx, eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
push esi
cmp ecx, 0x10
jb 0x4df281
call fcn.005ffcb8
jmp 0x4df286
call fcn.005ca27a
mov eax, ebx
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4

Function at 0x4df3e0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x606158
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x3c]
shl eax, 5
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
call fcn.004de720
lea ecx, [esi + 0xc]
mov dword [esp + 0x30], 0
mov esi, dword [esp + 0x38]
push ecx
push eax
push esi
call fcn.004dea90
mov edx, dword [esp + 0x28]
xor eax, eax
mov ebx, dword [esp + 0x2c]
mov ecx, edx
mov edi, ebx
add esp, 0xc
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
push ebx
cmp ecx, 0x10
jb 0x4df463
call fcn.005ffcb8
jmp 0x4df468
call fcn.005ca27a
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8
Function at 0x4df790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x606308
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x40]
push 0
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x10], 0
mov dword [esi], vtable.CryptoPP::StringStore.0
mov dword [esi + 4], vtable.CryptoPP::StringStore.1.0
mov dword [esp + 0x20], 0
call fcn.004da060
add esp, 4
mov dword [esp + 0x20], 0
test edi, edi
je 0x4df801
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4df7f6
sub ecx, edx
jmp 0x4df803
xor ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov byte [esp + 0xc], 0
push 1
lea eax, [esp + 0x10]
mov dword [esp + 0x3c], 3
push eax
lea eax, [esp + 0x2c]
push str.InputBuffer
push eax
call fcn.004da160
add esp, 0x10
push eax
mov ecx, esi
mov byte [esp + 0x3c], 4
call fcn.004dd850
mov byte [esp + 0x38], 3
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4df851
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [esp + 0x20]
xor al, al
mov ecx, dword [esp + 0x1c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.005ca27a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4

Function at 0x4dfa00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x606340
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6a1450]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x1f
push str.CryptoPP:_invalid_group_element
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.0045a870
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.005d2384
mov byte [esp + 0x38], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], vtable.CryptoPP::Exception.0
lea eax, [esp + 0x14]
mov dword [esi + 0xc], 4
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0045ad40
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.CryptoPP::InvalidDataFormat.0
jb 0x4dfabc
push dword [esp + 0x10]
call fcn.004dbb70
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::DL_BadElement.0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
Function at 0x4e07c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60649b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer_.0
cmp dword [0x6f4ae4], 0
jne 0x4e0806
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
mov dword [esi + 4], vtable.CryptoPP::Integer.0
push 2
mov dword [esi + 0xc], 2
call fcn.004e1fd0
push 8
call fcn.004dbaf0
mov dword [esi + 0x10], eax
add esp, 8
mov dword [esi + 0x14], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov dword [esp + 0x14], 0
mov dword [esi + 0x18], 0
cmp dword [0x6f4ae4], 0
jne 0x4e0866
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
mov dword [esi + 0x1c], vtable.CryptoPP::Integer.0
push 2
mov dword [esi + 0x24], 2
call fcn.004e1fd0
push 8
call fcn.004dbaf0
mov dword [esi + 0x28], eax
add esp, 8
mov dword [esi + 0x2c], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x28]
mov dword [eax], 0
mov eax, esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4e0e40
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x606158
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x14], 0
call dword [eax + 0x28]
mov esi, eax
mov dword [esp + 0x30], 0
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x20]
push eax
push esi
mov esi, dword [esp + 0x40]
push esi
call fcn.004dea60
mov edx, dword [esp + 0x28]
xor eax, eax
mov ebx, dword [esp + 0x2c]
mov ecx, edx
mov edi, ebx
add esp, 0xc
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
push ebx
cmp ecx, 0x10
jb 0x4e0ec0
call fcn.005ffcb8
jmp 0x4e0ec5
call fcn.005ca27a
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4

Function at 0x4e19b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x606650
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi + 8], 0
push 0
mov dword [esp + 0xc], esi
mov dword [esi + 0x10], 0
call fcn.004da060
mov dword [esi + 0x14], 0
mov dword [esp + 0x18], 2
push 0
mov dword [esi + 0x20], 0
call fcn.004da060
mov dword [esi + 0x24], 0
mov dword [esp + 0x1c], 3
push 0
mov dword [esi + 0x30], 0
call fcn.004da060
add esp, 0xc
mov dword [esi + 0x34], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4e2270
Capabilities:
Hash data using sha1

Disassembly:
push 0xffffffffffffffff
push 0x6066f0
mov eax, dword fs:[0]
push eax
mov eax, dword [0x6a1450]
push ecx
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov edx, ecx
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov byte [edx + 0x51], 0
mov dword [edx + 0x58], 0x10
cmp byte [edx + 0x51], 0
jne 0x4e22bb
mov byte [edx + 0x51], 1
lea ecx, [edx + 0x10]
jmp 0x4e22bd
xor ecx, ecx
mov dword [edx + 0x5c], ecx
mov byte [edx + 0xa1], 0
mov dword [edx + 0xa8], 0x10
cmp byte [edx + 0xa1], 0
jne 0x4e22e6
mov byte [edx + 0xa1], 1
lea ecx, [edx + 0x60]
jmp 0x4e22e8
xor ecx, ecx
mov dword [edx + 0xac], ecx
mov eax, edx
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret

Function at 0x4e2330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x606340
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6a1450]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x37
push str.BufferedTransformation:_this_object_doesnt_allow_input
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.0045a870
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.005d2384
mov byte [esp + 0x38], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], vtable.CryptoPP::Exception.0
lea eax, [esp + 0x14]
mov dword [esi + 0xc], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0045ad40
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.CryptoPP::NotImplemented.0
jb 0x4e23ec
push dword [esp + 0x10]
call fcn.004dbb70
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::BufferedTransformation_::InputRejected.0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005c9914
mov esp, ebp
pop ebp
ret
Function at 0x4e2410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x606340
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6a1450]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x37
push str.BufferedTransformation:_this_object_doesnt_allow_input
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.0045a870
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.005d2384
mov byte [esp + 0x38], 1
lea ecx, [esi + 0x10]
push 0xffffffffffffffff
mov dword [esi], vtable.CryptoPP::Exception.0
lea eax, [esp + 0x14]
mov dword [esi + 0xc], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0045ad40
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.CryptoPP::NotImplemented.0
jb 0x4e24cc
push dword [esp + 0x10]
call fcn.004dbb70
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::Filter_::InputRejected.0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005c9914
mov esp, ebp
pop ebp
ret

Function at 0x4e24f0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x606729
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push dword [esp + 0x44]
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 0
call fcn.00506530
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x30], 2
push eax
mov eax, dword [ecx]
mov edi, dword [esi]
mov dword [esp + 0x14], 4
call dword [eax + 0x14]
mov ebx, dword [esp + 0x3c]
mov ecx, esi
push eax
push ebx
call dword [edi + 0x18]
mov edx, dword [esp + 0x1c]
xor eax, eax
mov esi, dword [esp + 0x20]
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
lea ecx, [edx*4]
push esi
cmp ecx, 0x10
jb 0x4e257a
call fcn.005ffcb8
jmp 0x4e257f
call fcn.005ca27a
mov eax, ebx
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 0x10
Function at 0x4e3480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6064d9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
cmp dword [0x6f4ae4], 0
jne 0x4e34cd
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
mov esi, dword [esp + 0x20]
push 2
mov dword [esi], vtable.CryptoPP::Integer.0
mov dword [esi + 8], 2
call fcn.004e1fd0
push 8
call fcn.004dbaf0
mov dword [esi + 0xc], eax
add esp, 8
mov dword [esi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
push 1
push dword [esp + 0x2c]
mov dword [esp + 0x20], 0
mov ecx, edi
push dword [esp + 0x2c]
mov edx, dword [edi]
push esi
mov dword [esp + 0x1c], 1
call dword [edx + 0x30]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc

Function at 0x4e4700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x606849
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6a1450]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0
cmp dword [0x6f4ae4], 0
jne 0x4e474f
call fcn.00504e70
mov dword [0x6f4ae4], 0x4fa640
mov esi, dword [esp + 0x24]
push 2
mov dword [esi], vtable.CryptoPP::Integer.0
mov dword [esi + 8], 2
call fcn.004e1fd0
add esp, 4
push 8
call fcn.004dbaf0
mov dword [esi + 0xc], eax
add esp, 4
mov dword [esi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
push 1
push dword [esp + 0x30]
mov dword [esp + 0x24], 0
mov ecx, edi
push dword [esp + 0x30]
mov edx, dword [edi]
push esi
mov dword [esp + 0x20], 1
call dword [edx + 0x54]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc

Function at 0x4e5a30
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 1
push dword [esp + 0x34]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 1
push 0x65e578
call fcn.004e74e0
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 0x4e5ac3
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 0x4e5ae1
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
Function at 0x4f1df0
Capabilities:
Encrypt data using twofish

Disassembly:
push esi
mov esi, edx
mov edx, ecx
mov eax, edx
shl eax, 8
or eax, edx
shl eax, 8
or eax, edx
shl eax, 8
or edx, eax
mov eax, dword [esp + 8]
sub eax, 2
je 0x4f1ea9
dec eax
je 0x4f1e63
dec eax
mov eax, edx
jne 0x4f1f36
shr eax, 0x18
movzx ecx, byte [eax + 0x644d38]
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x644c38]
xor ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x644c38]
xor ecx, eax
movzx eax, dl
shl ecx, 8
movzx edx, byte [eax + 0x644d38]
xor edx, ecx
xor edx, dword [esi + 0x18]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [eax + 0x644c38]
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x644c38]
xor ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + 0x644d38]
xor ecx, eax
movzx eax, dl
shl ecx, 8
movzx edx, byte [eax + 0x644d38]
xor edx, ecx
xor edx, dword [esi + 0x10]
push ebx
mov eax, edx
shr eax, 0x18
movzx ebx, byte [eax + 0x644d38]
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + 0x644c38]
xor ebx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + 0x644d38]
xor ebx, eax
movzx eax, dl
shl ebx, 8
movzx eax, byte [eax + 0x644c38]
xor ebx, eax
xor ebx, dword [esi + 8]
mov eax, ebx
mov ecx, ebx
shr eax, 0x18
shr ecx, 8
movzx ecx, cl
movzx edx, byte [eax + 0x644d38]
mov eax, ebx
shr eax, 0x10
movzx ecx, byte [ecx + 0x644c38]
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x644d38]
xor eax, edx
shl eax, 8
xor eax, ecx
movzx ecx, bl
shl eax, 8
pop ebx
movzx ecx, byte [ecx + 0x644c38]
xor eax, ecx
xor eax, dword [esi]
pop esi
ret
Function at 0x4f2c40
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [ecx + 0x2c]
push esi
mov esi, dword [eax]
push edi
xor edi, edi
bswap esi
bswap edx
test ebx, ebx
je 0x4f2cb6
mov eax, dword [ecx + 0x28]
push ebp
mov ecx, dword [eax + 4]
mov ebp, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov ecx, edx
mov eax, edx
shr ecx, 5
sub edi, 0x61c88647
add ecx, dword [esp + 0x1c]
shl eax, 4
add eax, ebp
xor ecx, eax
lea eax, [edi + edx]
xor ecx, eax
add esi, ecx
mov ecx, esi
mov eax, esi
shr ecx, 5
add ecx, dword [esp + 0x10]
shl eax, 4
add eax, dword [esp + 0x14]
xor ecx, eax
lea eax, [edi + esi]
xor ecx, eax
add edx, ecx
cmp edi, ebx
jne 0x4f2c77
pop ebp
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4f2cc2
mov ecx, dword [eax]
jmp 0x4f2cc4
xor ecx, ecx
bswap esi
xor esi, ecx
mov ecx, dword [esp + 0x20]
pop edi
mov dword [ecx], esi
pop esi
pop ebx
test eax, eax
je 0x4f2ceb
add eax, 4
test eax, eax
je 0x4f2ceb
mov eax, dword [eax]
bswap edx
xor edx, eax
mov dword [ecx + 4], edx
add esp, 8
ret 0xc
xor eax, eax
bswap edx
xor edx, eax
mov dword [ecx + 4], edx
add esp, 8
ret 0xc

Function at 0x4f2d00
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
mov eax, dword [esp + 4]
push ebp
mov ebp, dword [ecx + 0x2c]
push esi
mov esi, dword [eax]
mov edx, dword [eax + 4]
push edi
xor edi, edi
bswap esi
bswap edx
test ebp, ebp
je 0x4f2d66
push ebx
mov ebx, dword [ecx + 0x28]
lea ecx, [ecx]
mov ecx, edx
mov eax, edx
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, edi
and eax, 3
add ecx, edx
mov eax, dword [ebx + eax*4]
add eax, edi
sub edi, 0x61c88647
xor ecx, eax
add esi, ecx
mov ecx, esi
mov eax, esi
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, edi
shr eax, 0xb
add ecx, esi
and eax, 3
mov eax, dword [ebx + eax*4]
add eax, edi
xor ecx, eax
add edx, ecx
cmp edi, ebp
jne 0x4f2d20
pop ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f2d72
mov ecx, dword [eax]
jmp 0x4f2d74
xor ecx, ecx
bswap esi
xor esi, ecx
mov ecx, dword [esp + 0x18]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
test eax, eax
je 0x4f2d98
add eax, 4
test eax, eax
je 0x4f2d98
mov eax, dword [eax]
bswap edx
xor edx, eax
mov dword [ecx + 4], edx
ret 0xc
xor eax, eax
bswap edx
xor edx, eax
mov dword [ecx + 4], edx
ret 0xc
Function at 0x4f2ee0
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_number_of_rounds
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 0x4f2fe1
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 0x4f3009
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 0x4f3031
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 0x4f3059
push dword [esp + 0x5c]
call fcn.004dbb70
add esp, 4
mov eax, ebx
mov dword [ebx], vtable.CryptoPP::InvalidRounds.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