joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489b60
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae9ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x489cd1
mov dword [ebp - 0x28], 0x11
mov dword [ebp - 0x2c], str.yrf_auhijelv_wemuihcgn_etdmmshaj_poh_jypxzy_jhvpvsnvb_mlil_oubg_inezmsl_sxcd_xpbll_ftjoiqo_beesegk
cmp dword [ebp - 0x28], 0x380
jle 0x489c49
and dword [ebp - 0x20], 0
jmp 0x489bb6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5cd8
jge 0x489c49
and dword [ebp - 0x18], 0
jmp 0x489bd0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xdc8
jge 0x489c44
and dword [ebp - 0x1c], 0
jmp 0x489be6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6a02
jge 0x489c42
and dword [ebp - 0x24], 0
jmp 0x489bfc
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x665
jge 0x489c40
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
push dword [ebp - 0x40]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.004018f3
pop ecx
pop ecx
mov ecx, eax
call fcn.0042fa1f
push eax
call fcn.00498447
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.0042fa15
jmp 0x489bf5
jmp 0x489bdf
jmp 0x489bc9
jmp 0x489baf
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0xfffffe8e
jge 0x489c65
push dword [ebp - 0x2c]
call fcn.00498447
pop ecx
jmp 0x489c81
or dword [ebp - 4], 0xffffffff
jmp 0x489c8b
lea eax, [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x489cbd
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x489cbb
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x489ccf
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x489ccf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x489cd9
push 0
call fcn.0047031a
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a996f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4af7c0]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0049c31b
mov dword [ebp - 0x14], eax
cmp dword [0xabcfbc], esi
jne 0x4a9a62
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4a99ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4a9b42
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4a9b42
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a9b42
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xabcfbc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xabcfc0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xabcfc4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xabcfcc], eax
test eax, eax
je 0x4a9a5f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xabcfc8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4a9a87
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a9a7a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4a9a9c
push 4
pop eax
jmp 0x4a9b44
cmp dword [ebp - 0x14], esi
je 0x4a9a9c
push dword [0xabcfbc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4a9a81
mov eax, dword [0xabcfc8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4a9afa
cmp dword [0xabcfcc], edi
je 0x4a9afa
push eax
call ebx
push dword [0xabcfcc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4a9afa
test eax, eax
je 0x4a9afa
call ecx
test eax, eax
je 0x4a9aef
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 0x4a9aef
test byte [ebp - 8], 1
jne 0x4a9afa
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4a9b2a
mov eax, dword [0xabcfc0]
cmp eax, edi
je 0x4a9b27
push eax
call ebx
test eax, eax
je 0x4a9b27
call eax
mov esi, eax
test esi, esi
je 0x4a9b27
mov eax, dword [0xabcfc4]
cmp eax, edi
je 0x4a9b27
push eax
call ebx
test eax, eax
je 0x4a9b27
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xabcfbc]
call ebx
test eax, eax
je 0x4a9b42
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4a9b44
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049977b
mov esp, ebp
pop ebp
ret
Function at 0x64de8d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x658378
cmp edx, dword [eax]
je 0x64deaf
add eax, 8
inc ecx
cmp eax, 0x658408
jl 0x64dea0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x658378]
jne 0x64dfdd
mov eax, dword [0xa5bcd0]
cmp eax, 1
je 0x64dfb7
test eax, eax
jne 0x64dee0
cmp dword [0x6582a4], 1
je 0x64dfb7
cmp edx, 0xfc
je 0x64dfdd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64df17
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064e870
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064ed00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64df5a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064ed00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x653d3c
push edi
call fcn.00650bd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064e870
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0064e880
lea eax, [ebp - 0xa0]
push 0x653d1c
push eax
call fcn.0064e880
push dword [esi + 0x65837c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064e880
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00650b44
add esp, 0x2c
pop edi
jmp 0x64dfdd
lea eax, [ebp + 8]
lea esi, [esi + 0x65837c]
push 0
push eax
push dword [esi]
call fcn.0064ed00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10001038
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4
Function at 0x100036c9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, ecx
sub esp, 0x14
lea edi, [eax + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
movsd dword es:[edi], dword [esi]
lea edx, [eax + 0x18]
pop ecx
mov esi, edx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
call fcn.1000413e
mov edx, dword [ebp + 8]
mov ebx, edx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10003702
mov esi, dword [ebp - 4]
push 0x10
pop eax
sub ebx, ecx
cmp ebx, eax
cmovl eax, ebx
push eax
lea ecx, [esi + 8]
push edx
push ecx
mov dword [ebp + 0xc], ecx
call fcn.10036340
mov edx, dword [ebp + 0xc]
add esp, 0xc
add esi, 0x2c
push 5
pop ecx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x20]
xor byte [edx + ecx], al
inc ecx
cmp ecx, 0x10
jl 0x10003737
mov eax, dword [ebp - 4]
sub esp, 0x14
lea edx, [eax + 4]
push 5
pop ecx
mov edi, esp
lea esi, [eax + 0x18]
rep movsd dword es:[edi], dword [esi]
push edx
mov ecx, eax
mov dword [ebp - 0xc], edx
call fcn.10003abf
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10
movsd dword es:[edi], dword [esi]
pop edi
add eax, edi
add edx, edi
mov dword [ebp + 0x10], eax
mov eax, edi
mov dword [ebp + 8], edx
cmp ebx, edi
jle 0x10003824
add ebx, 0xffffffef
shr ebx, 4
inc ebx
lea eax, [ebx + 1]
shl eax, 4
mov dword [ebp - 0x10], eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000379d
sub ecx, esi
cmp ecx, edi
jbe 0x100037ae
mov ecx, edi
jmp 0x100037bc
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100037b3
sub ecx, esi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ecx
stosd dword es:[edi], eax
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.10036340
mov edx, dword [ebp + 0xc]
add esp, 0xc
xor ecx, ecx
mov al, byte [ebp + ecx - 0x20]
xor byte [edx + ecx], al
inc ecx
cmp ecx, 0x10
jl 0x100037d9
mov esi, dword [ebp - 8]
sub esp, 0x14
push 5
pop ecx
mov edi, esp
push dword [ebp - 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
call fcn.10003abf
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10
movsd dword es:[edi], dword [esi]
pop edi
add eax, edi
add edx, edi
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], edx
dec ebx
jne 0x10003798
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1000382b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov ebx, ecx
sub esp, 0x14
lea edi, [ebx + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x18]
pop ecx
mov esi, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
call fcn.1000413e
add ebx, 8
push 0x10
pop edx
cmp dword [ebp + 0xc], edx
mov eax, edx
cmovl eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
mov dword [ebp + 0x10], ebx
push ebx
call fcn.10036340
mov edx, dword [ebp - 4]
add esp, 0xc
lea esi, [edx + 0x2c]
push 5
pop ecx
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
push 0x10
xor ecx, ecx
pop esi
mov al, byte [ebp + ecx - 0x24]
xor byte [ebx + ecx], al
inc ecx
cmp ecx, esi
jl 0x1000388e
sub esp, 0x14
lea eax, [edx + 4]
push 5
pop ecx
mov edi, esp
lea esi, [edx + 0x18]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
mov dword [ebp - 0xc], eax
call fcn.10003abf
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
push 0x10
pop edi
add eax, edi
add esi, edi
mov dword [ebp + 0x14], eax
mov eax, edi
mov dword [ebp + 8], esi
cmp ecx, edi
jle 0x1000396c
lea ebx, [ecx - 0x11]
shr ebx, 4
inc ebx
lea edx, [ecx - 0x10]
lea eax, [ebx + 1]
shl eax, 4
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x14], eax
cmp edx, edi
mov ecx, edx
cmovg ecx, edi
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ecx
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 0x10], ecx
call fcn.10036340
mov edx, dword [ebp + 0x10]
add esp, 0xc
xor ecx, ecx
push 0x10
pop esi
mov al, byte [ebp + ecx - 0x24]
xor byte [edx + ecx], al
inc ecx
cmp ecx, esi
jl 0x1000391d
mov esi, dword [ebp - 8]
sub esp, 0x14
push 5
pop ecx
mov edi, esp
push dword [ebp - 0xc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
call fcn.10003abf
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
add esi, dword [ebp - 0x10]
push 0x10
pop edi
add eax, edi
sub edx, edi
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], esi
dec ebx
jne 0x100038f3
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10003973
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, ecx
sub esp, 0x14
lea edi, [ebx + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
mov dword [ebp - 8], eax
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x18]
pop ecx
mov esi, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], eax
call fcn.1000413e
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
add ebx, 8
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x14
movsd dword es:[edi], dword [esi]
push 5
pop ecx
mov edi, esp
lea edx, [eax + 4]
lea esi, [eax + 0x18]
rep movsd dword es:[edi], dword [esi]
push edx
mov ecx, eax
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x10], edx
call fcn.10003b8f
mov esi, dword [ebp - 4]
push 5
add esi, 0x2c
pop ecx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x20]
xor byte [ebx + ecx], al
inc ecx
cmp ecx, 0x10
jl 0x100039e7
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov edi, eax
mov esi, ebx
mov ebx, dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0x10
push 0x10
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x10], eax
pop eax
add edx, eax
movsd dword es:[edi], dword [esi]
mov dword [ebp + 8], edx
cmp ebx, eax
jle 0x10003a81
mov ecx, dword [ebp + 0xc]
add ebx, 0xffffffef
shr ebx, 4
inc ebx
lea eax, [ebx + 1]
shl eax, 4
mov dword [ebp + 0x14], eax
mov edi, ecx
mov esi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x14
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc]
push 5
pop ecx
mov edi, esp
push dword [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
call fcn.10003b8f
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp - 8]
push 0x10
mov edx, ecx
pop edi
mov al, byte [esi]
xor byte [edx], al
inc esi
inc edx
dec edi
jne 0x10003a55
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [ebp - 8], esi
mov edi, eax
mov esi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0x10
add edx, 0x10
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], edx
dec ebx
jne 0x10003a2a
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10003abf
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push edi
lea ebx, [ecx + 4]
lea esi, [ebp + 0xc]
push 0x10
mov dword [ebp - 0x10], ebx
mov edx, ebx
sub esi, ecx
pop edi
mov al, byte [esi + edx]
xor byte [edx], al
inc edx
dec edi
jne 0x10003ade
lea eax, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, 0x68
push 0x10
mov dword [ebp + 0x1c], eax
mov dword [ebp - 4], 9
pop edx
push 5
pop ecx
mov esi, eax
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
movzx eax, byte [ecx]
mov al, byte [eax + 0x100656f0]
mov byte [ecx], al
inc ecx
dec edx
jne 0x10003b0e
mov edx, dword [ebp + 8]
push edx
call fcn.10003c6e
push edx
call fcn.10003d60
push 0x10
pop edx
mov esi, ebx
mov ebx, dword [ebp - 0xc]
mov edi, edx
mov al, byte [ebx + esi]
xor byte [esi], al
inc esi
dec edi
jne 0x10003b36
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp - 0x10]
add eax, 0x14
dec dword [ebp - 4]
mov dword [ebp + 0x1c], eax
jne 0x10003b02
mov esi, dword [ebp - 8]
push 5
add esi, 0x11c
pop ecx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov esi, edx
movzx eax, byte [ecx]
mov al, byte [eax + 0x100656f0]
mov byte [ecx], al
inc ecx
dec esi
jne 0x10003b65
push dword [ebp + 8]
call fcn.10003c6e
mov eax, dword [ebp - 0xc]
mov al, byte [ebx + eax]
xor byte [ebx], al
inc ebx
dec edx
jne 0x10003b7c
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x10003b8f
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov eax, ecx
push 5
pop ecx
lea esi, [eax + 0x11c]
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
push 0x10
lea ebx, [edi + 4]
mov dword [ebp - 4], ebx
mov ecx, ebx
lea ebx, [ebp - 0x28]
sub ebx, edi
pop edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
mov esi, edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
inc ecx
dec esi
jne 0x10003bc3
push edi
call fcn.10003ce7
mov ebx, dword [ebp - 4]
mov ecx, ebx
mov esi, edx
movzx eax, byte [ecx]
mov al, byte [eax + 0x100657f0]
mov byte [ecx], al
inc ecx
dec esi
jne 0x10003bd9
mov esi, dword [ebp - 0x10]
add esi, 0x108
mov dword [ebp - 8], 9
mov dword [ebp - 0xc], esi
push 5
pop ecx
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [ebp - 0x14]
mov al, byte [ecx + ebx]
xor byte [ecx], al
inc ecx
dec edx
jne 0x10003c08
mov ebx, dword [ebp + 8]
push ebx
call fcn.10003e4d
push ebx
call fcn.10003ce7
mov ebx, dword [ebp - 4]
push 0x10
pop edx
mov ecx, ebx
mov esi, edx
movzx eax, byte [ecx]
mov al, byte [eax + 0x100657f0]
mov byte [ecx], al
inc ecx
dec esi
jne 0x10003c2a
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
dec eax
sub esi, 0x14
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esi
test eax, eax
jg 0x10003bfb
mov esi, dword [ebp - 0x10]
push 5
add esi, 0x54
pop ecx
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
mov al, byte [ebx + eax]
xor byte [ebx], al
inc ebx
dec edx
jne 0x10003c5b
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x10003d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x27]
push 0x1b
sub esi, edi
lea ecx, [edi + 6]
sub eax, edi
pop edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], edx
mov bl, byte [ecx - 1]
mov cl, byte [ecx - 2]
mov al, bl
shr al, 7
imul dl
mov dl, al
mov al, cl
shr al, 7
imul byte [ebp - 0xc]
mov byte [ebp - 2], cl
xor cl, bl
mov edi, dword [ebp - 0x10]
add cl, cl
mov dh, al
mov eax, dword [ebp - 8]
xor cl, dh
mov ch, byte [eax + 1]
mov bh, byte [eax]
xor cl, dl
xor cl, bl
xor cl, ch
xor cl, bh
mov byte [ebp + edi*4 - 0x24], cl
mov al, bh
shr al, 7
imul byte [ebp - 0xc]
mov byte [ebp - 1], bl
mov cl, bl
xor cl, bh
add cl, cl
xor cl, dl
xor cl, byte [ebp - 2]
mov bl, al
xor cl, ch
xor cl, bl
mov al, ch
shr al, 7
imul byte [ebp - 0xc]
mov ah, byte [ebp - 2]
xor cl, bh
mov byte [ebp + edi*4 - 0x23], cl
mov edi, dword [ebp - 8]
mov dl, al
mov cl, ch
xor cl, bh
add cl, cl
xor cl, dl
xor cl, ah
xor cl, byte [ebp - 1]
mov al, ah
xor al, ch
add al, al
xor al, dl
xor al, dh
xor cl, ch
xor al, ah
xor al, byte [ebp - 1]
xor cl, bl
mov byte [esi + edi], cl
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x14]
xor al, bh
mov byte [edi + ecx], al
mov eax, dword [ebp - 0x10]
inc eax
add ecx, 4
push 0x1b
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ecx
pop edx
cmp eax, 4
jl 0x10003d89
mov edi, dword [ebp + 8]
push 5
pop ecx
lea esi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000413e
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 0x30], 0
push ebx
push esi
push edi
mov eax, ecx
push 5
xor edx, edx
lea edi, [eax + 0x54]
pop ecx
lea esi, [ebp + 8]
inc edx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x14], 0x40
mov dword [ebp - 0x10], 0x80
mov dword [ebp - 0xc], 0x1b
mov dword [ebp - 8], 0x36
lea ecx, [eax + 0x68]
lea edi, [ecx + 4]
mov dword [ecx], edi
lea eax, [edi - 8]
mov dword [ecx - 0x14], eax
mov eax, dword [eax]
ror eax, 8
push 4
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
pop ebx
movzx eax, byte [esi]
mov al, byte [eax + 0x100656f0]
mov byte [esi], al
inc esi
dec ebx
jne 0x100041b9
mov eax, dword [ebp + edx*4 - 0x30]
xor eax, dword [ebp - 4]
lea esi, [ecx - 0x10]
mov dword [ecx - 0x14], esi
xor eax, dword [esi]
push 3
mov dword [edi], eax
mov ebx, dword [ecx]
mov esi, dword [ecx - 0x14]
add ebx, 4
add esi, 4
mov dword [ecx], ebx
mov dword [ecx - 0x14], esi
pop edi
mov eax, dword [ebx - 4]
xor eax, dword [esi]
mov dword [ebx], eax
mov ebx, dword [ecx]
mov esi, dword [ecx - 0x14]
add ebx, 4
add esi, 4
mov dword [ecx], ebx
mov dword [ecx - 0x14], esi
dec edi
jne 0x100041ec
lea edi, [ecx + 4]
lea esi, [ecx - 0x10]
mov dword [ecx], edi
mov dword [ecx - 0x14], esi
inc edx
add ecx, 0x14
cmp edx, 0xb
jl 0x100041a0
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x10004241
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
xor ecx, ecx
mov word [eax + 0x1c], cx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
pop ebp
ret 4