joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456550
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x456650
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0x94], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00456de0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x6892a0]
mov dword [esp], ecx
call fcn.0040bd00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x8cbcd0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00455dd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004551f0
add esp, 0x28
ret
call fcn.00462d80
jmp fcn.00456550
Function at 0x459bc0
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 0x459c5f
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.00464427
lea ecx, [0x459c70]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00462c70
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00462d80
jmp fcn.00459bc0
Function at 0x464040
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x8e7ba0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46280b
je 0x46285e
cmp ebx, 0x20
jbe 0x462864
cmp ebx, 0x40
jbe 0x4628aa
jmp 0x46294b
test ebx, ebx
je 0x462854
add eax, 0x10
test ax, 0xff0
je 0x462840
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x732a20]
pxor xmm1, xmm0
aesenc xmm1, xmm1
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 + 0x732c20]
jmp 0x462828
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x462828
pxor xmm1, xmmword [0x8e7bb0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
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 [0x8e7bb0]
pxor xmm2, xmmword [0x8e7bc0]
pxor xmm3, xmmword [0x8e7bd0]
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]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor 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
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 [0x8e7bb0]
pxor xmm2, xmmword [0x8e7bc0]
pxor xmm3, xmmword [0x8e7bd0]
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 0x4629aa
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
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
cmp byte [0x8e75f9], 0
je 0x46405a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x4627d0
jmp fcn.004085a0
Function at 0x464060
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x402c5e
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004085a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.00462d80
jmp 0x402c20
cmp byte [0x8e75f9], 0
je 0x46407b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x4627d0
jmp 0x402c20
Function at 0x4b3350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b34dd
sub esp, 0x50
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0046442b
mov ecx, dword [esp + 0x58]
cmp ecx, 0x19
je 0x4b3381
xor edx, edx
jmp 0x4b33ac
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x6cfe9a]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x19
call fcn.00402ab0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, eax
xor eax, eax
test dl, dl
je 0x4b33b7
mov edx, 1
jmp 0x4b33eb
cmp ecx, 0x23
je 0x4b33c0
xor edx, edx
jmp 0x4b33eb
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x6d4cd5]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x23
call fcn.00402ab0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, eax
xor eax, eax
test dl, dl
je 0x4b3445
lea edi, [esp + 0x3c]
call fcn.0046442b
mov ecx, dword [0x8bb250]
lea edx, [0x7312e0]
mov dword [esp], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004bfd80
movzx ecx, byte [esp + 0x24]
mov byte [esp + 0x37], cl
lea edi, [esp + 0x3c]
lea esi, [esp + 0x10]
call fcn.0046490e
movzx ecx, byte [esp + 0x37]
test cl, cl
jne 0x4b34bc
xor eax, eax
mov ecx, dword [esp + 0x58]
lea edi, [esp + 0x3c]
call fcn.0046442b
mov ecx, dword [0x8bb254]
mov edx, dword [0x8bb250]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004b34f0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x30]
lea edi, [esp + 0x3c]
lea esi, [esp + 0x18]
call fcn.0046490e
lea edi, [esp + 0x64]
lea esi, [esp + 0x3c]
call fcn.0046490e
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x50
ret
lea edi, [esp + 0x64]
lea esi, [esp + 0x3c]
call fcn.0046490e
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
call fcn.00462d80
jmp fcn.004b3350
Function at 0x4e1b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e1d3e
sub esp, 0x5c
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.00464427
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4e1bba
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
jmp 0x4e1be3
lea eax, [0x68e040]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x200
call fcn.0044aea0
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, 0x200
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x38]
mov ebx, eax
xor eax, eax
call fcn.00464427
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ecx
movzx ecx, word [esp + 0x6c]
movzx edx, word [esp + 0x70]
shl edx, 0xb
movzx ebx, word [esp + 0x78]
or ebx, edx
movzx edx, byte [esp + 0x75]
test dl, dl
je 0x4e1c2b
or ebx, 0x80
movzx eax, byte [esp + 0x74]
test al, al
je 0x4e1c3a
or ebx, 0x100
movzx eax, byte [esp + 0x73]
test al, al
je 0x4e1c49
or ebx, 0x200
movzx eax, byte [esp + 0x72]
test al, al
je 0x4e1c58
or ebx, 0x400
movzx eax, byte [esp + 0x6e]
test al, al
je 0x4e1c67
or ebx, 0xffff8000
movzx eax, byte [esp + 0x76]
test al, al
je 0x4e1c73
or ebx, 0x20
movzx eax, byte [esp + 0x77]
test al, al
je 0x4e1c7f
or ebx, 0x10
mov word [esp + 0x46], cx
mov word [esp + 0x48], bx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 0xc]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
cmp edx, ecx
jae 0x4e1cea
mov dword [esp + 0x24], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xc
lea eax, [0x68e040]
mov dword [esp + 0x10], eax
call fcn.0044af60
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
add eax, ebx
mov dword [esp], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call fcn.00464b20
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], 1
lea edi, [esp + 0x7c]
lea esi, [esp + 0x38]
call fcn.004648e6
add esp, 0x5c
ret
call fcn.00462d80
jmp fcn.004e1b80
Function at 0x4f80f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f8263
sub esp, 0x48
mov eax, dword [esp + 0x78]
cmp eax, 4
jne 0x4f8189
mov ecx, dword [esp + 0x74]
cmp dword [ecx], 0x6c616964
je 0x4f8128
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
jmp 0x4f8195
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
test al, al
jne 0x4f8153
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
jmp 0x4f8195
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
jmp 0x4f8195
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edx
mov ebp, dword [esp + 0x54]
mov dword [esp], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x5c]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call fcn.004f7ed0
mov eax, dword [esp + 0x20]
movzx ecx, byte [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], cl
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
call fcn.004fef30
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x48
ret
call fcn.00462d80
jmp fcn.004f80f0
Function at 0x511e20
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x511fe0
sub esp, 0x14
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + 1]
mov edx, ecx
shl ecx, 8
shr edx, 0x18
movzx ebx, byte [eax]
add ebx, ecx
adc edx, 0
movzx ecx, byte [eax + 2]
mov ebp, ecx
shl ecx, 0x10
shr ebp, 0x10
add ecx, ebx
adc edx, ebp
movzx ebx, byte [eax + 3]
mov ebp, ebx
shl ebx, 0x18
shr ebp, 8
add ebx, ecx
adc edx, ebp
movzx ecx, byte [eax + 4]
add ebx, 0
adc ecx, edx
movzx edx, byte [eax + 5]
shl edx, 8
add ebx, 0
adc edx, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
add ebx, 0
adc ecx, edx
movzx edx, byte [eax + 7]
shl edx, 0x18
add ebx, 0
adc edx, ecx
movzx ecx, byte [eax + 9]
mov ebp, ecx
shl ecx, 8
shr ebp, 0x18
movzx esi, byte [eax + 8]
add esi, ecx
adc ebp, 0
movzx ecx, byte [eax + 0xa]
mov edi, ecx
shl ecx, 0x10
shr edi, 0x10
add ecx, esi
adc ebp, edi
movzx esi, byte [eax + 0xb]
mov edi, esi
shl esi, 0x18
shr edi, 8
add esi, ecx
adc ebp, edi
movzx ecx, byte [eax + 0xc]
add esi, 0
adc ecx, ebp
movzx ebp, byte [eax + 0xd]
shl ebp, 8
add esi, 0
adc ebp, ecx
movzx ecx, byte [eax + 0xe]
shl ecx, 0x10
add esi, 0
adc ecx, ebp
movzx ebp, byte [eax + 0xf]
shl ebp, 0x18
add esi, 0
mov dword [esp + 4], esi
adc ebp, ecx
mov dword [esp + 0x10], ebp
movzx ecx, byte [eax + 0x11]
mov edi, ecx
shl ecx, 8
shr edi, 0x18
movzx ebp, byte [eax + 0x10]
add ebp, ecx
adc edi, 0
movzx ecx, byte [eax + 0x12]
mov dword [esp + 0xc], ecx
shl ecx, 0x10
mov esi, dword [esp + 0xc]
shr esi, 0x10
add ecx, ebp
adc edi, esi
movzx ebp, byte [eax + 0x13]
mov esi, ebp
shl ebp, 0x18
shr esi, 8
add ebp, ecx
adc edi, esi
movzx ecx, byte [eax + 0x14]
add ebp, 0
adc ecx, edi
movzx esi, byte [eax + 0x15]
shl esi, 8
add ebp, 0
adc esi, ecx
movzx ecx, byte [eax + 0x16]
shl ecx, 0x10
add ebp, 0
adc ecx, esi
movzx esi, byte [eax + 0x17]
shl esi, 0x18
add ebp, 0
mov dword [esp], ebp
adc esi, ecx
mov dword [esp + 8], esi
movzx ecx, byte [eax + 0x19]
mov edi, ecx
shl ecx, 8
shr edi, 0x18
movzx esi, byte [eax + 0x18]
add esi, ecx
adc edi, 0
movzx ecx, byte [eax + 0x1a]
mov dword [esp + 0xc], ecx
shl ecx, 0x10
mov ebp, dword [esp + 0xc]
shr ebp, 0x10
add ecx, esi
adc edi, ebp
movzx eax, byte [eax + 0x1b]
mov ebp, eax
shr eax, 8
shl ebp, 0x18
add ebp, ecx
adc edi, eax
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
mov dword [eax + 4], edx
mov ecx, dword [esp + 4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ebp
mov dword [eax + 0x1c], edi
add esp, 0x14
ret
call fcn.00462d80
jmp fcn.00511e20
Function at 0x518b40
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x518d2d
sub esp, 0x14
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + 1]
mov edx, ecx
shl ecx, 8
shr edx, 0x18
movzx ebx, byte [eax]
add ebx, ecx
adc edx, 0
movzx ecx, byte [eax + 2]
mov ebp, ecx
shl ecx, 0x10
shr ebp, 0x10
add ecx, ebx
adc edx, ebp
movzx ebx, byte [eax + 3]
mov ebp, ebx
shl ebx, 0x18
shr ebp, 8
add ebx, ecx
adc edx, ebp
movzx ecx, byte [eax + 4]
add ebx, 0
adc ecx, edx
movzx edx, byte [eax + 5]
shl edx, 8
add ebx, 0
adc edx, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
add ebx, 0
adc ecx, edx
movzx edx, byte [eax + 7]
shl edx, 0x18
add ebx, 0
adc edx, ecx
movzx ecx, byte [eax + 9]
mov ebp, ecx
shl ecx, 8
shr ebp, 0x18
movzx esi, byte [eax + 8]
add esi, ecx
adc ebp, 0
movzx ecx, byte [eax + 0xa]
mov edi, ecx
shl ecx, 0x10
shr edi, 0x10
add ecx, esi
adc ebp, edi
movzx esi, byte [eax + 0xb]
mov edi, esi
shl esi, 0x18
shr edi, 8
add esi, ecx
adc ebp, edi
movzx ecx, byte [eax + 0xc]
add esi, 0
adc ecx, ebp
movzx ebp, byte [eax + 0xd]
shl ebp, 8
add esi, 0
adc ebp, ecx
movzx ecx, byte [eax + 0xe]
shl ecx, 0x10
add esi, 0
adc ecx, ebp
movzx ebp, byte [eax + 0xf]
shl ebp, 0x18
add esi, 0
mov dword [esp + 4], esi
adc ebp, ecx
mov dword [esp + 0x10], ebp
movzx ecx, byte [eax + 0x11]
mov edi, ecx
shl ecx, 8
shr edi, 0x18
movzx ebp, byte [eax + 0x10]
add ebp, ecx
adc edi, 0
movzx ecx, byte [eax + 0x12]
mov dword [esp + 0xc], ecx
shl ecx, 0x10
mov esi, dword [esp + 0xc]
shr esi, 0x10
add ecx, ebp
adc edi, esi
movzx ebp, byte [eax + 0x13]
mov esi, ebp
shl ebp, 0x18
shr esi, 8
add ebp, ecx
adc edi, esi
movzx ecx, byte [eax + 0x14]
add ebp, 0
adc ecx, edi
movzx esi, byte [eax + 0x15]
shl esi, 8
add ebp, 0
adc esi, ecx
movzx ecx, byte [eax + 0x16]
shl ecx, 0x10
add ebp, 0
adc ecx, esi
movzx esi, byte [eax + 0x17]
shl esi, 0x18
add ebp, 0
mov dword [esp], ebp
adc esi, ecx
mov dword [esp + 8], esi
movzx ecx, byte [eax + 0x19]
mov edi, ecx
shl ecx, 8
shr edi, 0x18
movzx esi, byte [eax + 0x18]
add esi, ecx
adc edi, 0
movzx ecx, byte [eax + 0x1a]
mov dword [esp + 0xc], ecx
shl ecx, 0x10
mov ebp, dword [esp + 0xc]
shr ebp, 0x10
add ecx, esi
adc edi, ebp
movzx ebp, byte [eax + 0x1b]
mov esi, ebp
shl ebp, 0x18
shr esi, 8
add ebp, ecx
adc edi, esi
movzx ecx, byte [eax + 0x1c]
add ebp, 0
adc ecx, edi
movzx esi, byte [eax + 0x1d]
shl esi, 8
add ebp, 0
adc esi, ecx
movzx ecx, byte [eax + 0x1e]
shl ecx, 0x10
add ebp, 0
adc ecx, esi
movzx eax, byte [eax + 0x1f]
shl eax, 0x18
add ebp, 0
adc eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 4]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x10]
mov dword [ecx + 0xc], edx
mov edx, dword [esp]
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 8]
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x1c], eax
add esp, 0x14
ret
call fcn.00462d80
jmp fcn.00518b40
Function at 0x55ead0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x55ecb5
add esp, 0xffffff80
lea edi, [esp + 0x30]
mov esi, dword [esp + 0x84]
call fcn.004648dc
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.0055e0c0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea edi, [esp + 0x58]
xor eax, eax
call fcn.00464426
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x88]
xor ecx, ecx
jmp 0x55eb82
mov edx, dword [esp + 0xc]
lea ecx, [edx + 1]
cmp ecx, 5
jge 0x55ec50
mov dword [esp + 0xc], ecx
imul edx, ecx, 0x33
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1d
add edx, ebx
mov dword [esp + 0x1c], edx
and edx, 0xfffffff8
sub ebx, edx
cmp ebx, 0x20
sbb edx, edx
lea esi, [ebx - 0x20]
mov dword [esp + 0x18], esi
cmp esi, 0x20
sbb edi, edi
mov dword [esp + 0x14], edi
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb ebp, ebp
mov dword [esp + 0x10], ebp
lea edi, [esp + ecx*8 + 0x58]
mov ebp, dword [edi]
mov dword [esp + 8], ebp
mov edi, dword [edi + 4]
mov ecx, ebx
shl ebp, cl
and ebp, edx
xchg ebp, eax
mov byte [esp + 0x20], al
xchg ebp, eax
shl edi, cl
and edi, edx
mov ecx, esi
mov edx, dword [esp + 8]
mov ebx, edx
shr edx, cl
mov esi, dword [esp + 0x10]
and edx, esi
or edx, edi
mov ecx, dword [esp + 0x18]
shl ebx, cl
mov esi, dword [esp + 0x14]
and ebx, esi
or ebx, edx
mov edx, ebp
shr ebp, 8
mov esi, ebx
shl ebx, 0x18
or ebp, ebx
xchg ebp, eax
mov byte [esp + 0x21], al
xchg ebp, eax
mov ebx, edx
shr edx, 0x10
mov ebp, esi
shl esi, 0x10
or esi, edx
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
mov edx, ebp
shl ebp, 8
shr ebx, 0x18
or ebx, ebp
mov byte [esp + 0x23], bl
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x1c]
xor ecx, ecx
jmp 0x55ec83
test byte [eax], al
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0x20
mov dword [esp + 0x94], 0x20
sub esp, 0xffffff80
ret
movzx esi, byte [eax + edx]
or esi, ebx
xchg esi, ebx
mov byte [eax + edx], bl
xchg esi, ebx
inc ecx
mov edx, ebp
cmp ecx, 8
jge 0x55eb7b
movzx ebx, byte [esp + ecx + 0x28]
mov ebp, edx
sar edx, 3
add edx, ecx
cmp edx, 0x20
jge 0x55eb7b
test byte [eax], al
cmp edx, 0x20
jb 0x55ec73
mov eax, edx
mov ecx, 0x20
call fcn.00464210
nop
call fcn.00462d80
jmp fcn.0055ead0
Function at 0x579cb0
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 0x579ec6
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xcc]
cmp ecx, 6
jne 0x579d49
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
jmp 0x579ea7
cmp ecx, 0xe
jne 0x579dc2
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 0x579ea7
cmp ecx, 0xf
jne 0x579e38
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 0x579ea7
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
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc4], 0
mov dword [eax + 0xc8], 0
ret
call fcn.00462d80
jmp fcn.00579cb0