joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440c20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x828
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
push ebp
mov ebp, dword [esp + 0x83c]
lea eax, [esp + 0x29]
push esi
xor ebx, ebx
mov esi, ecx
push 0x803
push ebx
push eax
mov byte [esp + 0x38], bl
call fcn.004b6030
add esp, 0xc
lea eax, [esp + 0x2c]
lea ecx, [esp + 0xc]
push 1
push 0x804
push eax
push 0xad
call fcn.00441144
mov edx, eax
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x838]
shl al, 6
push ebx
mov word [edx + 7], 0x802
mov byte [edx + 9], 4
mov byte [edx + 0xa], al
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xc]
test al, al
je 0x440cce
push edi
lea edi, [esp + 0x34]
sub edi, ebp
mov eax, ebx
lea esi, [ebx + ebp]
push 5
pop ecx
cdq
idiv ecx
mov ecx, dword [esp + 0x840]
sub ecx, edx
mov cl, byte [ecx + 4]
xor cl, byte [edi + esi]
inc ebx
mov byte [esi], cl
cmp ebx, 0x800
jl 0x440ca4
mov al, 1
pop edi
jmp 0x440cd0
xor al, al
mov ecx, dword [esp + 0x830]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x828
ret 0xc

Function at 0x440fcf
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
push ebx
push ebp
mov ebp, dword [esp + 0x50]
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x10], eax
lea edi, [esp + 0x35]
xor eax, eax
mov byte [esp + 0x34], 0
stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push 1
push 0xc
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x3c]
push eax
push 0xa4
call fcn.00441144
push dword [esp + 0x50]
mov esi, eax
lea eax, [esi + 2]
push eax
call fcn.004486a5
mov eax, dword [esp + 0x50]
pop ecx
shl al, 6
pop ecx
or al, 4
mov byte [esi + 9], 0xc
mov byte [esi + 0xa], al
lea ecx, [esp + 0x14]
mov eax, dword [ebx]
push 0
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test al, al
je 0x4410aa
movzx ecx, byte [esp + 0x34]
mov eax, 0x100
imul cx, ax
movzx eax, byte [esp + 0x35]
add cx, ax
movzx eax, cx
add eax, 2
cmp eax, 0xc
jne 0x4410aa
test ebp, ebp
je 0x441078
mov al, byte [esp + 0x38]
shr al, 7
mov byte [ebp], al
mov eax, dword [esp + 0x10]
lea edi, [esp + 0x39]
push 5
sub edi, eax
xor ebx, ebx
pop ebp
lea esi, [eax + ebx]
mov ecx, dword [esp + 0x4c]
mov eax, ebx
cdq
idiv ebp
mov eax, dword [esp + 0x10]
sub ecx, edx
mov cl, byte [ecx + 4]
xor cl, byte [edi + esi]
inc ebx
mov byte [esi], cl
cmp ebx, ebp
jl 0x441087
mov al, 1
jmp 0x4410ac
xor al, al
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x34
ret 0x14
Function at 0x444e8d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5107c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
jne 0x444eb2
mov al, 1
jmp 0x444f36
cmp dword [esi + 0x14], 0x10
jb 0x444ebc
mov ecx, dword [esi]
jmp 0x444ebe
mov ecx, esi
push eax
push ecx
push 0x8b4f6161
push 0x21104fe0
push 0x961fa74b
call fcn.00401ddf
add esp, 0xc
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004b4a31
mov eax, dword [esi + 0x10]
lea esi, [ebp - 0x108]
add eax, esi
push 0x2f
push eax
call fcn.004b4ee0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x444f29
push ebx
inc esi
lea eax, [ebp - 0x108]
push 0
push eax
mov bl, byte [esi]
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x2f
push esi
mov byte [esi], bl
call fcn.004b4ee0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x444f01
pop ebx
lea eax, [ebp - 0x108]
push eax
call fcn.00419cc8
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b35e5
mov esp, ebp
pop ebp
ret 8

Function at 0x444ff4
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
mov ebx, dword [esp + 0x258]
push ebp
mov ebp, dword [esp + 0x264]
push esi
mov esi, dword [esp + 0x264]
push edi
push str.CBDRegionRemover::EnumFiles
mov edi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebp
call dword [sym.imp.VMProtectSDK32.dll_VMProtectBegin]
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x445084
mov ecx, dword [ecx + 0x5c]
push 0
push ebx
call fcn.00442453
test eax, eax
je 0x445102
mov esi, dword [eax]
jmp 0x44507e
cmp byte [esi + 0xc], 0
jne 0x44507b
push dword [esp + 0x14]
lea ebp, [esi + 0x38]
push ebp
call fcn.004455da
pop ecx
pop ecx
cmp al, 1
jne 0x44507b
push dword [esp + 0x270]
push ebp
push ebx
push edi
call dword [esp + 0x20]
mov esi, dword [esi + 4]
test esi, esi
jne 0x445054
jmp 0x445102
lea eax, [edi + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x44508f
mov eax, dword [eax]
push esi
push ebx
push eax
push 0xf2169d07
push 0x5849b384
push 0xef465157
call fcn.00401ddf
add esp, 0xc
push eax
lea eax, [esp + 0x168]
push eax
call fcn.004b4a31
add esp, 0x14
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x445102
test byte [esp + 0x18], 0x10
jne 0x4450eb
push dword [esp + 0x270]
lea eax, [esp + 0x48]
push eax
push ebx
push edi
call ebp
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4450d4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.VMProtectSDK32.dll_VMProtectEnd]
mov ecx, dword [esp + 0x25c]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x250
ret 0x10
Function at 0x447b6b
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x118
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x124]
mov edx, dword [esp + 0x120]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x130]
xor ebx, ebx
mov ecx, dword [esp + 0x124]
mov dword [esp + 8], eax
lea eax, [ebp + 0x10]
cmp dword [eax + 0x14], 0x10
push esi
jb 0x447bb5
mov eax, dword [eax]
push edx
push ecx
push eax
push 0x9a5ad66a
push 0x3005f8e9
push 0x870a13ae
call fcn.00401ddf
add esp, 0xc
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004b4a31
add esp, 0x14
lea eax, [esp + 0x1c]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x447c03
xor al, al
jmp 0x447c6e
push edi
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x447c2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x447c2c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x447c6d
cmp dword [esp + 0x14], ebx
jne 0x447c64
push edi
lea ecx, [ebp + 0x44]
call fcn.00445212
push ebx
mov ebp, eax
lea eax, [esp + 0x20]
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x447c64
cmp dword [esp + 0x1c], edi
jne 0x447c64
mov eax, dword [esp + 0x10]
mov bl, 1
mov dword [eax], edi
mov eax, dword [esp + 0x18]
mov dword [eax], ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
mov ecx, dword [esp + 0x120]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x118
ret 0x10
Function at 0x448213
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x11c
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x128]
push ebp
mov ebp, dword [esp + 0x130]
push esi
mov esi, dword [esp + 0x12c]
push edi
mov edi, ecx
mov edx, dword [edi + 0x28]
test edx, edx
je 0x448298
lea ecx, [esp + 0x28]
sub ecx, esi
mov al, byte [esi]
mov byte [ecx + esi], al
inc esi
test al, al
jne 0x44824f
mov esi, ebx
mov al, byte [ebx]
inc ebx
test al, al
jne 0x44825b
lea edi, [esp + 0x28]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x448269
push dword [esp + 0x13c]
mov ecx, ebx
lea eax, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
push eax
mov ecx, edx
call fcn.004255b1
jmp 0x448318
push esi
lea eax, [edi + 0x2c]
push eax
call fcn.00444e8d
push ebx
push esi
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.004454e3
cmp dword [esp + 0x24], 0x10
lea esi, [esp + 0x10]
push 0x1f16589f
cmovae esi, dword [esp + 0x14]
push 0xb5497618
push 0x2469ebb
call fcn.00401ddf
push eax
push esi
call fcn.004b6367
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4482f2
push eax
push 1
lea ecx, [esp + 0x18]
call fcn.00402e9f
xor al, al
jmp 0x44831a
push esi
push dword [esp + 0x140]
push 1
push ebp
call fcn.004b7479
push esi
call fcn.004b53ce
add esp, 0x14
lea ecx, [esp + 0x10]
push 0
push 1
call fcn.00402e9f
mov al, 1
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x11c
ret 0x10
Function at 0x44960e
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x4cdd97
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5107c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0x366f3f1a
push 0xd0714aaf
xor ebx, ebx
push 0xd68712cd
mov dword [esp + 0x30], ebx
call fcn.00401e3b
mov ebp, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], ebx
mov byte [ebp], bl
mov eax, dword [esp + 0x40]
mov edi, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], 1
test eax, eax
je 0x4497c0
push 3
pop esi
mov ecx, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x40], eax
mov al, byte [ecx]
mov byte [esp + edi + 0x18], al
inc edi
mov dl, byte [esp + 0x19]
inc ecx
mov dword [esp + 0x3c], ecx
mov ch, byte [esp + 0x1a]
mov cl, byte [esp + 0x18]
mov byte [esp + 0x17], ch
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], cl
cmp edi, esi
jne 0x44971a
mov esi, dword [esp + 0x20]
mov al, cl
shr al, 2
and cl, 3
mov byte [esp + 0x1c], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [esp + 0x1d], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], al
movzx eax, byte [esp + edi + 0x1c]
mov ecx, ebp
movzx eax, byte [eax + esi]
push eax
push 1
call fcn.0044a1b3
inc edi
cmp edi, 4
jl 0x4496f0
mov dl, byte [esp + 0x15]
mov edi, ebx
mov cl, byte [esp + 0x16]
mov ch, byte [esp + 0x17]
push 3
pop esi
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x449684
test edi, edi
je 0x4497c0
mov eax, edi
cmp edi, esi
jge 0x449751
cmp eax, esi
jae 0x4497d8
mov byte [esp + eax + 0x18], bl
inc eax
cmp eax, esi
jl 0x449736
mov ch, byte [esp + 0x1a]
mov dl, byte [esp + 0x19]
mov cl, byte [esp + 0x18]
mov al, cl
and cl, 3
shr al, 2
mov byte [esp + 0x1c], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [esp + 0x1d], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [esp + 0x1f], ch
lea eax, [edi + 1]
mov byte [esp + 0x1e], dl
test eax, eax
jle 0x4497ac
lea esi, [edi + 1]
mov ecx, dword [esp + 0x20]
movzx eax, byte [esp + ebx + 0x1c]
movzx eax, byte [eax + ecx]
mov ecx, ebp
push eax
push 1
call fcn.0044a1b3
inc ebx
cmp ebx, esi
jl 0x44978d
push 3
pop esi
cmp edi, esi
jge 0x4497c0
sub esi, edi
push 0x3d
push 1
mov ecx, ebp
call fcn.0044a1b3
dec esi
jne 0x4497b2
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
call fcn.004b44ed
int3
Function at 0x44b659
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4ce0eb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5107c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x40]
mov ebx, 0x100
movzx edx, byte [ebp]
movzx eax, byte [ebp + 1]
imul dx, bx
add dx, ax
mov word [edi], dx
movzx ecx, byte [ebp + 2]
movzx eax, byte [ebp + 3]
imul cx, bx
add cx, ax
lea eax, [ebp + 4]
push eax
mov word [edi + 2], cx
call fcn.00424b90
mov dword [edi + 4], eax
lea esi, [ebp + 8]
pop ecx
test eax, eax
je 0x44b732
xor ebx, ebx
test eax, eax
je 0x44b714
mov ebp, esi
and dword [esp + 0x20], 0
and dword [esp + 0x24], 0
and dword [esp + 0x28], 0
and dword [esp + 0x38], 0
lea ecx, [esp + 0x1c]
push ebx
push ebp
call fcn.0044bb33
add ebx, eax
lea ecx, [edi + 0x34]
lea eax, [esp + 0x1c]
push eax
lea ebp, [ebx + esi]
call fcn.0044d26b
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0040ad0f
cmp ebx, dword [edi + 4]
jb 0x44b6cc
mov ebp, dword [esp + 0x40]
push dword [esp + 0x40]
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
add eax, esi
push eax
push esi
push dword [edi + 0xc]
call fcn.004448de
add esi, dword [edi + 4]
mov ebx, 0x100
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
add esi, 2
imul cx, bx
xor ebx, ebx
add cx, ax
xor eax, eax
mov word [edi + 0x14], cx
cmp ax, cx
jae 0x44b776
push esi
lea ecx, [esp + 0x18]
call fcn.0044b9d6
add esi, eax
lea ecx, [edi + 0x18]
lea eax, [esp + 0x14]
push eax
call fcn.0041c9d1
movzx eax, word [edi + 0x14]
inc ebx
cmp ebx, eax
jb 0x44b750
mov ebp, dword [esp + 0x40]
movzx ecx, byte [esi]
mov eax, 0x100
imul cx, ax
movzx eax, byte [esi + 1]
xor ebx, ebx
add esi, 2
add cx, ax
xor eax, eax
mov word [edi + 0x24], cx
cmp ax, cx
jae 0x44b7e4
and dword [esp + 0x24], 0
and dword [esp + 0x28], 0
and dword [esp + 0x2c], 0
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 1
call fcn.0044b608
add esi, eax
lea ecx, [edi + 0x28]
lea eax, [esp + 0x1c]
push eax
call fcn.0044d0d0
or dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0040ad0f
movzx ecx, word [edi + 0x24]
inc ebx
cmp ebx, ecx
jb 0x44b799
mov ebp, dword [esp + 0x40]
sub esi, ebp
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x45e83c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0x202
call fcn.004b9a20
mov esi, dword [esp + 0x14]
mov ebx, eax
pop ecx
mov ecx, 0x80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 2]
movsw word es:[edi], word [esi]
mov esi, 0x100
mov edx, esi
mov al, byte [ecx + 0x100]
xor byte [ecx], al
inc ecx
dec edx
jne 0x45e865
push esi
push edx
lea eax, [ebx + 0x102]
push eax
call fcn.004b6030
mov ax, word [esp + 0x20]
add esp, 0xc
mov byte [ebx + 0x201], 1
mov word [ebx], ax
mov al, byte [ebx + 0x201]
pop edi
mov byte [ebx + 0x1ff], al
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45ea2b
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
pop eax
push eax
push edi
call fcn.004b3fe0
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x45ea9c
push dword [esp + 0x10]
add esi, 2
push esi
call ebx
pop ecx
pop ecx
push 0x2e
pop ecx
lea eax, [esi + eax*2]
mov word [eax], cx
push 0x6b
pop ecx
mov word [eax + 2], cx
push 0x65
pop ecx
mov word [eax + 4], cx
push 0x79
pop ecx
mov word [eax + 6], cx
xor ecx, ecx
push edi
mov word [eax + 8], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45ea9c
xor eax, eax
inc eax
jmp 0x45eb29
push edi
xor esi, esi
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x45eab2
sub ecx, edx
sar ecx, 1
lea esi, [edi + ecx*2]
cmp esi, edi
je 0x45ead7
push 0x5c
pop eax
cmp word [esi - 2], ax
je 0x45ead7
mov word [esi], ax
add esi, 2
push dword [esp + 0x10]
push esi
call ebx
push 0x5c
lea esi, [esi + eax*2]
pop eax
push dword [esp + 0x18]
mov word [esi], ax
add esi, 2
push esi
call ebx
add esp, 0x10
lea eax, [esi + eax*2]
push 0x2e
pop ecx
mov word [eax], cx
push 0x6b
pop ecx
mov word [eax + 2], cx
push 0x65
pop ecx
mov word [eax + 4], cx
push 0x79
pop ecx
mov word [eax + 6], cx
xor ecx, ecx
push edi
mov word [eax + 8], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
pop ebx
ret
Function at 0x45eb2d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x38
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x34], eax
and dword [esp + 0x18], 0
and dword [esp + 0x30], 0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4c]
push 0x400
mov dword [esp + 0x18], 0x45422023
mov dword [esp + 0x1c], 0x204e4947
mov dword [esp + 0x20], 0x4543494c
mov dword [esp + 0x24], 0x2045534e
mov dword [esp + 0x28], 0x59454b
mov dword [esp + 0x30], 0x4e452023
mov dword [esp + 0x34], 0x494c2044
mov dword [esp + 0x38], 0x534e4543
mov dword [esp + 0x3c], 0x454b2045
mov dword [esp + 0x40], 0x59
call fcn.004b9a20
pop ecx
mov ebx, eax
mov dword [esp + 0x10], 0xbfbbef
movzx eax, word [edi]
lea ecx, [esp + 0x10]
mov ebp, ebx
mov esi, edi
cmp ax, word [ecx]
jne 0x45ebce
movzx eax, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x45ebce
lea esi, [edi + 3]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004b9c00
pop ecx
pop ecx
test eax, eax
je 0x45ebf6
lea esi, [eax + 0x13]
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.004b9c00
pop ecx
pop ecx
test eax, eax
je 0x45ebf6
mov byte [eax], 0
cmp byte [esi], 0
je 0x45ec55
push 0xa
push esi
call fcn.004b4ee0
pop ecx
pop ecx
test eax, eax
je 0x45ec11
mov byte [eax], 0
lea ecx, [eax + 1]
jmp 0x45ec21
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45ec16
sub ecx, edx
add ecx, esi
test ecx, ecx
je 0x45ec55
mov al, byte [esi]
cmp al, 0x20
je 0x45ec2f
cmp al, 9
jne 0x45ec32
inc esi
jmp 0x45ec25
mov al, byte [esi]
cmp al, 0x23
je 0x45ec51
jmp 0x45ec4d
cmp al, 0xd
je 0x45ec4a
cmp al, 0x20
je 0x45ec4a
cmp al, 9
je 0x45ec4a
mov byte [ebp], al
inc ebp
inc esi
mov al, byte [esi]
test al, al
jne 0x45ec3a
mov esi, ecx
jmp 0x45ebf6
mov byte [ebp], 0
mov ecx, ebx
sub edi, ebx
mov al, byte [ecx]
mov byte [edi + ecx], al
inc ecx
test al, al
jne 0x45ec5d
push ebx
call fcn.004b592c
pop ecx
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x38
ret
Function at 0x463328
Capabilities:
Hash data using sha1

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push edi
push 0x50
pop ecx
lea edi, [edx + 0x28]
rep stosd dword es:[edi], eax
and dword [edx + 4], eax
and dword [edx], eax
mov dword [edx + 8], 0x67452301
mov dword [edx + 0xc], 0xefcdab89
mov dword [edx + 0x10], 0x98badcfe
mov dword [edx + 0x14], 0x10325476
mov dword [edx + 0x18], 0xc3d2e1f0
pop edi
ret

Function at 0x46339e
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x18
push ebx
push ebp
push esi
push edi
lea ebx, [edx + 0x28]
push 0x40
mov ecx, ebx
pop esi
mov eax, dword [ecx + 0x34]
xor eax, dword [ecx + 0x20]
xor eax, dword [ecx + 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x3c], eax
dec esi
jne 0x4633b1
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 8]
mov edi, dword [edx + 0x10]
mov ebp, dword [edx + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 0x18]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 0x14
mov esi, dword [esp + 0x10]
mov ecx, eax
mov eax, ebp
rol ecx, 5
xor eax, edi
mov dword [esp + 0x10], ebp
and eax, edx
add esi, 0x5a827999
xor eax, ebp
mov ebp, edi
add ecx, eax
mov edi, edx
add ecx, dword [ebx]
lea ebx, [ebx + 4]
mov edx, dword [esp + 0x14]
add esi, ecx
ror edi, 2
mov eax, esi
dec dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jne 0x4633f2
mov eax, dword [esp + 0x2c]
mov ebx, edx
push 0x14
add eax, 0x78
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
pop ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov eax, ebp
rol esi, 5
xor eax, edi
add edx, 0x6ed9eba1
xor eax, ebx
add esi, eax
mov eax, dword [esp + 0x1c]
add esi, dword [eax]
add eax, 4
add esi, edx
mov dword [esp + 0x1c], eax
mov edx, ebp
mov ebp, edi
mov edi, ebx
mov ebx, dword [esp + 0x14]
ror edi, 2
dec dword [esp + 0x20]
mov dword [esp + 0x14], esi
jne 0x463449
mov eax, dword [esp + 0x2c]
add eax, 0xc8
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov ecx, edi
rol esi, 5
or ecx, ebx
mov eax, edi
and eax, ebx
and ecx, ebp
or ecx, eax
add esi, 0x8f1bbcdc
mov eax, dword [esp + 0x20]
add ecx, edx
mov edx, ebp
mov ebp, edi
mov edi, ebx
mov ebx, dword [esp + 0x14]
ror edi, 2
add esi, dword [eax]
add eax, 4
add esi, ecx
mov dword [esp + 0x20], eax
dec dword [esp + 0x1c]
mov dword [esp + 0x14], esi
jne 0x463495
mov ecx, dword [esp + 0x2c]
push 0x14
mov dword [esp + 0x14], edx
add ecx, 0x118
pop edx
rol esi, 5
mov eax, ebp
xor eax, edi
add esi, 0xca62c1d6
add esi, dword [esp + 0x10]
xor eax, ebx
add eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esp + 0x10], ebp
add esi, eax
mov ebp, edi
mov edi, ebx
mov ebx, dword [esp + 0x14]
ror edi, 2
mov dword [esp + 0x14], esi
dec edx
jne 0x4634e3
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add eax, esi
add dword [edx + 0x10], edi
add dword [edx + 0x14], ebp
add dword [edx + 0xc], ebx
pop edi
pop esi
mov dword [edx + 8], eax
mov eax, dword [esp + 8]
add dword [edx + 0x18], eax
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x469f8f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x469f9a
xor eax, eax
ret
mov ecx, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x46a057
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4da400]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4da400]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4da400]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4da400]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4da400]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4da400]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4da400]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4da400]
dec edi
jne 0x469fba
pop edi
test esi, esi
je 0x46a070
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4da400]
inc edx
dec esi
jne 0x46a05b
not ecx
pop esi
mov eax, ecx
pop ebx
ret