joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b280
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x44f341], 0
push esi
push edi
mov edi, ecx
jne 0x40b2b4
mov edx, edi
lea ecx, [ebp - 0xc]
call fcn.00409550
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.004340fc
add esp, 4
jmp 0x40b2c2
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b2df
cmp esi, 0xffffffff
je 0x40b2df
mov eax, esi
and al, 0x11
cmp al, 1
jne 0x40b2df
and esi, 0xfffffffe
mov ecx, edi
mov edx, esi
call fcn.0040ad70
test al, al
je 0x40b31e
cmp byte [0x44f341], 0
jne 0x40b30b
mov edx, edi
lea ecx, [ebp - 0xc]
call fcn.00409550
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.004340fc
add esp, 4
test esi, esi
jmp 0x40b314
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40b31e
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40b620
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x44f341], 0
jne 0x40b659
mov edx, ecx
lea ecx, [ebp - 0xc]
push esi
call fcn.00409550
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.004340fc
add esp, 4
test esi, esi
setne al
pop esi
mov esp, ebp
pop ebp
ret
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
mov esp, ebp
pop ebp
ret
Function at 0x40b670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440f16
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x44e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
xor ecx, ecx
mov dword [edi + 4], 0
mov word [eax], cx
cmp byte [0x44f341], cl
jne 0x40b72c
lea eax, [ebp - 0x128]
mov byte [ebp - 0x128], cl
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x40b7c7
cmp eax, 0x114
jae 0x40b7c7
mov byte [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
neg eax
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0x360]
sbb eax, eax
inc eax
push eax
call fcn.00409a50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x360]
mov ecx, edi
push eax
call fcn.004090e0
push dword [ebp - 0x360]
call fcn.004340fc
add esp, 4
mov al, 1
jmp 0x40b7c9
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov word [ebp - 0x354], ax
lea eax, [ebp - 0x354]
push eax
push 0x114
call ebx
mov esi, eax
test esi, esi
je 0x40b7c7
cmp esi, 0x114
jae 0x40b772
xor eax, eax
mov ecx, edi
mov word [ebp - 0x12c], ax
lea eax, [ebp - 0x354]
push eax
call fcn.00409070
mov al, 1
jmp 0x40b7c9
lea ecx, [ebp - 0x360]
call fcn.00408ea0
push esi
lea ecx, [ebp - 0x360]
mov dword [ebp - 4], 1
call fcn.00409850
push eax
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x40b7b9
push esi
lea ecx, [ebp - 0x360]
call fcn.0040ad40
cmp dword [ebp - 0x35c], ebx
jne 0x40b7b9
lea eax, [esi - 1]
cmp eax, ebx
je 0x40b709
push dword [ebp - 0x360]
call fcn.004340fc
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004340eb
mov esp, ebp
pop ebp
ret
Function at 0x40b870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440f4b
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x44e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x44f341], 0
jne 0x40b90c
lea eax, [ebp - 0x128]
mov byte [ebp - 0x128], 0
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
neg eax
lea edx, [ebp - 0x128]
lea ecx, [ebp - 0x360]
sbb eax, eax
inc eax
push eax
call fcn.00409a50
lea eax, [ebp - 0x360]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004090e0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x360]
call fcn.004340fc
add esp, 4
jmp 0x40b937
xor eax, eax
mov word [ebp - 0x354], ax
lea eax, [ebp - 0x354]
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
mov ecx, esi
lea eax, [ebp - 0x354]
push eax
call fcn.00409070
mov eax, dword [esi + 4]
test eax, eax
je 0x40b973
mov ecx, dword [esi]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
je 0x40b973
cmp edx, 0x2f
je 0x40b973
cmp dword [esi + 8], eax
jne 0x40b960
mov ecx, esi
call fcn.00408d10
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, 0x5c
mov word [ecx + eax*2], dx
inc eax
xor edx, edx
mov word [ecx + eax*2], dx
mov dword [esi + 4], eax
test edi, edi
je 0x40b983
cmp edi, 0x114
jae 0x40b983
mov al, 1
jmp 0x40b985
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004340eb
mov esp, ebp
pop ebp
ret
Function at 0x40c000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x44f341], 0
jne 0x40c036
mov edx, ecx
lea ecx, [ebp - 0xc]
push esi
call fcn.00409550
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.004340fc
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x4127a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov ecx, edi
call fcn.0040d2f0
mov esi, dword [ebx + 0xf0]
test esi, esi
je 0x412943
cmp dword [ebx + 0xe8], 0
je 0x412943
mov eax, dword [ebp + 8]
mov ecx, dword [esi + eax*4]
mov esi, dword [esi + eax*4 + 4]
sub esi, ecx
mov dword [ebp + 0xc], ecx
cmp esi, 0x4000
jae 0x412943
lea eax, [esi - 1]
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [edi + 8], eax
test eax, eax
jne 0x41280e
mov dword [edi + 8], 0x8007000e
mov eax, 0x8007000e
mov ecx, 0xa
jmp 0x412815
xor eax, eax
mov ecx, 8
mov word [edi], cx
test eax, eax
jne 0x412945
mov eax, dword [ebx + 0xe8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 8]
xor edi, edi
lea ecx, [eax + ecx*2]
test esi, esi
je 0x412943
cmp esi, 0x10
jb 0x41290d
lea eax, [ecx - 2]
lea eax, [eax + esi*2]
lea ebx, [edx - 2]
lea ebx, [ebx + esi*2]
cmp edx, eax
ja 0x41285a
cmp ebx, ecx
jae 0x41290d
movaps xmm5, xmmword [str._________]
mov eax, esi
movaps xmm6, xmmword [0x449570]
and eax, 0xfffffff0
movaps xmm4, xmmword [0x449550]
movaps xmm7, xmmword [0x449560]
nop dword [eax + eax]
movups xmm0, xmmword [ecx]
add edi, 0x10
movaps xmm3, xmm5
pcmpeqw xmm3, xmm0
movaps xmm2, xmm3
pandn xmm2, xmm0
movaps xmm0, xmm3
pand xmm0, xmm4
pxor xmm3, xmm6
por xmm2, xmm0
movaps xmm1, xmm2
pcmpeqw xmm1, xmm4
pand xmm1, xmm3
movaps xmm3, xmm5
movaps xmm0, xmm1
pand xmm1, xmm7
pandn xmm0, xmm2
por xmm0, xmm1
movups xmmword [edx], xmm0
movups xmm0, xmmword [ecx + 0x10]
add ecx, 0x20
pcmpeqw xmm3, xmm0
movaps xmm2, xmm3
pandn xmm2, xmm0
movaps xmm0, xmm3
pand xmm0, xmm4
pxor xmm3, xmm6
por xmm2, xmm0
movaps xmm1, xmm2
pcmpeqw xmm1, xmm4
pand xmm1, xmm3
movaps xmm0, xmm1
pand xmm1, xmm7
pandn xmm0, xmm2
por xmm0, xmm1
movups xmmword [edx + 0x10], xmm0
add edx, 0x20
cmp edi, eax
jb 0x412880
cmp edi, esi
jae 0x412943
sub esi, edi
mov edi, 0xf05c
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
cmp eax, 0x2f
jne 0x412932
mov eax, 0x5c
jmp 0x412938
cmp eax, 0x5c
cmove eax, edi
mov word [edx], ax
add edx, 2
sub esi, 1
jne 0x412920
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41f340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441ce7
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x44e008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [esi], 0x448d64
mov dword [esi + 4], 0x448d78
mov dword [esi + 8], 0x448d9c
mov dword [esi + 0xc], 0x448d50
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
push 8
mov dword [esi + 0x44], 0
call fcn.0043424b
xor ecx, ecx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 3
mov word [eax], cx
mov byte [ebp - 4], 3
push 8
mov dword [esi + 0x50], ecx
call fcn.0043424b
xor ecx, ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
add esp, 8
mov dword [esi + 0x58], 3
mov word [eax], cx
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 4
call fcn.0040ae10
mov dword [esi + 0x98], 0
mov eax, esi
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0xffffffff
mov dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0x54fffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x421600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442020
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x44e008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.004340fc
push dword [esi + 0xc0]
call fcn.004340fc
push dword [esi + 0x9c]
call fcn.004340fc
push dword [esi + 0x90]
call fcn.004340fc
push dword [esi + 0x30]
call fcn.004340fc
push dword [esi + 0x24]
call fcn.004340fc
push dword [esi + 0x18]
call fcn.004340fc
add esp, 0x1c
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x421680
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x421694
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4216a8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x4216bb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4227e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442228
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x44e008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esi + 0x14]
xor ecx, ecx
mov edx, 2
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043424b
mov ecx, dword [esi + 0x14]
mov edi, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ecx*2 + 2]
push ecx
push dword [esi + 0x10]
push edi
call fcn.00437af0
add esp, 0x10
mov dword [ebp - 4], 0
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
cmp dword [eax + 4], ecx
jbe 0x422981
mov esi, ebx
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x10], eax
mov edx, dword [eax + 4]
mov eax, esi
sub eax, ebx
cmp edx, eax
jbe 0x4228ef
lea ecx, [ebx + edx]
mov eax, ecx
lea esi, [ecx + 0x10]
shr eax, 1
add esi, eax
and esi, 0xfffffff0
dec esi
cmp esi, ebx
jb 0x422891
cmp esi, 0x3ffffffe
jbe 0x422896
mov esi, 0x3ffffffe
cmp esi, ebx
jbe 0x42299e
mov eax, esi
sub eax, ebx
cmp eax, edx
jb 0x42299e
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043424b
lea ecx, [ebx*2 + 2]
mov edi, eax
push ecx
push dword [ebp - 0x20]
push edi
call fcn.00437af0
push dword [ebp - 0x20]
call fcn.004340fc
mov ecx, dword [ebp - 0x10]
add esp, 0x14
dec esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], esi
mov edx, dword [ecx + 4]
jmp 0x4228f2
mov ecx, dword [ebp - 0x10]
lea eax, [edx*2 + 2]
push eax
push dword [ecx]
lea eax, [edi + ebx*2]
push eax
call fcn.00437af0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [eax + 4]
add ebx, eax
cmp byte [0x44f341], 0
mov dword [ebp - 0x1c], ebx
jne 0x42293d
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.00409550
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x2c]
call fcn.004340fc
add esp, 4
jmp 0x422946
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, ebx
jne 0x42295b
lea ecx, [ebp - 0x20]
call fcn.00408d10
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov eax, 0x5c
mov word [edi + ebx*2], ax
inc ecx
inc ebx
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0x1c], ebx
mov word [edi + ebx*2], ax
mov eax, dword [ebp + 8]
cmp ecx, dword [eax + 4]
jb 0x422862
push edi
call fcn.004340fc
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x44c518
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x13329ac
push eax
call fcn.00435d4e
int3
Function at 0x423ed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4424c6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x44e008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx + 8], 0
mov dword [ebx], 0x448f28
mov dword [ebx + 4], 0x448eb0
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 0
push 8
mov dword [ebx + 0x10], 0
call fcn.0043424b
xor ecx, ecx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 3
mov word [eax], cx
mov byte [ebp - 4], 1
push 8
mov dword [ebx + 0x1c], ecx
call fcn.0043424b
xor ecx, ecx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 3
mov word [eax], cx
mov byte [ebp - 4], 2
push 8
mov dword [ebx + 0x28], ecx
call fcn.0043424b
xor ecx, ecx
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 3
mov word [eax], cx
mov dword [ebx + 0x4c], ecx
mov byte [ebp - 4], 4
push 8
mov dword [ebx + 0x50], ecx
call fcn.0043424b
xor ecx, ecx
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 3
mov word [eax], cx
lea edi, [ebx + 0x68]
mov dword [ebp - 0x18], edi
mov dword [edi + 4], ecx
mov byte [ebp - 4], 6
mov dword [edi], 0x448ef4
mov dword [edi + 8], ecx
push 8
mov dword [edi + 0xc], ecx
call fcn.0043424b
xor ecx, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
add esp, 0x14
mov dword [edi + 0x14], 3
mov word [eax], cx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x44], ecx
lea esi, [edi + 0x48]
mov byte [ebp - 4], 8
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.00408430
mov word [esi + 0x18], 0
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 9
mov dword [edi + 0x78], 0xffffffff
mov dword [edi + 0x40], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0x44], eax
test eax, eax
jne 0x42405f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
jne 0x4240aa
mov byte [ebp - 4], 0xa
push 8
mov dword [ebx + 0xec], 0
call fcn.0043424b
add esp, 4
mov dword [ebx + 0xec], eax
xor ecx, ecx
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xf4], 3
mov word [eax], cx
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
push 0x44c518
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x145ecb
push eax
call fcn.00435d4e
int3
Function at 0x4245a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x44e008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov dword [ebp - 0x84], 0x420041
xor edx, edx
mov dword [ebp - 0x80], 0x440043
mov dword [ebp - 0x7c], 0x460045
mov dword [ebp - 0x78], 0x480047
mov dword [ebp - 0x74], 0x4a0049
mov dword [ebp - 0x70], 0x4c004b
mov dword [ebp - 0x6c], 0x4e004d
mov dword [ebp - 0x68], 0x50004f
mov dword [ebp - 0x64], 0x520051
mov dword [ebp - 0x60], 0x540053
mov dword [ebp - 0x5c], 0x560055
mov dword [ebp - 0x58], 0x580057
mov dword [ebp - 0x54], 0x5a0059
mov dword [ebp - 0x50], 0x620061
mov dword [ebp - 0x4c], 0x640063
mov dword [ebp - 0x48], 0x660065
mov dword [ebp - 0x44], 0x680067
mov dword [ebp - 0x40], 0x6a0069
mov dword [ebp - 0x3c], 0x6c006b
mov dword [ebp - 0x38], 0x6e006d
mov dword [ebp - 0x34], 0x70006f
mov dword [ebp - 0x30], 0x720071
mov dword [ebp - 0x2c], 0x740073
mov dword [ebp - 0x28], 0x760075
mov dword [ebp - 0x24], 0x780077
mov dword [ebp - 0x20], 0x7a0079
mov dword [ebp - 0x1c], 0x310030
mov dword [ebp - 0x18], 0x330032
mov dword [ebp - 0x14], 0x350034
mov dword [ebp - 0x10], 0x370036
mov dword [ebp - 0xc], 0x390038
mov dword [ebp - 8], 0x2f002b
test esi, esi
jle 0x4246dd
nop dword [eax]
movzx ecx, word [edi + edx*2]
xor eax, eax
cmp word [ebp + eax*2 - 0x84], cx
je 0x4246d8
inc eax
cmp eax, 0x40
jb 0x4246b6
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004340eb
mov esp, ebp
pop ebp
ret
inc edx
cmp edx, esi
jl 0x4246b0
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004340eb
mov esp, ebp
pop ebp
ret
Function at 0x4248d0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442580
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x44e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x80]
mov dword [ebp - 0x68], 0
push esi
push 0x4480a0
mov dword [ebp - 0x64], esi
call fcn.00402510
mov edi, eax
mov dword [ebp - 0x6c], edi
test edi, edi
je 0x424ad7
mov dword [ebp - 0x68], esi
mov dword [ebp - 4], 0
lea esi, [edi + 0x80]
push dword [ebp - 0x4c]
push dword [ebp - 0x60]
push esi
call fcn.00437af0
mov dword [edi], 0x407e60
add esp, 0xc
mov dword [edi + 8], 0
mov edx, esi
mov dword [edi + 0xc], 0
mov ecx, edi
mov dword [edi + 0x20], 0x6a09e667
push dword [ebp - 0x4c]
mov dword [edi + 0x24], 0xbb67ae85
mov dword [edi + 0x28], 0x3c6ef372
mov dword [edi + 0x2c], 0xa54ff53a
mov dword [edi + 0x30], 0x510e527f
mov dword [edi + 0x34], 0x9b05688c
mov dword [edi + 0x38], 0x1f83d9ab
mov dword [edi + 0x3c], 0x5be0cd19
call fcn.00408220
xorps xmm0, xmm0
lea edx, [ebp - 0x30]
mov ecx, edi
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.004082d0
push dword [ebp - 0x50]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x5c], 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x58], 0
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x54], 0
call fcn.00434050
push dword [ebp - 0x64]
mov byte [ebp - 4], 1
push 0
push edi
call fcn.00435dc0
add esp, 0xc
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x48]
call fcn.00424730
cmp dword [eax + 0x14], 0x10
jb 0x424a0d
mov eax, dword [eax]
movups xmm0, xmmword [eax]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x34]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ecx + 0x30], xmm0
cmp edx, 0x10
jb 0x424a62
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424a58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424aec
push edx
push ecx
call fcn.0043423d
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
test ecx, ecx
je 0x424aa8
mov edx, dword [ebp - 0x54]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x424a9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424af1
push edx
push ecx
call fcn.0043423d
add esp, 8
mov dword [ebp - 4], 2
push dword [edi - 4]
call fcn.00438650
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004340eb
mov esp, ebp
pop ebp
ret 8
push 0x44c518
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 1
push eax
call fcn.00435d4e
call fcn.00438a9e
call fcn.00438a9e
int3
Function at 0x424b00
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x44e008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], ecx
push 0
push eax
mov esi, edx
call fcn.00435dc0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x424be3
push ebx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x424b9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x424b9b
mov ecx, dword [esi]
jmp 0x424bad
mov eax, dword [ebp - 0x210]
xor ecx, ecx
add ecx, ebx
mov dword [esi], ecx
adc eax, 0
mov dword [esi + 4], eax
push ecx
mov dword [ebp - 0x218], 0
call fcn.0043424b
mov ecx, dword [ebp - 0x214]
add esp, 4
push 0
mov dword [ecx], eax
lea ecx, [ebp - 0x218]
push ecx
push dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004340eb
mov esp, ebp
pop ebp
ret