joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423bb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x2c]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
cmp eax, edx
mov dword [esp + 0xc], edi
jb 0x423c40
mov eax, dword [esi + 0x38]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call fcn.004333c0
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebp
sub dword [esi + 0x6c], ebp
add esp, 0xc
sub dword [esi + 0x5c], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x423c0f
sub eax, ebp
jmp 0x423c11
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x423c00
mov ecx, dword [esi + 0x40]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x423c30
sub eax, ebp
jmp 0x423c32
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x423c21
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x423cf7
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [esp + 0xc]
mov ebx, ecx
cmp ebx, edx
mov dword [esp + 0x10], eax
jbe 0x423c68
mov ebx, edx
test ebx, ebx
je 0x423cb9
mov edx, dword [edi + 0x1c]
sub ecx, ebx
mov dword [edi + 4], ecx
mov ecx, dword [edx + 0x18]
cmp ecx, 1
jne 0x423c8b
mov eax, dword [edi]
mov ecx, dword [edi + 0x30]
push ebx
push eax
push ecx
call fcn.004264c0
jmp 0x423c9d
cmp ecx, 2
jne 0x423ca7
mov edx, dword [edi]
mov eax, dword [edi + 0x30]
push ebx
push edx
push eax
call fcn.004264a0
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [edi]
push ebx
push ecx
push eax
call fcn.004333c0
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x423ce3
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x423cf7
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x423bc0
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x431d07
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4630d0]
jne 0x431d11
repz ret
jmp fcn.00438f65

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x433837
call fcn.004353f1
mov dword [eax], esi
call fcn.004353de
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00438009
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x433813
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x433866
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00435404
pop ecx
call fcn.004353de
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x43388d
test al, 1
je 0x43388d
test byte [esp + 0xc], 2
je 0x43388d
call fcn.004353f1
mov dword [eax], 5
call fcn.004353de
mov dword [eax], 0xd
jmp 0x43385d
xor eax, eax
pop esi
ret
Function at 0x433f1d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x433f5a
cmp dword [ebp + 0x14], edi
je 0x433f5a
cmp ecx, edi
jne 0x433f61
call fcn.004353de
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00438009
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x433f75
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x433f96
cmp ebx, 0xffffffff
je 0x433f85
push ebx
push edi
push ecx
call fcn.004328a0
add esp, 0xc
cmp esi, edi
je 0x433f42
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x433f42
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x433fb2
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x433fb9
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4340aa
test word [esi + 0xc], 0x10c
je 0x43400d
mov eax, dword [esi + 4]
test eax, eax
je 0x43400d
jl 0x43410b
cmp ebx, eax
mov edi, ebx
jb 0x433fde
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4340b2
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00431c31
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4340a2
cmp ebx, dword [ebp - 0xc]
jb 0x43407a
cmp dword [ebp - 0xc], 0
je 0x434037
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x43402c
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x434033
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x434042
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x434042
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4340de
push eax
push dword [ebp - 8]
push esi
call fcn.00433b4b
pop ecx
push eax
call fcn.0043f861
add esp, 0xc
test eax, eax
je 0x43411d
cmp eax, 0xffffffff
je 0x43410b
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4340a2
push esi
call fcn.0043f180
cmp eax, 0xffffffff
pop ecx
je 0x43410f
cmp dword [ebp - 4], 0
je 0x4340de
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x433fc1
mov eax, dword [ebp + 0x14]
jmp 0x433f5c
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4340c9
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004328a0
add esp, 0xc
call fcn.004353de
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x433f52
cmp dword [ebp + 0xc], 0xffffffff
je 0x4340f4
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004328a0
add esp, 0xc
call fcn.004353de
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x433f52
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x433f5c
or dword [esi + 0xc], 0x10
jmp 0x43410f
Function at 0x43a1a6
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x463c58]
je 0x43a1c1
inc edi
cmp edi, 0x17
jb 0x43a1b2
cmp edi, 0x17
jae 0x43a341
push ebp
push 3
call fcn.0044211d
cmp eax, 1
pop ecx
je 0x43a30d
push 3
call fcn.0044211d
test eax, eax
pop ecx
jne 0x43a1f5
cmp dword [0x4630cc], 1
je 0x43a30d
cmp ebx, 0xfc
je 0x43a340
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4675f0
push ebp
call fcn.00441289
add esp, 0xc
test eax, eax
je 0x43a22b
push esi
push esi
push esi
push esi
push esi
call fcn.00437f0d
add esp, 0x14
push 0x104
mov esi, 0x467609
push esi
push 0
mov byte [0x46770d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43a26f
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00441289
add esp, 0xc
test eax, eax
je 0x43a26f
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00437f0d
add esp, 0x14
push esi
call fcn.00440db0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43a2b4
push esi
call fcn.00440db0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x467904
push 0x454a7c
sub ecx, eax
push ecx
push eax
call fcn.00441e66
add esp, 0x14
test eax, eax
je 0x43a2b4
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00437f0d
add esp, 0x14
jmp 0x43a2b6
xor esi, esi
push 0x454a78
push ebx
push ebp
call fcn.00441da1
add esp, 0xc
test eax, eax
je 0x43a2d6
push esi
push esi
push esi
push esi
push esi
call fcn.00437f0d
add esp, 0x14
push dword [edi*8 + 0x463c5c]
push ebx
push ebp
call fcn.00441da1
add esp, 0xc
test eax, eax
je 0x43a2f8
push esi
push esi
push esi
push esi
push esi
call fcn.00437f0d
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00441f60
add esp, 0xc
jmp 0x43a340
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43a340
cmp ebp, 0xffffffff
je 0x43a340
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x463c5c]
push dword [esi]
call fcn.00440db0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x441f60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00439b06
xor ebx, ebx
cmp dword [0x467c60], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x442036
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x442116
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x442116
push eax
call fcn.00439a98
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x467c60], eax
call esi
push eax
call fcn.00439a98
mov dword [esp], 0x455c98
push edi
mov dword [0x467c64], eax
call esi
push eax
call fcn.00439a98
mov dword [0x467c68], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00436fe0
test eax, eax
pop ecx
pop ecx
je 0x442004
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00437f0d
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x442036
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00439a98
cmp eax, ebx
pop ecx
mov dword [0x467c70], eax
je 0x442036
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00439a98
pop ecx
mov dword [0x467c6c], eax
mov eax, dword [0x467c6c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4420bb
cmp dword [0x467c70], ecx
je 0x4420bb
push eax
call fcn.00439b0f
push dword [0x467c70]
mov esi, eax
call fcn.00439b0f
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4420bb
cmp edi, ebx
je 0x4420bb
call esi
cmp eax, ebx
je 0x442088
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x442088
test byte [ebp - 0x18], 1
jne 0x4420bb
lea eax, [ebp - 0x10]
push eax
call fcn.00437017
test eax, eax
pop ecx
je 0x4420a3
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00437f0d
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4420b2
or dword [ebp + 0x10], 0x200000
jmp 0x4420f6
or dword [ebp + 0x10], 0x40000
jmp 0x4420f6
mov eax, dword [0x467c64]
cmp eax, dword [ebp - 8]
je 0x4420f6
push eax
call fcn.00439b0f
cmp eax, ebx
pop ecx
je 0x4420f6
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4420f6
mov eax, dword [0x467c68]
cmp eax, dword [ebp - 8]
je 0x4420f6
push eax
call fcn.00439b0f
cmp eax, ebx
pop ecx
je 0x4420f6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x467c60]
call fcn.00439b0f
cmp eax, ebx
pop ecx
je 0x442116
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x442118
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4041b8
Capabilities:
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4041f4
cmp dword [esp + 0xc], 0
je 0x4041f4
push 0x25
push esi
call fcn.00404525
pop ecx
test eax, eax
pop ecx
je 0x4041e8
push 0x103
push dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
pop esi
ret
push esi
push dword [esp + 0x10]
call fcn.004043f5
pop ecx
pop ecx
pop esi
ret

Function at 0x404680
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4046a9
mov al, byte [esi + 1]
inc esi
test al, al
je 0x4046a1
cmp al, 0x22
jne 0x404695
cmp byte [esi], 0x22
jne 0x4046b3
inc esi
jmp 0x4046b3
cmp al, 0x20
jle 0x4046b3
inc esi
cmp byte [esi], 0x20
jg 0x4046ad
mov al, byte [esi]
test al, al
je 0x4046bd
cmp al, 0x20
jle 0x4046a6
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0040472d
push 0x406004
push section..data
call fcn.00404713
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x4046ed
movzx eax, word [ebp - 0x14]
jmp 0x4046f0
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00404745
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6ac75798
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6f6170c3
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x5ccc1664
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x2d585e8b
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4ce987
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x1c], 0x9e3779b9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], 0x20
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
test eax, eax
jle 0x4cea3c
mov edx, dword [ebp - 8]
sub edx, 0x61c88647
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 8]
xor eax, ecx
mov edx, dword [ebp - 0x20]
shr edx, 5
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
shl edx, 4
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 0x18]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor edx, ecx
mov eax, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x20], eax
jmp 0x4ce9d6
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4cea51
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x1c], 0x9e3779b9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0xc6ef3720
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], 0x20
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
test eax, eax
jle 0x4ceb05
mov edx, dword [ebp - 0x18]
shl edx, 4
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 0x18]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor edx, ecx
mov eax, dword [ebp - 0x20]
sub eax, edx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
shl ecx, 4
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 8]
xor ecx, edx
mov eax, dword [ebp - 0x20]
shr eax, 5
add eax, dword [ebp - 0xc]
xor ecx, eax
mov edx, dword [ebp - 0x18]
sub edx, ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
add eax, 0x61c88647
mov dword [ebp - 8], eax
jmp 0x4ceaa0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4cec6b
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x1c], 0x9e3779b9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], 0x20
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
test eax, eax
jle 0x4ced20
mov edx, dword [ebp - 8]
sub edx, 0x61c88647
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 8]
xor eax, ecx
mov edx, dword [ebp - 0x20]
shr edx, 5
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
shl edx, 4
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 0x18]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor edx, ecx
mov eax, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x20], eax
jmp 0x4cecba
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4ced35
Capabilities:
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x1c], 0x9e3779b9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0xc6ef3720
mov dword [ebp - 0x24], 0x20
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
test eax, eax
jle 0x4cede9
mov edx, dword [ebp - 0x18]
shl edx, 4
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 0x18]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor edx, ecx
mov eax, dword [ebp - 0x20]
sub eax, edx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
shl ecx, 4
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 8]
xor ecx, edx
mov eax, dword [ebp - 0x20]
shr eax, 5
add eax, dword [ebp - 0xc]
xor ecx, eax
mov edx, dword [ebp - 0x18]
sub edx, ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
add eax, 0x61c88647
mov dword [ebp - 8], eax
jmp 0x4ced84
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d0d9c
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [ebp + 0x10], 0x40
jle 0x4d0dc9
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004d0c4b
add esp, 0xc
mov dword [ebp + 0x10], 0x20
lea eax, [ebp - 0x20]
mov dword [ebp + 0xc], eax
push 0x40
push 0x36
mov ecx, dword [ebp + 8]
add ecx, 0x68
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x40
push 0x5c
mov edx, dword [ebp + 8]
add edx, 0xa8
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x4d0e04
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp + 0x10]
jge 0x4d0e54
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x24]
xor eax, eax
mov al, byte [edx + 0x68]
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x24]
xor edx, edx
mov dl, byte [ecx]
xor eax, edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x24]
mov byte [ecx + 0x68], al
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x24]
xor eax, eax
mov al, byte [edx + 0xa8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x24]
xor edx, edx
mov dl, byte [ecx]
xor eax, edx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x24]
mov byte [ecx + 0xa8], al
jmp 0x4d0dfb
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.004cfed8
add esp, 8
push 0x40
mov eax, dword [ebp + 8]
add eax, 0x68
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004cff10
add esp, 0xc
push 0x20
push 0
lea edx, [ebp - 0x20]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov esp, ebp
pop ebp
ret