joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c470
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
cmp ecx, 0x200
jb 0x44c526
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x44c526
mov eax, dword [edx + 0x3c]
cmp eax, 0x1000
jae 0x44c526
push esi
lea esi, [eax + 0x200]
cmp esi, ecx
pop esi
ja 0x44c526
test al, 7
jne 0x44c526
cmp dword [eax + edx], 0x4550
lea ecx, [eax + edx]
jne 0x44c526
movzx eax, word [ecx + 4]
cmp eax, 0x1c4
jg 0x44c4e3
je 0x44c4dc
sub eax, 0x14c
je 0x44c4f1
sub eax, 0x74
je 0x44c4d5
sub eax, 2
jne 0x44c526
mov edx, 0x3030501
jmp 0x44c4fd
mov edx, 0x3030701
jmp 0x44c4fd
cmp eax, 0x200
je 0x44c4f8
cmp eax, 0x8664
jne 0x44c526
mov edx, 0x3030103
jmp 0x44c4fd
mov edx, 0x3030401
mov eax, 0x400
cmp word [ecx + 0x14], ax
ja 0x44c526
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x44c51a
cmp eax, 0x20b
jne 0x44c526
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x44e3d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d552c
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x63ae80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.NArchive::N7z::CThreadDecoder.0
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov byte [esi + 0x64], al
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x98], ebx
mov byte [ebp - 4], 4
cmp al, bl
je 0x44e4cc
push 0x38
mov byte [esi + 0x9c], bl
mov dword [esi + 0xa0], 1
call fcn.004a4d50
add esp, 4
cmp eax, ebx
je 0x44e499
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax], vtable.NArchive::N7z::CFolderOutStream2.0
mov dword [eax + 0x34], ebx
mov edi, eax
jmp 0x44e49b
xor edi, edi
mov dword [esi + 0x80], edi
cmp edi, ebx
je 0x44e4ad
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esi + 0x84]
cmp eax, ebx
je 0x44e4bf
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x84], edi
mov dword [esi + 0x78], 0x80004005
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x455910
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
lea ebx, [eax + 0x1c]
shr eax, 2
mov esi, eax
shr esi, 1
add esi, 3
mov dword [ecx], esi
xor esi, esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp + 8], eax
test eax, eax
je 0x455945
mov edi, dword [edx]
mov dword [ecx + esi*4 + 0x10], edi
inc esi
add edx, 4
cmp esi, eax
jb 0x455937
cmp esi, ebx
jae 0x455a32
mov edx, esi
sub edx, eax
lea eax, [ecx + edx*4 + 0x10]
mov dword [ebp - 4], eax
xor edx, edx
mov eax, esi
div dword [ebp + 8]
mov edi, dword [ecx + esi*4 + 0xc]
test edx, edx
jne 0x4559c1
movzx eax, byte [eax + 0x60eb00]
mov edx, edi
and edx, 0xff
movzx edx, byte [edx + str.cw]
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + str.cw]
shl edx, 8
or edx, ebx
mov ebx, edi
shr ebx, 0x10
shr edi, 8
and ebx, 0xff
movzx ebx, byte [ebx + str.cw]
and edi, 0xff
movzx edi, byte [edi + str.cw]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 8]
shl edx, 8
xor edi, eax
or edi, edx
jmp 0x455a18
cmp dword [ebp + 8], 6
jbe 0x455a18
cmp edx, 4
jne 0x455a18
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
mov edx, edi
shr edx, 0x18
movzx edx, byte [edx + str.cw]
shl edx, 8
or eax, edx
mov edx, edi
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
shl eax, 8
and edi, 0xff
movzx edi, byte [edi + str.cw]
or eax, edx
shl eax, 8
or edi, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
xor edx, edi
mov dword [ecx + esi*4 + 0x10], edx
inc esi
add eax, 4
mov dword [ebp - 4], eax
cmp esi, ebx
jb 0x455958
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x459520
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], ecx
dec ecx
je 0x459578
sub ecx, 3
je 0x45956e
sub ecx, 6
jne 0x45957f
mov dword [eax + 0x10], 0x6a09e667
mov dword [eax + 0x14], 0xbb67ae85
mov dword [eax + 0x18], 0x3c6ef372
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0x510e527f
mov dword [eax + 0x24], 0x9b05688c
mov dword [eax + 0x28], 0x1f83d9ab
mov dword [eax + 0x2c], 0x5be0cd19
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
ret
or ecx, 0xffffffff
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
ret
mov dword [eax + 4], 0xffffffff
ret
Function at 0x45c380
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push edi
mov edi, dword [esi + 0x18]
and edi, 0x3f
mov ebx, eax
mov eax, edi
shr edi, 2
xor edx, edx
and eax, 3
je 0x45c39a
mov edx, dword [esi + edi*4 + 0x20]
lea ecx, [eax*8]
mov eax, SysReAllocStringLen
shr eax, cl
inc edi
or eax, edx
mov dword [esi + edi*4 + 0x1c], eax
cmp edi, 0xe
je 0x45c3d5
and edi, 0xf
jne 0x45c3c7
lea edx, [esi + 0x20]
push esi
mov ecx, esi
call fcn.0045b9e0
add esp, 4
mov dword [esi + edi*4 + 0x20], 0
inc edi
cmp edi, 0xe
jne 0x45c3b4
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
mov dword [esi + 0x58], ecx
lea edx, [esi + 0x20]
push esi
mov ecx, esi
mov dword [esi + 0x5c], eax
call fcn.0045b9e0
add esp, 4
xor ecx, ecx
xor eax, eax
lea ecx, [ecx]
mov edx, dword [esi + eax*4]
bswap edx
mov dword [ebx], edx
inc eax
add ebx, 4
cmp eax, 5
jb 0x45c400
pop edi
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
pop ebx
ret

Function at 0x45c440
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [esi + 0x18]
and edi, 0xf
mov dword [esi + edi*4 + 0x20], SysReAllocStringLen
inc edi
xor ebx, ebx
cmp edi, 0xe
je 0x45c478
and edi, 0xf
jne 0x45c46e
lea edx, [esi + 0x20]
push esi
mov ecx, esi
call fcn.0045b9e0
add esp, 4
mov dword [esi + edi*4 + 0x20], ebx
inc edi
cmp edi, 0xe
jne 0x45c45b
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
shld ecx, eax, 5
shl eax, 5
mov dword [esi + 0x58], ecx
mov ecx, dword [ebp + 8]
lea edx, [esi + 0x20]
push esi
mov dword [esi + 0x5c], eax
call fcn.0045b9e0
add esp, 4
pop edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop ebx
pop ebp
ret
Function at 0x45c680
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x63ae80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
mov esi, ecx
mov edi, edx
call fcn.005a9d60
add esp, 0xc
cmp esi, 0x40
jbe 0x45c6ee
xor eax, eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov eax, esi
mov ecx, ebx
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
mov dword [edi + 0x10], 0xc3d2e1f0
call fcn.0045c250
lea eax, [ebp - 0x44]
mov esi, edi
call fcn.0045c380
jmp 0x45c700
test esi, esi
je 0x45c700
push esi
lea ecx, [ebp - 0x44]
push ebx
push ecx
call fcn.005a9de0
add esp, 0xc
xor ecx, ecx
xor eax, eax
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x45c704
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], ecx
mov ebx, 0x10325476
mov esi, 0xc3d2e1f0
mov eax, 0x40
lea ecx, [ebp - 0x44]
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], esi
call fcn.0045c250
xor ecx, ecx
xor eax, eax
lea ebx, [ebx]
xor byte [ebp + eax - 0x44], 0x6a
inc eax
cmp eax, 0x40
jb 0x45c750
add edi, 0x60
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], ecx
mov eax, 0x40
lea ecx, [ebp - 0x44]
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], esi
call fcn.0045c250
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005a6d8e
mov esp, ebp
pop ebp
ret 4
Function at 0x45c7a0
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x63ae80]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
push edi
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
cmp eax, 0x40
jbe 0x45c864
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], ecx
mov ecx, edx
lea edi, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0x67452301
mov dword [ebp - 0xb8], 0xefcdab89
mov dword [ebp - 0xb4], 0x98badcfe
mov dword [ebp - 0xb0], 0x10325476
mov dword [ebp - 0xac], 0xc3d2e1f0
call fcn.0045c250
lea eax, [ebp - 0x1c]
mov esi, edi
call fcn.0045c380
xor eax, eax
nop
mov ecx, dword [ebp + eax - 0x1c]
bswap ecx
mov dword [ebp + eax - 0x5c], ecx
add eax, 4
cmp eax, 0x14
jb 0x45c850
jmp 0x45c898
xor edx, edx
cmp eax, ecx
jbe 0x45c89a
mov ecx, edx
shr ecx, 2
lea esi, [ebp + ecx*4 - 0x5c]
mov edi, edx
and edi, 3
mov ecx, 3
sub ecx, edi
mov edi, dword [ebp - 0xc0]
movzx edi, byte [edi + edx]
add ecx, ecx
add ecx, ecx
add ecx, ecx
shl edi, cl
inc edx
or dword [esi], edi
cmp edx, eax
jb 0x45c86a
xor ecx, ecx
xor eax, eax
lea esp, [esp]
xor dword [ebp + eax*4 - 0x5c], 0x36363636
inc eax
cmp eax, 0x10
jb 0x45c8a0
mov eax, 0x10
mov esi, ecx
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
mov dword [ebx + 0x10], 0xc3d2e1f0
lea edi, [ebp - 0x5c]
and esi, 0xf
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0
mov edx, dword [edi]
mov dword [ebx + esi*4 + 0x20], edx
dec eax
inc esi
add edi, 4
mov dword [ebp - 0xc0], eax
cmp esi, 0x10
jne 0x45c913
lea edx, [ebx + 0x20]
push ebx
mov ecx, ebx
xor esi, esi
call fcn.0045b9e0
mov eax, dword [ebp - 0xc0]
add esp, 4
test eax, eax
jne 0x45c8e7
jmp 0x45c920
xor dword [ebp + eax*4 - 0x5c], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x45c920
lea esi, [ebx + 0x60]
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov ebx, dword [esi + 0x18]
mov eax, 0x10
and ebx, 0xf
add dword [esi + 0x18], eax
lea edi, [ebp - 0x5c]
adc dword [esi + 0x1c], 0
mov ecx, dword [edi]
mov dword [esi + ebx*4 + 0x20], ecx
dec eax
inc ebx
add edi, 4
mov dword [ebp - 0xc0], eax
cmp ebx, 0x10
jne 0x45c9a2
lea edx, [esi + 0x20]
push esi
mov ecx, esi
xor ebx, ebx
call fcn.0045b9e0
mov eax, dword [ebp - 0xc0]
add esp, 4
test eax, eax
jne 0x45c976
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005a6d8e
mov esp, ebp
pop ebp
ret 4
Function at 0x45ca70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x63ae80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
add eax, 5
adc ecx, 0
shld ecx, eax, 5
shl eax, 5
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x78]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edi + 0x7c]
add eax, 5
adc ecx, 0
shld ecx, eax, 5
shl eax, 5
mov dword [ebp - 0x4c], eax
xor eax, eax
mov edx, SysReAllocStringLen
mov dword [ebp - 0x50], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov eax, dword [esi]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x74], edx
mov edx, dword [esi + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x44], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov ebx, 0x3e7
jmp 0x45cb20
push edi
lea ecx, [ebp - 0x88]
lea edx, [ebp - 0x48]
call fcn.0045b9e0
lea eax, [edi + 0x60]
add esp, 4
push eax
lea ecx, [ebp - 0x48]
lea edx, [ebp - 0x88]
call fcn.0045b9e0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
xor dword [esi], edx
xor dword [esi + 4], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
xor dword [esi + 8], ecx
xor dword [esi + 0xc], edx
xor dword [esi + 0x10], eax
add esp, 4
dec ebx
jne 0x45cb20
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.005a6d8e
mov esp, ebp
pop ebp
ret
Function at 0x45d560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x18]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0x1c]
push ebx
xor ecx, ecx
xor ebx, ebx
mov dword [edi + 0xc], edx
mov word [edi], cx
push esi
cmp byte [eax + 1], bl
je 0x45d5eb
mov dl, byte [eax + 2]
lea ebx, [eax + 0x20]
lea esi, [edi + 0x20]
mov byte [ebp - 1], dl
call fcn.0040eed0
mov eax, dword [ebp + 0x10]
cmp byte [eax + 4], 0
je 0x45d5a5
mov ecx, 0x800
or word [edi], cx
jmp 0x45d5ad
mov edx, 0xf7ff
and word [edi], dx
mov ecx, dword [eax + 0x10]
mov dword [edi + 0x3c], ecx
mov edx, dword [eax + 0x14]
mov dword [edi + 0x18], edx
mov ecx, dword [eax + 0x2c]
mov dword [edi + 0x60], ecx
mov edx, dword [eax + 0x30]
mov dword [edi + 0x64], edx
mov ecx, dword [eax + 0x34]
mov dword [edi + 0x68], ecx
mov edx, dword [eax + 0x38]
mov dword [edi + 0x6c], edx
mov ecx, dword [eax + 0x3c]
mov dword [edi + 0x70], ecx
mov edx, dword [eax + 0x40]
mov dword [edi + 0x74], edx
movzx eax, byte [eax + 3]
mov byte [edi + 0x78], al
mov al, byte [ebp - 1]
xor ebx, ebx
jmp 0x45d5f2
mov esi, edi
call fcn.00438550
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov dword [edi + 0x40], edx
mov ecx, dword [ecx + 0x3c]
mov dword [edi + 0x44], ecx
mov byte [edi + 5], bl
mov dword [edi + 0x38], 0x3f
cmp al, bl
jne 0x45d621
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + 0x24], bl
je 0x45d621
or word [edi], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0xfffe
and word [edi], dx
cmp al, bl
je 0x45d646
xor eax, eax
mov byte [edi + 4], 0x14
mov word [edi + 2], ax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x1c], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45da40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4be8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x63ae80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x3c]
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
test ebx, ebx
jne 0x45dac0
mov eax, dword [esi + 0x34]
test eax, eax
je 0x45dac0
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 8]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x45dabd
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
test eax, eax
je 0x45dad4
mov edx, dword [eax]
mov dword [esi + ebx*8 + 0x10], edx
mov eax, dword [eax + 4]
mov dword [esi + ebx*8 + 0x14], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45dae8
mov ecx, dword [eax]
mov dword [esi + ebx*8 + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esi + ebx*8 + 0x24], edx
cmp byte [esi + 0x38], 0
je 0x45dafc
mov eax, dword [esi + 0x18]
add eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x1c]
adc ecx, dword [esi + 0x14]
jmp 0x45db08
mov eax, dword [esi + 0x28]
add eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x2c]
adc ecx, dword [esi + 0x24]
mov edx, dword [esi + 8]
add edx, eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x30]
adc eax, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi]
mov eax, dword [ecx + 0x10]
lea edx, [ebp - 0x18]
push edx
push esi
call eax
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x464ae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi + 4], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
jne 0x464b1a
push 0
push 0
push 0
push 0
call edi
mov dword [esi + 4], eax
test eax, eax
jne 0x464b1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x464b93
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 8], 0
jne 0x464b31
push 0
push 0
push 0
push 0
call edi
mov dword [esi + 8], eax
test eax, eax
je 0x464b02
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x464b4a
call ebx
mov ecx, dword [esi + 8]
push ecx
call edi
test eax, eax
jne 0x464b56
call ebx
cmp dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
je 0x464b68
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 4]
push edx
push 0
push esi
push 0x464a80
push 0
push 0
call fcn.005a9bc4
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
jne 0x464b60
call ebx
test eax, eax
jne 0x464b92
mov eax, 1
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x46a920
Capabilities:
Hash data using sha256

Disassembly:
xor ecx, ecx
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], ecx
mov dword [eax + 0x24], ecx
ret

Function at 0x46b450
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push edi
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x28], 0x80
inc edi
mov ebx, eax
cmp edi, 0x38
je 0x46b47e
and edi, 0x3f
jne 0x46b473
push esi
call fcn.0046a960
add esp, 4
mov byte [esi + edi + 0x28], 0
inc edi
cmp edi, 0x38
jne 0x46b465
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
push esi
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
call fcn.0046a960
add esp, 4
xor edx, edx
xor eax, eax
mov ecx, dword [esi + eax*4 + 4]
mov edi, dword [esi + eax*4]
bswap edi
bswap ecx
mov dword [ebx], edi
mov dword [ebx + 4], ecx
add eax, 2
add ebx, 8
cmp eax, 8
jb 0x46b4a5
pop edi
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], edx
mov dword [esi + 0x24], edx
pop ebx
ret
Function at 0x46e000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7038
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x63ae80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
or edi, 0xffffffff
cmp eax, edi
je 0x46e047
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x46e0ca
mov dword [esi + 0x10], edi
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], edi
cmp eax, ecx
je 0x46e08c
mov ecx, dword [esi + 0x14]
mov ebx, dword [ebp + 0xc]
call fcn.00438c60
test eax, eax
jne 0x46e0cf
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
push 0x64a340
push eax
mov ecx, edi
call dword [0x64c340]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
cmp byte [esi + 0x2c], 0
je 0x46e17c
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
push 1
push SysReAllocStringLen
mov edi, 3
lea esi, [ebp - 0x10]
call fcn.0040f720
test al, al
jne 0x46e0e3
mov eax, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x46e0ca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [esi + 0x24]
ja 0x46e16d
jb 0x46e0f8
mov edx, dword [ebp - 0x20]
cmp edx, dword [esi + 0x20]
jae 0x46e16d
mov eax, dword [esi + 0x14]
mov edx, dword [ebp - 0x10]
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x100000
push eax
push edx
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46e1b6
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x46e16d
mov ecx, dword [esi + 0x14]
mov ebx, dword [ebp + 0xc]
mov eax, edi
call fcn.00438c60
mov ebx, eax
test ebx, ebx
jne 0x46e1c3
mov edx, dword [esi + 0x14]
mov ecx, dword [ebp - 0x14]
push 0x64a340
push edi
call dword [0x64c340]
add dword [ebp - 0x20], edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
adc eax, ebx
mov dword [ebp - 0x1c], eax
cmp eax, dword [esi + 0x24]
jb 0x46e0f8
ja 0x46e16d
mov eax, dword [ebp - 0x20]
cmp eax, dword [esi + 0x20]
jb 0x46e0f8
mov eax, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x46e17c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp dword [esi + 0x28], ecx
jne 0x46e0ca
mov edx, dword [ebp - 0x20]
cmp edx, dword [esi + 0x20]
jne 0x46e0ca
mov eax, dword [ebp - 0x1c]
cmp eax, dword [esi + 0x24]
jne 0x46e0ca
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea esi, [ebp - 0x10]
call fcn.0040fb30
jmp 0x46e0ca
lea esi, [ebp - 0x10]
call fcn.0040fb30
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8