joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c3a0
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x164
mov eax, dword [0x4d500c]
xor eax, esp
mov dword [esp + 0x160], eax
push ebp
mov ebp, dword [esp + 0x16c]
push esi
push edi
mov edi, dword [esp + 0x178]
mov eax, dword [ebp]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
cmp eax, 2
jne 0x45c49b
mov eax, dword [ebp + 4]
push ebx
push 0
push 0
push 0
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x140]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push 0x20
push edi
call fcn.0045d650
lea ecx, [esp + 0x155]
mov eax, 2
sub eax, ecx
lea edx, [esp + 0x155]
xor ebp, ebp
mov dword [esp + 0x38], eax
mov ecx, 3
add esp, 0x24
xor ebx, ebx
sub ecx, edx
mov dword [esp + 0x10], ecx
lea edi, [ebp + 1]
mov edi, edi
lea esi, [esp + 0x131]
add esi, ebp
movzx edx, byte [esi + 1]
lea ecx, [eax + esi]
movzx eax, byte [esi - 1]
and ecx, 3
shl ecx, 3
shl edx, cl
mov ecx, ebp
and ecx, 3
add ebp, 4
shl ecx, 3
shl eax, cl
mov ecx, edi
xor edx, eax
and ecx, 3
movzx eax, byte [esi]
add edi, 4
shl ecx, 3
shl eax, cl
mov ecx, dword [esp + 0x10]
xor edx, eax
movzx eax, byte [esi + 2]
add ecx, esi
and ecx, 3
xor ebx, edx
shl ecx, 3
shl eax, cl
xor ebx, eax
mov eax, dword [esp + 0x14]
cmp edi, 0x21
jb 0x45c430
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp]
mov dword [ebp + 4], ebx
pop ebx
cmp eax, 3
jne 0x45c634
lea eax, [esp + 0xec]
xor edx, edx
sub edi, eax
nop
lea ecx, [esp + 0xec]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor al, 0x36
mov byte [ecx], al
cmp edx, 0x20
jb 0x45c4b0
lea eax, [esp + 0x1c]
mov dword [esp + 0x10c], 0x36363636
push eax
mov dword [esp + 0x114], 0x36363636
mov dword [esp + 0x118], 0x36363636
mov dword [esp + 0x11c], 0x36363636
mov dword [esp + 0x120], 0x36363636
mov dword [esp + 0x124], 0x36363636
mov dword [esp + 0x128], 0x36363636
mov dword [esp + 0x12c], 0x36363636
call fcn.0046a470
push 0x40
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0046a4c0
push 0x20
add ebp, 4
lea eax, [esp + 0x30]
push ebp
push eax
call fcn.0046a4c0
lea eax, [esp + 0x148]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0046a360
add esp, 0x24
xor edx, edx
lea ecx, [esp + 0xec]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor al, 0x5c
mov byte [ecx], al
cmp edx, 0x20
jb 0x45c563
lea eax, [esp + 0x84]
mov dword [esp + 0x10c], 0x5c5c5c5c
push eax
mov dword [esp + 0x114], 0x5c5c5c5c
mov dword [esp + 0x118], 0x5c5c5c5c
mov dword [esp + 0x11c], 0x5c5c5c5c
mov dword [esp + 0x120], 0x5c5c5c5c
mov dword [esp + 0x124], 0x5c5c5c5c
mov dword [esp + 0x128], 0x5c5c5c5c
mov dword [esp + 0x12c], 0x5c5c5c5c
call fcn.0046a470
push 0x40
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0046a4c0
push 0x20
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.0046a4c0
lea eax, [esp + 0x168]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.0046a360
mov ecx, 8
lea esi, [esp + 0x170]
mov edi, ebp
add esp, 0x24
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0044ae26
add esp, 0x164
ret
Function at 0x45c990
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x190
mov eax, dword [0x4d500c]
xor eax, esp
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x1a4]
push ebx
push ebp
mov ebp, dword [esp + 0x1a8]
push esi
push edi
mov edi, dword [esp + 0x1ac]
mov esi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1bc]
mov dword [esp + 0x14], eax
cmp byte [edi + 0x100], 0
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x10], eax
je 0x45cb9e
mov ebx, dword [esp + 0x1a8]
test ebx, ebx
je 0x45cb9e
push 0x80
lea eax, [esp + 0xa0]
mov dword [esi + 0xa98], ebx
push eax
mov ecx, edi
call fcn.00450d10
push 0x80
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.0044ff70
dec ebx
add esp, 0xc
cmp ebx, 4
ja case.default.0x45ca33
jmp dword [ebx*4 + 0x45cbbc]
mov cl, byte [esp + 0x1c]
mov word [esi + 0x10b5], 0
mov byte [esi + 0x10b4], 0
test cl, cl
je case.default.0x45ca33
xor al, al
lea edx, [esp + 0x1c]
xor bl, bl
xor ah, ah
add al, cl
lea edx, [edx + 1]
add ah, cl
rol al, 1
xor bl, cl
mov cl, byte [edx]
test cl, cl
jne 0x45ca60
mov byte [esi + 0x10b6], al
mov byte [esi + 0x10b5], bl
mov byte [esi + 0x10b4], ah
jmp case.default.0x45ca33
lea eax, [esi + 0xba4]
push eax
call fcn.0045eb40
lea ecx, [esp + 0x20]
add esp, 4
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45caa0
sub ecx, edx
lea eax, [esp + 0x1c]
push ecx
push eax
push 0xffffffffffffffff
call fcn.0045ea10
mov dl, byte [esp + 0x28]
add esp, 0xc
mov word [esi + 0x10b8], ax
shr eax, 0x10
mov word [esi + 0x10ba], ax
xor eax, eax
mov dword [esi + 0x10bc], eax
test dl, dl
je case.default.0x45ca33
xor edi, edi
lea ebp, [esp + 0x1c]
xor ebx, ebx
movzx eax, dl
lea ebp, [ebp + 1]
movzx edx, dl
lea ecx, [esi + eax*4]
movzx eax, word [ecx + 0xba4]
xor ax, dx
xor bx, ax
mov word [esi + 0x10bc], bx
movzx eax, word [ecx + 0xba6]
add ax, dx
mov dl, byte [ebp]
add di, ax
mov word [esi + 0x10be], di
test dl, dl
jne 0x45cae6
jmp case.default.0x45ca33
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0045cbd0
jmp case.default.0x45ca33
push ebp
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
push edi
push dword [esp + 0x1b0]
call fcn.0045ced0
jmp case.default.0x45ca33
push dword [esp + 0x10]
lea eax, [esp + 0xa0]
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x1c0]
push dword [esp + 0x24]
push ebp
push eax
push edi
push dword [esp + 0x1c0]
call fcn.0045d2b0
lea eax, [esp + 0x1c]
push 0x80
push eax
call fcn.00451010
lea eax, [esp + 0xa4]
push 0x100
push eax
call fcn.00451010
add esp, 0x10
mov al, 1
jmp 0x45cba0
xor al, al
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044ae26
add esp, 0x190
ret 0x20
Function at 0x45d5c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [ecx + 0x10ac]
add edx, 2
push ebp
mov ebp, dword [ecx + 0x10b0]
push esi
mov esi, dword [ecx + 0x10a4]
push edi
mov edi, dword [ecx + 0x10a8]
mov dword [esp + 0x14], 4
jmp 0x45d5f0
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
xor esi, dword [ecx + eax*4 + 0xba4]
mov dword [ecx + 0x10a4], esi
movzx eax, byte [edx - 5]
xor edi, dword [ecx + eax*4 + 0xba4]
mov dword [ecx + 0x10a8], edi
movzx eax, byte [edx - 4]
xor ebx, dword [ecx + eax*4 + 0xba4]
mov dword [ecx + 0x10ac], ebx
movzx eax, byte [edx - 3]
xor ebp, dword [ecx + eax*4 + 0xba4]
sub dword [esp + 0x14], 1
mov dword [ecx + 0x10b0], ebp
jne 0x45d5f0
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x45d8d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x19c
mov eax, dword [0x4d500c]
xor eax, esp
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x1b8]
mov ecx, dword [esp + 0x1a8]
push ebx
mov ebx, dword [esp + 0x1b4]
push ebp
mov ebp, dword [esp + 0x1bc]
push esi
mov esi, dword [esp + 0x1b8]
mov dword [esp + 0x10], eax
mov eax, esi
push edi
mov edi, dword [esp + 0x1b0]
mov dword [esp + 0x18], edi
cmp esi, 0x40
jb 0x45d926
mov eax, 0x40
push eax
push ecx
lea eax, [esp + 0x14c]
push eax
call fcn.004723c0
add esp, 0xc
cmp esi, 0x44
jae 0x45db4e
lea eax, [esi + 1]
mov byte [esp + esi + 0x144], 0
cmp eax, 0x44
jae 0x45db4e
mov byte [esp + eax + 0x144], 0
lea eax, [esi + 2]
cmp eax, 0x44
jae 0x45db4e
push 0
push 0
push 0
mov byte [esp + eax + 0x150], 0
lea eax, [esp + 0x130]
push 0
push eax
lea eax, [esi + 4]
mov byte [esp + esi + 0x15b], 1
push eax
lea eax, [esp + 0x15c]
push eax
push dword [esp + 0x1d0]
push edi
call fcn.0045d650
mov eax, dword [esp + 0x1f0]
lea esi, [esp + 0x148]
dec eax
mov dword [esp + 0x120], ebp
add esp, 0x24
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x14]
lea edi, [esp + 0x104]
mov ecx, 8
mov dword [esp + 0xf0], 0x10
xor ebp, ebp
mov dword [esp + 0xf4], 0x10
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x100], eax
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
mov dword [esp + 0x14], ebp
jmp 0x45da10
mov ebx, dword [esp + ebp + 0xec]
test ebx, ebx
je 0x45dad1
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1b]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x198]
push eax
push 0x20
lea eax, [esp + 0x13c]
push eax
push dword [esp + 0x1d0]
push ebp
call fcn.0045d650
mov ecx, 8
lea esi, [esp + 0x1ac]
lea edi, [esp + 0x148]
add esp, 0x24
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x45da80
movzx ecx, byte [esp + eax + 0x124]
xor byte [esp + eax + 0x104], cl
movzx ecx, byte [esp + eax + 0x125]
xor byte [esp + eax + 0x105], cl
movzx ecx, byte [esp + eax + 0x126]
xor byte [esp + eax + 0x106], cl
movzx ecx, byte [esp + eax + 0x127]
xor byte [esp + eax + 0x107], cl
add eax, 4
cmp eax, 0x20
jb 0x45da80
sub ebx, 1
jne 0x45da23
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + ebp + 0xf8]
lea esi, [esp + 0x104]
add ebp, 4
mov ecx, 8
mov dword [esp + 0x14], ebp
rep movsd dword es:[edi], dword [esi]
cmp ebp, 0xc
jb 0x45da10
lea eax, [esp + 0x144]
push 0x44
push eax
call fcn.00451010
lea eax, [esp + 0x10c]
push 0x20
push eax
call fcn.00451010
lea eax, [esp + 0x134]
push 0x20
push eax
call fcn.00451010
lea eax, [esp + 0x1a0]
push 0x20
push eax
call fcn.00451010
mov ecx, dword [esp + 0x1c8]
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044ae26
add esp, 0x19c
ret
call fcn.0044b510
int3
Function at 0x45df40
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x10], 1
jne 0x45df57
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 8], eax
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0xc]
mov ebp, dword [esp + 0x14]
push 0
push eax
push ebx
push ebp
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45dfff
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x45dfae
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x45df92
cmp eax, 3
jne 0x45dfae
cmp ebx, 0x4e20
jbe 0x45dfae
push 0x4e20
push ebp
mov ecx, esi
call fcn.0045df40
pop esi
pop ebp
pop ebx
pop ecx
ret 8
cmp dword [esi + 0x10], 1
jne 0x45dfc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x45dfc8
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
cmp dword [esi + 0x10], 0
jne 0x45dff5
cmp ebx, 0x8000
jbe 0x45dff5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
jne 0x45dff5
push 0x8000
push ebp
mov ecx, esi
call fcn.0045df40
pop esi
pop ebp
pop ebx
pop ecx
ret 8
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x45e0a0
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x1010
call fcn.004a63c0
mov eax, dword [0x4d500c]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebx
mov ebx, dword [esp + 0x101c]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1020]
mov dword [esp + 0x14], ecx
cmp byte [esi + 0x30], 0
mov dword [esi + 0x1034], 0
jne 0x45e0e8
test bl, 4
jne 0x45e0e8
xor al, al
jmp 0x45e0ea
mov al, 1
push edi
mov edi, ebx
shr edi, 1
not edi
and edi, 1
inc edi
shl edi, 0x1e
test bl, 1
je 0x45e103
or edi, 0x40000000
shr ebx, 3
not ebx
and ebx, 1
test al, al
je 0x45e112
or ebx, 2
cmp byte [esi + 0x24], 0
je 0x45e11e
or edi, 0x100
push 0
push 0x8000000
push 3
push 0
push ebx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x45e19c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push 0x800
push eax
push dword [esp + 0x20]
call fcn.004520b0
add esp, 0xc
test al, al
je 0x45e18b
push 0
push 0x8000000
push 3
push 0
push ebx
push edi
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x45e186
mov dword [esp + 0x10], eax
cmp ebp, 0xffffffff
jne 0x45e19c
cmp dword [esp + 0x10], 2
jne 0x45e19c
mov dword [esi + 0x1034], 1
cmp byte [esi + 0x24], 0
pop edi
je 0x45e1db
cmp ebp, 0xffffffff
je 0x45e1db
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0xffffffff
push eax
push 0
push ebp
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov byte [esi + 0x1c], 0
mov bl, 1
mov dword [esi + 0x10], 0
mov byte [esi + 0x15], 0
jmp 0x45e1f2
cmp ebp, 0xffffffff
mov byte [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x15], 0
setne bl
je 0x45e20e
push 0x800
push dword [esp + 0x18]
lea ecx, [esi + 0x32]
mov dword [esi + 8], ebp
push ecx
call fcn.00452f20
add esp, 0xc
mov byte [esi + 0x25], 0
mov ecx, dword [esp + 0x1018]
mov al, bl
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044ae26
add esp, 0x1010
ret 8
Function at 0x45e8f0
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0x10]
mov ebx, ecx
test edi, edi
jne 0x45e903
pop edi
mov al, 1
pop ebx
ret 8
cmp dword [ebx + 0x10], 1
jne 0x45e914
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebx + 8], eax
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov ecx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebx + 0x10], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], 0
je 0x45e97f
xor esi, esi
test edi, edi
je 0x45e99b
jmp 0x45e946
mov ecx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, edi
sub eax, esi
cmp eax, 0x4000
jb 0x45e956
mov eax, 0x4000
push 0
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esi + ebp]
push eax
push dword [ebx + 8]
call ecx
cmp eax, 1
sete cl
mov byte [esp + 0x18], cl
jne 0x45e997
add esi, 0x4000
cmp esi, edi
jb 0x45e940
jmp 0x45e997
push 0
lea eax, [esp + 0x18]
push eax
push edi
push ebp
push dword [ebx + 8]
call ecx
cmp eax, 1
sete cl
mov byte [esp + 0x18], cl
test cl, cl
jne 0x45ea00
cmp byte [ebx + 0x1e], 0
je 0x45ea00
cmp dword [ebx + 0x10], 0
jne 0x45ea00
push 0
lea esi, [ebx + 0x32]
mov ecx, 0x4d7b3c
push esi
call fcn.00450390
test al, al
je 0x45e9f3
mov eax, dword [esp + 0x14]
mov ecx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, edi
jae 0x45e920
test eax, eax
je 0x45e920
mov esi, dword [ebx]
mov ecx, ebx
push 0
mov eax, dword [esi + 0x14]
call eax
sub eax, dword [esp + 0x18]
mov ecx, ebx
sbb edx, 0
push edx
push eax
call dword [esi + 0x10]
jmp 0x45e91a
push esi
push 0
mov ecx, 0x4d7b3c
call fcn.00450b90
mov al, byte [esp + 0x18]
pop esi
pop ebp
pop edi
mov byte [ebx + 0xc], 1
pop ebx
ret 8

Function at 0x45ea10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x45ea43
test bl, 7
je 0x45ea43
movzx edx, byte [ebx]
inc ebx
movzx ecx, al
xor edx, ecx
shr eax, 8
mov dword [esp + 0x10], ebx
xor eax, dword [edx*4 + 0x4d7b78]
sub esi, 1
jne 0x45ea22
cmp esi, 8
jb 0x45ead9
push edi
mov edi, esi
shr edi, 3
xor eax, dword [ebx]
sub esi, 8
mov ebx, dword [ebx + 4]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4d7f78]
xor edx, dword [ecx*4 + 0x4d8378]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4d8f78]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4d9378]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4d7b78]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x4d8b78]
movzx ecx, bl
mov ebx, dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x14], ebx
xor edx, dword [ecx*4 + 0x4d8778]
xor edx, dword [eax*4 + 0x4d9778]
mov eax, edx
sub edi, 1
jne 0x45ea52
pop edi
test esi, esi
je 0x45eafa
lea ecx, [ecx]
movzx edx, byte [ebx]
lea ebx, [ebx + 1]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4d7b78]
sub esi, 1
jne 0x45eae0
pop esi
pop ebx
ret
Function at 0x45ed10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2053
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4d500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x98]
call fcn.0045bb90
lea ecx, [esi + 0xac]
mov dword [ebp - 4], 0
call fcn.0045bb90
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 1
call fcn.0045bb90
push 0x10c0
mov byte [ebp - 4], 2
call fcn.0044b027
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x45ed8c
mov ecx, eax
call fcn.0045c210
jmp 0x45ed8e
xor eax, eax
push 0x10c0
mov byte [ebp - 4], 2
mov dword [esi + 0x48], eax
call fcn.0044b027
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x45edb6
mov ecx, eax
call fcn.0045c210
jmp 0x45edb8
xor eax, eax
mov dword [esi + 0x4c], eax
mov eax, esi
mov byte [esi], 0
mov byte [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
mov dword [esi + 0x54], 0
mov byte [esi + 0x58], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x3c], 0
mov word [esi + 0xd4], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46a360
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edx, dword [esi + 0x20]
mov edi, edx
mov ebx, dword [esi + 0x24]
and edx, 0x3f
shld ebx, edi, 3
shl edi, 3
mov byte [edx + esi + 0x28], 0x80
inc edx
cmp edx, 0x38
je 0x46a3c6
jbe 0x46a3ae
cmp edx, 0x40
jae 0x46a3a3
mov eax, 0x40
lea ecx, [esi + 0x28]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call fcn.00472940
add esp, 0xc
push esi
call fcn.0046a710
add esp, 4
xor edx, edx
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x28]
add eax, edx
push 0
push eax
call fcn.00472940
add esp, 0xc
bswap ebx
bswap edi
push esi
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], edi
call fcn.0046a710
mov eax, dword [esi]
add esp, 4
mov ecx, dword [esp + 0x14]
bswap eax
pop edi
mov dword [ecx], eax
mov eax, dword [esi + 4]
bswap eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
bswap eax
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
bswap eax
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x10]
bswap eax
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x14]
bswap eax
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x18]
bswap eax
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x1c]
bswap eax
mov dword [ecx + 0x1c], eax
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
pop esi
pop ebx
ret

Function at 0x46a470
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
ret
Function at 0x46a710
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x13c
mov eax, dword [0x4d500c]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
mov ebx, dword [esp + 0x144]
xor ecx, ecx
push ebp
push esi
push edi
mov dword [esp + 0x2c], ebx
lea edx, [ebx + 0x28]
mov eax, dword [edx]
lea edx, [edx + 4]
bswap eax
mov dword [esp + ecx*4 + 0x48], eax
inc ecx
cmp ecx, 0x10
jb 0x46a738
lea eax, [esp + 0x80]
mov ebp, 0x30
mov edx, dword [eax - 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebp, 1
jne 0x46a755
mov eax, dword [ebx]
mov ebp, eax
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0x14]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], eax
mov eax, edi
rol eax, 7
mov dword [esp + 0x44], esi
mov esi, edi
ror esi, 0xb
xor esi, eax
mov dword [esp + 0x38], ecx
mov eax, edi
mov dword [esp + 0x40], edx
ror eax, 6
mov ecx, edi
xor esi, eax
mov dword [esp + 0x24], edi
not ecx
mov dword [esp + 0x3c], edi
and ecx, dword [esp + 0x14]
mov eax, edx
and eax, edi
mov dword [esp + 0x30], ebp
xor ecx, eax
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add esi, ecx
add esi, dword [ebx + 0x4b8108]
add esi, dword [esp + ebx + 0x48]
add ebx, 4
add esi, dword [esp + 0x18]
mov dword [esp + 0x18], eax
add edi, esi
mov dword [esp + 0x14], edx
mov eax, ebp
rol eax, 0xa
mov edx, ebp
ror edx, 0xd
xor edx, eax
mov eax, ebp
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
and eax, dword [esp + 0x10]
xor ecx, dword [esp + 0x10]
and ecx, ebp
xor ecx, eax
mov eax, dword [esp + 0x1c]
add edx, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov eax, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
lea ebp, [edx + esi]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
cmp ebx, 0x100
jb 0x46a7c7
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add eax, ebp
add dword [ebx + 4], ecx
mov ecx, dword [esp + 0x34]
add dword [ebx + 8], ecx
mov ecx, dword [esp + 0x38]
add dword [ebx + 0xc], ecx
add dword [ebx + 0x10], edi
mov ecx, dword [esp + 0x3c]
add dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x40]
add dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x44]
add dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
mov dword [ebx], eax
pop ebx
xor ecx, esp
call fcn.0044ae26
add esp, 0x13c
ret