joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e582
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0047e1a7
push eax
push esi
push dword [ebp + 8]
call fcn.0047e15c
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
xlatb
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
inc ebp
in al, 0x2b
call fcn.0047e1a7
push eax
push esi
push dword [ebp + 8]
call fcn.0047e15c
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0047e197
jne 0x47e64d
adc byte [ebp - 0x836278], dh
invalid
arpl si, ax
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid

Function at 0x47e5c3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0047e1a7
push eax
push esi
push dword [ebp + 8]
call fcn.0047e15c
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
xlatb
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
inc ebp
in al, 0x2b
call fcn.0047e1a7
push eax
push esi
push dword [ebp + 8]
call fcn.0047e15c
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0047e197
jne 0x47e64d
adc byte [ebp - 0x836278], dh
invalid
arpl si, ax
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
Function at 0x47ea88
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0047e1a7
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0047e15c
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0047e1a7
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0047e15c
add esp, 0xc
invalid
test eax, eax
cld

Function at 0x47f090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebp, 0xfffff9ad
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0047e175
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
invalid
invalid
cmp dh, al
test dword [ecx + 0x11fffffc], esp
Function at 0x483501
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x483528
call fcn.00483302
mov dword [eax], esi
call fcn.004832ef
push 0x16
pop esi
mov dword [eax], esi
call fcn.00489249
mov eax, esi
jmp 0x48357d
test dword [ebp + 0xc], 0xfffffff9
jne 0x48350e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x483555
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00483315
pop ecx
call fcn.004832ef
mov eax, dword [eax]
jmp 0x48357d
test al, 0x10
jne 0x48357b
test al, 1
je 0x48357b
test byte [ebp + 0xc], 2
je 0x48357b
call fcn.00483302
mov dword [eax], 5
call fcn.004832ef
mov dword [eax], 0xd
jmp 0x48354c
xor eax, eax
pop esi
pop ebp
ret

Function at 0x48638c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d33a4]
jne 0x486396
repz ret
jmp fcn.0049569b
Function at 0x495bb4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d33a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0048a0f1
and dword [ebp - 0x14], 0
cmp dword [0x4d86c0], 0
mov dword [ebp - 0x18], eax
jne 0x495c67
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x495d0f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4bb0bc
push ebx
call edi
test eax, eax
je 0x495d0f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4d86c0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4d86c4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4d86c8], eax
call edi
push eax
call esi
mov dword [0x4d86d0], eax
test eax, eax
je 0x495c67
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4d86cc], eax
mov eax, dword [0x4d86cc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x495cc0
cmp dword [0x4d86d0], ecx
je 0x495cc0
push eax
call esi
push dword [0x4d86d0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x495cc0
test ebx, ebx
je 0x495cc0
call edi
test eax, eax
je 0x495cb7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x495cb7
test byte [ebp - 8], 1
jne 0x495cc0
or dword [ebp + 0x10], 0x200000
jmp 0x495cf3
mov eax, dword [0x4d86c4]
cmp eax, dword [ebp - 0x18]
je 0x495cf3
push eax
call esi
test eax, eax
je 0x495cf3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x495cf3
mov eax, dword [0x4d86c8]
cmp eax, dword [ebp - 0x18]
je 0x495cf3
push eax
call esi
test eax, eax
je 0x495cf3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4d86c0]
call esi
test eax, eax
je 0x495d0f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x495d11
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048638c
leave
ret
Function at 0x49a110
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x49a123
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x49a1a1
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.0047db00
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x49a171
sub eax, edi
jmp 0x49a173
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x49a162
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x49a192
sub eax, edi
jmp 0x49a194
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x49a183
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x49a2cc
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 4]
mov ebx, ecx
mov dword [ebp - 8], eax
cmp ebx, edx
jbe 0x49a1c7
mov ebx, edx
test ebx, ebx
je 0x49a217
mov edx, dword [edi + 0x1c]
sub ecx, ebx
mov dword [edi + 4], ecx
mov ecx, dword [edx + 0x18]
cmp ecx, 1
jne 0x49a1ea
mov eax, dword [edi]
mov ecx, dword [edi + 0x30]
push ebx
push eax
push ecx
call fcn.0049bc00
jmp 0x49a1fc
cmp ecx, 2
jne 0x49a205
mov edx, dword [edi]
mov eax, dword [edi + 0x30]
push ebx
push edx
push eax
call fcn.0049c150
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 8]
add esp, 0xc
mov ecx, dword [edi]
push ebx
push ecx
push eax
call fcn.0047db00
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov ebx, dword [esi + 0x74]
cmp ebx, 3
jb 0x49a241
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp ebx, 0x106
jae 0x49a255
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x49a120
mov eax, dword [esi + 0x16c0]
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
jae 0x49a2cc
mov edi, dword [esi + 0x6c]
add edi, ebx
cmp eax, edi
jae 0x49a29b
sub ecx, edi
mov ebx, ecx
cmp ebx, 0x102
jbe 0x49a27c
mov ebx, 0x102
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.0047e3a0
add esp, 0xc
add ebx, edi
pop edi
mov dword [esi + 0x16c0], ebx
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [edi + 0x102]
cmp eax, edx
jae 0x49a2cc
sub edi, eax
add edi, 0x102
sub ecx, eax
cmp edi, ecx
jbe 0x49a2b5
mov edi, ecx
mov ecx, dword [esi + 0x38]
push edi
add ecx, eax
push 0
push ecx
call fcn.0047e3a0
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49c16c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x49c191
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x49c1a9
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x49c1d8
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x49c21a
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x49c2ee
sub edx, 0x10000
js 0x49c2ee
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x49c200
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x49c200
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x49c271
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x49c26e
add edx, 8
jne 0x49c255
jmp 0x49c2df
add edx, 4
test eax, 0xffff
jne 0x49c27e
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x49c2df
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x49c2b2
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x49c200
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x49c2ee
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x49c200
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x49c2ff
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4055c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f49c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x405674
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 5
push 9
mov byte [edi + 0x60], al
call fcn.00403250
mov byte [ebp - 4], 6
xor ebx, ebx
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], edx
test ecx, ecx
jns 0x4056bb
mov eax, ecx
neg eax
cmp ebx, eax
jae 0x4056bb
add ecx, ebx
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x4056c5
add ecx, ebx
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
lea eax, [ebp - 0xd]
push ecx
push edx
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.00407990
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4056f3
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x4105f0
Capabilities:
Authenticate hmac
Encode data using xor
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0x1a0], eax
mov esi, edx
mov eax, dword [ebp + 8]
mov edi, ecx
push 0x40
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00419500
add esp, 0xc
lea eax, [ebp - 0x48]
push 0x40
push 0x36
push eax
call fcn.00419500
add esp, 0xc
lea eax, [ebp - 0x88]
push 0x40
push 0x5c
push eax
call fcn.00419500
add esp, 0xc
push esi
cmp esi, 0x40
jbe 0x410700
xorps xmm0, xmm0
mov dword [ebp - 0x150], 0
mov edx, edi
movlpd qword [ebp - 0x178], xmm0
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x170], 0x6a09e667
mov dword [ebp - 0x16c], 0xbb67ae85
mov dword [ebp - 0x168], 0x3c6ef372
mov dword [ebp - 0x164], 0xa54ff53a
mov dword [ebp - 0x160], 0x510e527f
mov dword [ebp - 0x15c], 0x9b05688c
mov dword [ebp - 0x158], 0x1f83d9ab
mov dword [ebp - 0x154], 0x5be0cd19
call fcn.00410af0
add esp, 4
lea edx, [ebp - 0x198]
lea ecx, [ebp - 0x178]
call fcn.00410ba0
movups xmm0, xmmword [ebp - 0x198]
movups xmmword [ebp - 0x108], xmm0
movups xmm0, xmmword [ebp - 0x188]
movups xmmword [ebp - 0xf8], xmm0
jmp 0x410710
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.0041a970
add esp, 0xc
xor eax, eax
nop dword [eax]
nop word [eax + eax]
movups xmm1, xmmword [ebp + eax - 0x108]
movups xmm0, xmmword [ebp + eax - 0x48]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x48], xmm0
movups xmm0, xmmword [ebp + eax - 0x88]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x88], xmm0
add eax, 0x10
cmp eax, 0x40
jl 0x410720
mov esi, dword [ebp + 0xc]
lea ebx, [esi + 0x40]
push ebx
call fcn.00422766
movups xmm0, xmmword [ebp - 0x48]
mov edi, eax
add esp, 4
movups xmmword [edi], xmm0
push esi
movups xmm0, xmmword [ebp - 0x38]
lea eax, [edi + 0x40]
push dword [ebp - 0x19c]
movups xmmword [edi + 0x10], xmm0
push eax
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [edi + 0x30], xmm0
call fcn.0041a970
add esp, 0xc
lea eax, [ebp - 0xa8]
mov edx, ebx
mov ecx, edi
push 0x20
push eax
call fcn.00410850
push edi
call fcn.004224c5
add esp, 0xc
push 0x60
call fcn.00422766
movups xmm0, xmmword [ebp - 0x88]
mov esi, eax
add esp, 4
lea eax, [ebp - 0xc8]
mov edx, 0x60
mov ecx, esi
movups xmmword [esi], xmm0
push 0x20
movups xmm0, xmmword [ebp - 0x78]
push eax
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x68]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [esi + 0x30], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [esi + 0x40], xmm0
movups xmm0, xmmword [ebp - 0x98]
movups xmmword [esi + 0x50], xmm0
call fcn.00410850
push esi
call fcn.004224c5
mov eax, dword [ebp - 0x1a0]
add esp, 0xc
movups xmm0, xmmword [ebp - 0xc8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
movups xmmword [eax], xmm0
pop edi
movups xmm0, xmmword [ebp - 0xb8]
pop esi
pop ebx
movups xmmword [eax + 0x10], xmm0
mov eax, 0x20
call fcn.00417fbf
mov esp, ebp
pop ebp
ret
Function at 0x410850
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edx
mov edx, ecx
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x78]
movlpd qword [ebp - 0x78], xmm0
mov dword [ebp - 0x70], 0x6a09e667
mov dword [ebp - 0x6c], 0xbb67ae85
mov dword [ebp - 0x68], 0x3c6ef372
mov dword [ebp - 0x64], 0xa54ff53a
mov dword [ebp - 0x60], 0x510e527f
mov dword [ebp - 0x5c], 0x9b05688c
mov dword [ebp - 0x58], 0x1f83d9ab
mov dword [ebp - 0x54], 0x5be0cd19
call fcn.00410af0
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x78]
call fcn.00410ba0
mov eax, dword [ebp + 0xc]
mov ecx, 0x20
cmp eax, ecx
cmova eax, ecx
push eax
lea eax, [ebp - 0x98]
push eax
push esi
call fcn.0041a970
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.00417fbf
mov esp, ebp
pop ebp
ret
Function at 0x410ba0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
mov ecx, dword [esi + 0x28]
cmp ecx, 0x40
jae 0x410d34
lea eax, [ecx*8]
add dword [esi], eax
push ebx
adc dword [esi + 4], 0
mov byte [ecx + esi + 0x2c], 0x80
mov eax, dword [esi + 0x28]
inc eax
mov dword [esi + 0x28], eax
cmp eax, 0x38
jbe 0x410bfe
cmp eax, 0x40
jae 0x410be7
mov byte [eax + esi + 0x2c], 0
mov eax, dword [esi + 0x28]
inc eax
mov dword [esi + 0x28], eax
cmp eax, 0x40
jb 0x410bd6
lea ebx, [esi + 0x2c]
mov ecx, esi
mov edx, ebx
call fcn.00410900
mov dword [esi + 0x28], 0
xor eax, eax
jmp 0x410c03
lea ebx, [esi + 0x2c]
jae 0x410c14
mov byte [eax + esi + 0x2c], 0
mov eax, dword [esi + 0x28]
inc eax
mov dword [esi + 0x28], eax
cmp eax, 0x38
jb 0x410c03
movzx eax, byte [esi + 7]
mov edx, ebx
mov byte [esi + 0x64], al
mov ecx, esi
movzx eax, byte [esi + 6]
mov byte [esi + 0x65], al
movzx eax, byte [esi + 5]
mov byte [esi + 0x66], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x67], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x68], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x69], al
movzx eax, byte [esi + 1]
mov byte [esi + 0x6a], al
movzx eax, byte [esi]
mov byte [esi + 0x6b], al
call fcn.00410900
movzx eax, byte [esi + 0xb]
mov byte [edi], al
movzx eax, byte [esi + 0xa]
mov byte [edi + 1], al
movzx eax, byte [esi + 9]
mov byte [edi + 2], al
movzx eax, byte [esi + 8]
mov byte [edi + 3], al
movzx eax, byte [esi + 0xf]
mov byte [edi + 4], al
movzx eax, byte [esi + 0xe]
mov byte [edi + 5], al
movzx eax, byte [esi + 0xd]
mov byte [edi + 6], al
movzx eax, byte [esi + 0xc]
mov byte [edi + 7], al
movzx eax, byte [esi + 0x13]
mov byte [edi + 8], al
movzx eax, byte [esi + 0x12]
mov byte [edi + 9], al
movzx eax, byte [esi + 0x11]
mov byte [edi + 0xa], al
movzx eax, byte [esi + 0x10]
mov byte [edi + 0xb], al
movzx eax, byte [esi + 0x17]
mov byte [edi + 0xc], al
movzx eax, byte [esi + 0x16]
mov byte [edi + 0xd], al
movzx eax, byte [esi + 0x15]
mov byte [edi + 0xe], al
movzx eax, byte [esi + 0x14]
mov byte [edi + 0xf], al
movzx eax, byte [esi + 0x1b]
mov byte [edi + 0x10], al
movzx eax, byte [esi + 0x1a]
mov byte [edi + 0x11], al
movzx eax, byte [esi + 0x19]
mov byte [edi + 0x12], al
movzx eax, byte [esi + 0x18]
mov byte [edi + 0x13], al
movzx eax, byte [esi + 0x1f]
mov byte [edi + 0x14], al
movzx eax, byte [esi + 0x1e]
mov byte [edi + 0x15], al
movzx eax, byte [esi + 0x1d]
mov byte [edi + 0x16], al
movzx eax, byte [esi + 0x1c]
mov byte [edi + 0x17], al
movzx eax, byte [esi + 0x23]
mov byte [edi + 0x18], al
movzx eax, byte [esi + 0x22]
mov byte [edi + 0x19], al
movzx eax, byte [esi + 0x21]
mov byte [edi + 0x1a], al
movzx eax, byte [esi + 0x20]
mov byte [edi + 0x1b], al
movzx eax, byte [esi + 0x27]
mov byte [edi + 0x1c], al
movzx eax, byte [esi + 0x26]
mov byte [edi + 0x1d], al
movzx eax, byte [esi + 0x25]
mov byte [edi + 0x1e], al
movzx eax, byte [esi + 0x24]
mov byte [edi + 0x1f], al
pop ebx
pop edi
pop esi
ret