joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d15a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407e6b
mov dword [ebp - 0x14], eax
cmp dword [0x4370fc], esi
jne 0x40d24d
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d1da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d32d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d32d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d32d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4370fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x437100], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x437104], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43710c], eax
test eax, eax
je 0x40d24a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x437108], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d272
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d265
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d287
push 4
pop eax
jmp 0x40d32f
cmp dword [ebp - 0x14], esi
je 0x40d287
push dword [0x4370fc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d26c
mov eax, dword [0x437108]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d2e5
cmp dword [0x43710c], edi
je 0x40d2e5
push eax
call ebx
push dword [0x43710c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d2e5
test eax, eax
je 0x40d2e5
call ecx
test eax, eax
je 0x40d2da
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d2da
test byte [ebp - 8], 1
jne 0x40d2e5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d315
mov eax, dword [0x437100]
cmp eax, edi
je 0x40d312
push eax
call ebx
test eax, eax
je 0x40d312
call eax
mov esi, eax
test esi, esi
je 0x40d312
mov eax, dword [0x437104]
cmp eax, edi
je 0x40d312
push eax
call ebx
test eax, eax
je 0x40d312
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4370fc]
call ebx
test eax, eax
je 0x40d32d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d32f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004043b8
mov esp, ebp
pop ebp
ret
Function at 0x712a8014
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
push eax
push ecx
push edx
push 3
push 0x74e93328
call fcn.712a8100
test al, al
jne 0x712a81b1
push dword [ebx]
push dword [edi]
push dword [esi]
push 3
push 0x74e9334c
call fcn.712a8100
test al, al
je 0x712a8408
test dword [ebp + 0x18], 0xffffffea
jne 0x712a81e9
cmp dword [ebp + 0x14], 2
je 0x712a81e9
mov al, byte [0x74e93370]
mov ecx, dword [0x74e9334c]
mov byte [ebp + 0x1b], al
movzx eax, al
mov dword [esi], ecx
mov ecx, dword [0x74e93350]
neg eax
sbb eax, eax
mov dword [edi], ecx
mov ecx, dword [0x74e93354]
and eax, 0x74e914dc
push eax
push dword [ebp + 0x1c]
mov dword [ebx], ecx
call dword [0x74e91028]
mov ax, word [esi]
and dword [ebp + 0x1c], 0
cmp byte [ebp + 0x1b], 0
mov word [ebp + 0x1c], ax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x24]
jne 0x712a852a
mov dword [eax], 0xe0000000
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x20
test dword [ebp + 0x18], 0xfffffffe
jne 0x712a81e9
mov al, byte [0x74e93371]
mov ecx, dword [0x74e93328]
mov byte [ebp + 0x1b], al
movzx eax, al
mov dword [esi], ecx
mov ecx, dword [0x74e9332c]
neg eax
sbb eax, eax
mov dword [edi], ecx
mov ecx, dword [0x74e93330]
and eax, 0x74e915f4
jmp 0x712a809f
mov eax, 0x2726
jmp 0x712a80d3
push dword [ebx]
push dword [edi]
push dword [esi]
push 2
push 0x74e93378
call fcn.712a8100
test al, al
je 0x712a81e9
test dword [ebp + 0x18], 0xffffffea
jne 0x712a81e9
mov eax, dword [ebx]
test eax, eax
jl 0x712a81e9
cmp eax, 0xff
jg 0x712a81e9
mov al, byte [0x74e93afc]
mov byte [ebp + 0x1b], al
test al, al
je 0x712a850c
mov edi, dword [0x74e91028]
push 0x74e91934
lea eax, [ebp - 8]
push eax
call edi
mov esi, dword [ebp + 0x1c]
push 0
push esi
call edi
mov eax, dword [ebp - 8]
mov ecx, dword fs:[0x18]
add eax, 0xa
mov word [esi + 2], ax
movzx eax, ax
push eax
mov eax, dword [ecx + 0x30]
push 0
push dword [eax + 0x18]
call dword [0x74e9100c]
mov dword [esi + 4], eax
test eax, eax
jne 0x712a84a1
mov eax, 0x2747
jmp 0x712a80d3
lea eax, [ebp - 8]
push eax
push esi
call dword [0x74e91008]
movzx eax, word [esi]
mov ecx, dword [esi + 4]
push 0x5c
shr eax, 1
pop edx
mov word [ecx + eax*2], dx
add word [esi], 2
movzx eax, word [esi]
mov ecx, dword [esi + 4]
shr eax, 1
xor edx, edx
mov word [ecx + eax*2], dx
movzx eax, word [esi]
mov edx, dword [esi + 4]
movzx ecx, ax
shr ecx, 1
lea ecx, [edx + ecx*2]
mov dword [ebp - 4], ecx
xor ecx, ecx
mov word [ebp - 8], cx
mov cx, word [esi + 2]
sub cx, ax
lea eax, [ebp - 8]
push eax
push 0xa
push dword [ebx]
mov word [ebp - 6], cx
call dword [0x74e91004]
mov ax, word [ebp - 8]
add word [esi], ax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x712a8517
push 0
push dword [ebp + 0x1c]
call dword [0x74e91028]
mov eax, dword [0x74e93378]
mov dword [esi], eax
mov eax, dword [0x74e9337c]
mov dword [edi], eax
jmp 0x712a80ab
and dword [eax], 0
jmp 0x712a80d1
Function at 0x712d3703
Capabilities:
Get number of processors

Disassembly:
push esp
add byte [eax], al
add byte [eax + 0x16a], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al

Function at 0x712d3740
Capabilities:
Get number of processors

Disassembly:
push esp
add byte [eax], al
add byte [eax + 0x16a], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
Function at 0x40e560
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], SysReAllocString
mov dword [eax + 4], ecx
mov dword [ebp - 0x64], 0x40
push str.GlobalMemoryStatusEx
push 0x535800
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x40e5d1
lea edx, [ebp - 0x64]
push edx
call dword [ebp - 0x68]
test eax, eax
je 0x40e5d1
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040e610
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, 1
jmp 0x40e5fb
mov dword [ebp - 0x24], 0x20
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040e650
xor edx, edx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret 4

Function at 0x420760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
or eax, 0x100
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
and ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
shr edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
neg eax
and eax, 0x7ff
xor edx, eax
shr edx, 4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
add eax, dword [ecx + edx*4]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 2
jae 0x420778
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4207c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x100
mov eax, dword [ebp + 0xc]
or eax, 0x100
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
shl ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
and edx, dword [ebp - 4]
add edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
shr eax, 8
add edx, eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + edx*2]
mov eax, dword [ebp + 0xc]
shr eax, 7
and eax, 1
neg eax
and eax, 0x7ff
xor edx, eax
shr edx, 4
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
add eax, dword [ecx + edx*4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
shl ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
xor edx, dword [ebp + 0xc]
not edx
and edx, dword [ebp - 4]
mov dword [ebp - 4], edx
cmp dword [ebp + 0xc], 0x10000
jb 0x4207df
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42e8b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0x200
jb 0x42e8cd
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x42e8d4
xor eax, eax
jmp 0x42e9eb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1000
jae 0x42e8fc
mov ecx, dword [ebp - 0xc]
add ecx, 0x200
cmp ecx, dword [ebp + 0xc]
ja 0x42e8fc
mov edx, dword [ebp - 0xc]
and edx, 7
je 0x42e903
xor eax, eax
jmp 0x42e9eb
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
je 0x42e91e
xor eax, eax
jmp 0x42e9eb
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x1c4
jg 0x42e95f
cmp dword [ebp - 8], 0x1c4
je 0x42e985
cmp dword [ebp - 8], 0x14c
je 0x42e973
cmp dword [ebp - 8], 0x1c0
je 0x42e97c
cmp dword [ebp - 8], 0x1c2
je 0x42e97c
jmp 0x42e997
cmp dword [ebp - 8], 0x200
je 0x42e98e
cmp dword [ebp - 8], 0x8664
je 0x42e973
jmp 0x42e997
mov dword [ebp - 0x10], 0x3030103
jmp 0x42e99b
mov dword [ebp - 0x10], 0x3030501
jmp 0x42e99b
mov dword [ebp - 0x10], 0x3030701
jmp 0x42e99b
mov dword [ebp - 0x10], 0x3030401
jmp 0x42e99b
xor eax, eax
jmp 0x42e9eb
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x10]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x400
jbe 0x42e9b2
xor eax, eax
jmp 0x42e9eb
mov ecx, dword [ebp - 4]
add ecx, 0x14
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x10b
je 0x42e9d8
cmp dword [ebp - 0x14], 0x20b
je 0x42e9d8
jmp 0x42e9da
jmp 0x42e9de
xor eax, eax
jmp 0x42e9eb
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x439200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
call fcn.004e919d
add esp, 0x18
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00439170
mov esp, ebp
pop ebp
ret 0xc
Function at 0x448ea0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x448eb9
mov al, 1
jmp 0x448ebb
xor al, al
pop ebp
ret 8

Function at 0x448f90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.00403610
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x214], ecx
cmp dword [ebp - 0x214], 0x20c
jae 0x448fc7
jmp 0x448fcc
call fcn.004de7e3
xor edx, edx
mov eax, dword [ebp - 0x214]
mov word [ebp + eax - 0x210], dx
lea ecx, [ebp - 0x210]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x218], eax
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402430
cmp dword [ebp - 0x218], 0
jbe 0x449024
cmp dword [ebp - 0x218], 0x104
ja 0x449024
mov dword [ebp - 0x21c], 1
jmp 0x44902e
mov dword [ebp - 0x21c], 0
mov al, byte [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret 4

Function at 0x449880
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44989c
mov eax, dword [ebp - 4]
jmp 0x44989f
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4
Function at 0x44b9d0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b9f7
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x550144]
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 esi, ecx
mov dword [ebp - 0x420], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], 0
push 1
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x5363f0
mov byte [esi], 0
call fcn.0044c0b0
push 0
push 0
push 3
push 0
push 3
push 0
mov dword [ebp - 4], 0
push 0x5363f4
mov dword [ebp - 0x424], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44bb19
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x420], 0
push 0
push eax
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0
call fcn.004dfec0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0xc
lea eax, [ebp - 0x41c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44bb12
lea ebx, [ebp - 0x410]
add ebx, dword [ebp - 0x400]
movsx eax, byte [ebx]
push eax
call fcn.004f47e8
add esp, 4
test eax, eax
je 0x44bb12
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44bb00
sub ecx, edx
push ecx
push ebx
mov ecx, esi
call fcn.0044c0b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
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.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x44bdc0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50baed
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jne 0x44bdf9
xor eax, eax
jmp 0x44bfca
lea ecx, [ebp - 0x70]
call fcn.0044b9d0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.0044bb40
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0044bc50
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x67452301
mov dword [ebp - 0x108], 0xefcdab89
mov dword [ebp - 0x104], 0x98badcfe
mov dword [ebp - 0x100], 0x10325476
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
call fcn.0044b840
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x10c]
call fcn.0044b840
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x10c]
call fcn.0044b840
add esp, 0xc
lea ecx, [ebp - 0x10c]
mov edx, esi
call fcn.0044b920
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x44bf0d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44bf03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44bfe4
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x44bf53
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44bf49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44bfe4
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x44bf83
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44bf79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44bfe4
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x44bfc5
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44bfbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44bfe4
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
call fcn.004e32da
int3
Function at 0x44cea0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bb7b
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44c], edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
mov dword [ebp - 4], 0
mov eax, dword [esi]
test eax, eax
je 0x44cf31
cmp eax, 0xffffffff
je 0x44cf31
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x44cf2b
xor esi, esi
jmp 0x44d0bc
mov dword [esi], 0xffffffff
push 0
lea eax, [ebp - 0x448]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44d09a
nop word [eax + eax]
mov eax, dword [ebp - 0x448]
test eax, eax
je 0x44d094
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x444], 0
push eax
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.0044c0b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x444]
mov ebx, dword [ebp - 0x430]
cmp ebx, 0x10
mov edi, dword [ebp - 0x444]
mov eax, dword [ebp - 0x418]
cmovae edx, edi
mov esi, dword [ebp - 0x41c]
sub eax, esi
mov ecx, dword [ebp - 0x434]
push ecx
push edx
cmp ecx, eax
ja 0x44d010
cmp dword [ebp - 0x418], 0x10
lea eax, [esi + ecx]
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
add esi, eax
push esi
call fcn.004df940
mov eax, dword [ebp - 0x434]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x44d035
mov byte [ebp - 0x450], 0
push dword [ebp - 0x450]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.0044ff20
mov ebx, dword [ebp - 0x430]
mov edi, dword [ebp - 0x444]
mov byte [ebp - 4], 0
cmp ebx, 0x10
jb 0x44d069
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x44d05f
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d112
push ecx
push edi
call fcn.004de0ea
add esp, 8
mov ebx, dword [ebp - 0x454]
lea eax, [ebp - 0x448]
push 0
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44cf60
mov edi, dword [ebp - 0x44c]
lea eax, [ebp - 0x42c]
mov ecx, edi
push eax
call fcn.0044d120
mov ecx, edi
call fcn.0044e480
push ecx
mov ecx, edi
call fcn.0044e690
mov esi, 1
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x44d0f2
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44d0e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d112
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret 0xc
call fcn.004e32da
int3