joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4242d0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4243d9
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x424357
cmp cl, 2
jne 0x4243c2
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00425030
lea eax, [0xc5fa9c]
mov dword [esp], eax
call fcn.004088c0
nop
mov eax, dword [0xc5fa90]
sub eax, dword [0xc5fa78]
mov dword [0xc5fa90], eax
mov eax, dword [0xc5fa84]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xc5fa84], ecx
lea eax, [0xc5fa9c]
mov dword [esp], eax
call fcn.00408aa0
add esp, 0x14
ret
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00414a10
lea eax, [0xc5fa9c]
mov dword [esp], eax
call fcn.004088c0
nop
mov eax, dword [0xc5fa6c]
sub eax, dword [0xc5fa54]
mov dword [0xc5fa6c], eax
mov eax, dword [0xc5fa60]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xc5fa60], ecx
lea eax, [0xc5fa9c]
mov dword [esp], eax
call fcn.00408aa0
jmp 0x424353
lea eax, [0x8c4c2d]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042ba70
nop
call fcn.004507b0
jmp fcn.004242d0
Function at 0x4331a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x18]
inc dword [ecx + 0x78]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6a], 1
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.00433160
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.0042f0b0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
jbe 0x433386
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ecx, [0x44fa80]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
mov dword [esp], ecx
call fcn.00450690
movzx eax, byte [0xc639a8]
test al, al
jne 0x43335f
lea eax, [0xc58fa4]
mov dword [esp], eax
call fcn.00401f10
mov eax, dword [esp + 4]
test eax, eax
jne 0x433338
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
test byte [ecx], al
mov ecx, dword [ecx + 0x11d0]
test ecx, ecx
jne 0x43330d
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x54]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x164], edx
mov byte [eax + 0x6c], 1
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0xbc], 0
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + 0x2c], 0
mov edx, dword [eax + 0x18]
mov ebx, ecx
mov dword [edx + 0x5c], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x54], 0
lea ecx, [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 4], 2
call fcn.004020f0
mov eax, dword [0xc58f98]
test eax, eax
jne 0x4332e9
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x78]
add esp, 0x18
ret
lea eax, [0x8e7d08]
mov dword [esp], eax
call fcn.00450690
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00433160
jmp 0x4332db
lea eax, [0x8e7e0c]
mov dword [esp], eax
call fcn.00450690
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00433160
mov eax, dword [esp + 0xc]
jmp 0x43327f
lea eax, [0x8e7d0c]
mov dword [esp], eax
call fcn.00450690
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00433160
jmp 0x433265
lea eax, [0x8e7e58]
mov dword [esp], eax
call fcn.00450690
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00433160
jmp 0x43324b
cmp dword [eax + 4], ecx
jb 0x433212
jmp 0x43323c
Function at 0x446700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4468a1
sub esp, 0x48
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x4c]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x78]
add ebx, 1
mov edx, dword [edx + 0x54]
mov ebp, dword [ecx + 0x7c]
mov dword [ecx + 0x78], ebx
adc ebp, 0
mov dword [ecx + 0x7c], ebp
mov ebx, edx
mov ebp, dword [edx + 0x950]
cmp ecx, ebp
jne 0x4467d5
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.0045229a
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 0x50]
mov ebp, dword [ecx + 0x54]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
mov ebx, dword [ecx + 0x7c]
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov eax, dword [edx + 0x954]
cmp eax, 3
jae 0x446896
lea ecx, [0xc6ba14]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov byte [esp], 0x29
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.00445770
add esp, 0x48
ret
cmp dword [ecx + 0x80], ebx
jne 0x446826
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov eax, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov byte [esp], 0x26
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00445770
jmp 0x4467d1
mov dword [ecx + 0x80], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x54]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 0x7c]
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov byte [esp], 0xe
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00445770
jmp 0x4467d1
mov ecx, 3
call fcn.00452070
nop
call fcn.004507b0
jmp fcn.00446700
Function at 0x449390
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44942f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00452297
lea ecx, [0x450100]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00450690
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.004507b0
jmp fcn.00449390
Function at 0x451c60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x451ca0
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0xc6bfe0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x451cdb
je 0x451d2a
cmp ebx, 0x20
jbe 0x451d30
cmp ebx, 0x40
jbe 0x451d6e
jmp 0x451dff
test ebx, ebx
je 0x451d20
add eax, 0x10
test ax, 0xff0
je 0x451d0c
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x9792e0]
aesenc xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x9793e0]
jmp 0x451cf8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x451cf8
pxor xmm1, xmmword [0xc6bff0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
aesenc xmm2, xmm0
aesenc xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0xc6bff0]
pxor xmm2, xmmword [0xc6c000]
pxor xmm3, xmmword [0xc6c010]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0xc6bff0]
pxor xmm2, xmmword [0xc6c000]
pxor xmm3, xmmword [0xc6c010]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x451e5e
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
Function at 0x452ce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword fs:[0x14]
mov edx, esp
sub esp, 0x1bc
mov dword [esp], esp
mov dword [esp + 4], 0x1bc
call fcn.004527c0
lea ecx, [esp + 0x30]
mov dword fs:[0x14], ecx
mov ebx, esp
sub esp, 0xd8
mov dword [ecx], esp
mov dword [ebx], esp
mov dword [esp], esp
mov dword [esp + 4], 0xd8
call fcn.004527c0
lea ebx, [esp + 0xd8]
mov dword [esp + 0x18], ebx
lea ecx, [esp - 0x8000]
mov dword [esp], ecx
add ecx, 0xb70
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
push eax
push dword [ebp + 0x10]
call dword [ebp + 8]
pop ecx
pop eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov esp, dword [ecx + 4]
pop dword fs:[0x14]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x452de0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov eax, esp
mov dword [edx + 4], eax
sub eax, 0x10000
mov dword [edx], eax
add eax, 0xb70
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
lea esi, [ecx + 0x30]
mov dword fs:[0x14], esi
mov dword [edx + 0x18], ecx
mov dword [esi], edx
cld
call fcn.00451bb0
call fcn.0042fbe0
ret
Function at 0x478c70
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x478cac
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
xor ebx, ebx
jmp 0x478ca3
lea ebp, [ebx + 1]
imul edx, edx, 0x1000193
movzx esi, byte [ecx + ebx]
xor edx, esi
mov ebx, ebp
cmp ebx, eax
jl 0x478c92
mov dword [esp + 0x14], edx
ret
call fcn.004507b0
jmp fcn.00478c70
Function at 0x4b4a00
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b4c36
sub esp, 0x4c
mov eax, dword [esp + 0x54]
movzx ecx, word [eax + 2]
movzx edx, word [eax + 8]
movzx ebx, word [eax + 0xa]
movzx ebp, word [eax + 0xc]
mov esi, dword [esp + 0x50]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0
mov ecx, dword [0xc4fb40]
mov dword [esp + 0x1c], ecx
call fcn.004b0040
lea esi, [esp + 0x20]
mov dword [esp + 0x34], esi
lea edi, [esp + 0x38]
call fcn.0045277e
mov edi, esp
mov esi, dword [esp + 0x34]
call fcn.0045277e
call fcn.004ac9d0
mov eax, dword [esp + 0x14]
add eax, 0x15180
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call fcn.0044caf0
mov eax, dword [esp + 0x54]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, edx
mov ebp, 0xc22e4507
mov esi, edx
imul ebp
mov eax, esi
sar esi, 0x1f
add eax, edx
sar eax, 0x10
sub eax, esi
sub ecx, eax
test ecx, ecx
jge 0x4b4c18
lea edx, [ecx + 7]
movzx ebp, word [ebx + 6]
lea esi, [ebp - 1]
cmp esi, 4
jge 0x4b4b7f
lea ecx, [ebp + ebp*2]
lea ecx, [ebp + ecx*2]
lea ecx, [edx + ecx - 6]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, edx
shr edx, 0x1f
shl edx, 0x1f
test edx, edx
je 0x4b4b75
shl ebp, 1
mov edx, ebx
shr ebx, 0x1f
or ebx, ebp
shl edx, 1
shr edx, 0x1f
mov ebp, ebx
shl ebx, 1
or ebx, edx
mov edx, ebx
add ebx, 0xd7b17f80
shr ebp, 0x1f
add edx, 0xd7b17f80
adc ebp, 0xd
lea eax, [ecx - 1]
mov ecx, 0x15180
mov esi, eax
mul ecx
mov ecx, eax
add eax, ebx
mov edi, eax
add eax, 0x886e0900
mov dword [esp + 0x58], eax
sar esi, 0x1f
imul esi, esi, 0x15180
add edx, esi
add ecx, ebx
adc edx, ebp
add edi, 0x886e0900
adc edx, 0xfffffff1
mov dword [esp + 0x5c], edx
add esp, 0x4c
ret
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
jmp 0x4b4b3a
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x4b4c12
mov ebx, dword [esp + 0x50]
test ebx, 3
jne 0x4b4c0a
mov ecx, eax
mov eax, 0x51eb851f
mov ebp, edx
imul ebx
mov esi, ebx
sar ebx, 0x1f
mov edi, edx
sar edx, 5
sub edx, ebx
imul edx, edx, 0x64
cmp esi, edx
je 0x4b4bf8
mov eax, 1
test al, al
je 0x4b4bd7
mov eax, 0x1d
lea ecx, [ebp + 0x1d]
cmp ecx, eax
jle 0x4b4afe
lea ecx, [ebp + 0x16]
jmp 0x4b4afe
cmp ecx, 0xd
jae 0x4b4c29
lea edx, [0xc1a740]
mov edx, dword [edx + ecx*4]
lea eax, [ecx - 1]
cmp eax, 0xd
jae 0x4b4c1f
sub edx, dword [ecx*4 + 0xc1a73c]
mov eax, edx
jmp 0x4b4bc4
sar edi, 7
sub edi, ebx
imul edx, edi, 0x190
cmp edx, esi
sete al
jmp 0x4b4bbb
mov ecx, eax
mov ebp, edx
xor eax, eax
jmp 0x4b4bbb
mov ecx, eax
mov ebp, edx
jmp 0x4b4bd7
mov edx, ecx
jmp 0x4b4ae2
mov ecx, 0xd
call fcn.00452070
mov eax, ecx
mov ecx, 0xd
call fcn.00452070
nop
call fcn.004507b0
jmp fcn.004b4a00
Function at 0x516c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x516e26
sub esp, 0x84
mov byte [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 0
call fcn.004fa7b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x94]
xor ebp, ebp
lea esi, [esp + 0x44]
lea edi, [esp + 0x54]
lea ebp, [esp + 0x64]
mov dword [esp + 0x3c], ebp
xor ebp, ebp
jmp 0x516dd1
mov ebx, dword [esp + 0x2c]
inc ebx
shl ebp, 1
mov dword [esp + 0x2c], ebx
mov esi, edx
mov edi, ecx
mov dword [esp + 0x3c], eax
mov eax, ebp
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
cmp ebx, 8
jge 0x516dba
mov byte [esp + 0x2b], al
mov dword [esp], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
call fcn.005163c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movzx ebx, byte [esp + 0x2b]
mov ebp, ebx
and ebx, 0xffffff80
cmp bl, 0x80
jne 0x516cf9
mov ebx, dword [esp + 0x88]
mov dword [esp], ebx
mov ebp, dword [esp + 0x8c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x90]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x40]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
call fcn.00514e70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
movzx ebp, byte [esp + 0x2b]
jmp 0x516cf9
inc ebp
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x94]
cmp ebp, ecx
jge 0x516df1
mov dword [esp + 0x30], ebp
movzx eax, byte [ebx + ebp]
mov byte [esp + 0x34], al
xor eax, eax
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x34]
jmp 0x516d27
mov dword [esp], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
call fcn.00514be0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x84
ret
call fcn.004507b0
jmp fcn.00516c10
Function at 0x520190
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5203ad
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xcc]
cmp ecx, 6
jne 0x520247
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc4], 0
mov dword [eax + 0xc8], 0
ret
cmp ecx, 0xe
jne 0x5202c0
mov dword [eax], 0x19544da2
mov dword [eax + 4], 0x8c3d37c8
mov dword [eax + 8], 0x89dcd4d6
mov dword [eax + 0xc], 0x73e19966
mov dword [eax + 0x10], 0x32ff9c82
mov dword [eax + 0x14], 0x1dfab7ae
mov dword [eax + 0x18], 0x582f9fcf
mov dword [eax + 0x1c], 0x679dd514
mov dword [eax + 0x20], 0x7bd44da8
mov dword [eax + 0x24], 0xf6d2b69
mov dword [eax + 0x28], 0x4c48942
mov dword [eax + 0x2c], 0x77e36f73
mov dword [eax + 0x30], 0x6a1d36c8
mov dword [eax + 0x34], 0x3f9d85a8
mov dword [eax + 0x38], 0x91d692a1
mov dword [eax + 0x3c], 0x1112e6ad
jmp 0x520228
cmp ecx, 0xf
jne 0x520339
mov dword [eax], 0xfc2bf72c
mov dword [eax + 4], 0x22312194
mov dword [eax + 8], 0xc84c64c2
mov dword [eax + 0xc], 0x9f555fa3
mov dword [eax + 0x10], 0x6f53b151
mov dword [eax + 0x14], 0x2393b86b
mov dword [eax + 0x18], 0x5940eabd
mov dword [eax + 0x1c], 0x96387719
mov dword [eax + 0x20], 0xa88effe3
mov dword [eax + 0x24], 0x96283ee2
mov dword [eax + 0x28], 0x53863992
mov dword [eax + 0x2c], 0xbe5e1e25
mov dword [eax + 0x30], 0x2c85b8aa
mov dword [eax + 0x34], 0x2b0199fc
mov dword [eax + 0x38], 0x81c52ca2
mov dword [eax + 0x3c], 0xeb72ddc
jmp 0x520228
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
jmp 0x520228
call fcn.004507b0
jmp fcn.00520190
Function at 0x523b60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x523d6a
sub esp, 0x74
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0045229b
mov dword [esp], 0
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xc], ecx
call fcn.004405f0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
lea edi, [esp + 0x60]
xor eax, eax
call fcn.0045229b
lea ecx, [0x8c65ef]
mov dword [esp], ecx
mov dword [esp + 4], 0x13
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov ebp, dword [0xc4fb40]
mov dword [esp + 0x10], ebp
mov ebp, dword [0xc4fb3c]
mov dword [esp + 0x14], ebp
call fcn.004a78c0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x2c]
lea esi, [esp + 0x18]
lea edi, [esp + 0x60]
call fcn.0045277e
lea edi, [esp + 0x84]
lea esi, [esp + 0x60]
call fcn.0045277e
test edx, edx
jne 0x523d54
mov dword [esp + 0x3c], edx
mov edi, esp
lea esi, [esp + 0x60]
call fcn.0045277e
lea eax, [0x8c65ef]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x13
call fcn.004a5b40
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x34]
cmp ecx, edx
je 0x523d24
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00408100
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.00408100
mov eax, dword [esp + 8]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x843c00]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [0x8de931]
mov dword [esp], eax
mov dword [esp + 4], 0x6a
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c6360
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x74
ret
mov dword [esp], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00402370
movzx eax, byte [esp + 0xc]
test al, al
je 0x523d4b
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
jmp 0x523d12
mov edx, dword [esp + 0x34]
jmp 0x523c72
mov dword [esp + 0x98], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x9c], eax
add esp, 0x74
ret
call fcn.004507b0
jmp fcn.00523b60