joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447980
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.00415390
lea ecx, [ebp - 4]
call fcn.00447720
movzx eax, al
test eax, eax
jne 0x4479bd
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 4]
call fcn.00447700
mov eax, dword [ebp - 0x14]
jmp 0x447a77
lea ecx, [ebp - 4]
call fcn.004147b0
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004477a0
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xc]
sar edx, 1
mov dword [ebp - 0x10], edx
push 0x40
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.00429150
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.00415390
lea ecx, [ebp - 8]
call fcn.00430730
movzx ecx, al
test ecx, ecx
jne 0x447a2d
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 8]
call fcn.004153b0
lea ecx, [ebp - 4]
call fcn.00447700
mov eax, dword [ebp - 0x1c]
jmp 0x447a77
lea ecx, [ebp - 4]
call fcn.004147b0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 8]
call fcn.004147b0
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x10]
shl edx, 1
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00410670
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.00415470
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 8]
call fcn.004153b0
lea ecx, [ebp - 4]
call fcn.00447700
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret

Function at 0x44e1c0
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x46f020]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x1a
jbe 0x44e256
call fcn.0042c5f0
mov dword [eax], 0xf
xor eax, eax
je 0x44e1f0
mov dword [ebp - 0x14], 1
jmp 0x44e1f7
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x44e226
push str.__Invalid_Drive_Index___0_
push 0x46bb70
push 0
push 0x1f
push str.minkernelcrtsucrt_srcdesktopcrtmiscgetcwd.cpp
push 2
call fcn.00414200
add esp, 0x18
cmp eax, 1
jne 0x44e226
int3
cmp dword [ebp - 0x18], 0
jne 0x44e256
call fcn.0042c620
mov dword [eax], 0xd
push 0
push 0x1f
push str.minkernelcrtsucrt_srcdesktopcrtmiscgetcwd.cpp
push str.is_valid_drive
push str.__Invalid_Drive_Index___0_
call fcn.004149f0
add esp, 0x14
xor eax, eax
jmp 0x44e2af
cmp dword [ebp + 8], 0
jne 0x44e263
mov eax, 1
jmp 0x44e2af
mov eax, dword [ebp + 8]
add eax, 0x40
mov word [ebp - 0x10], ax
mov cx, word [ebp - 0x10]
mov word [ebp - 0xc], cx
mov edx, 0x3a
mov word [ebp - 0xa], dx
mov eax, 0x5c
mov word [ebp - 8], ax
xor ecx, ecx
mov word [ebp - 6], cx
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44e2a6
cmp dword [ebp - 0x1c], 1
jne 0x44e2aa
xor eax, eax
jmp 0x44e2af
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c1e0
mov esp, ebp
pop ebp
ret
Function at 0x401430
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x401448
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x40149a
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x401469
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x40148b
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
xor edx, edx
sub edx, ecx
and edx, 0xedb88320
xor eax, edx
mov dword [ebp - 8], eax
jmp 0x401460
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax*4 + 0x554860], ecx
jmp 0x40143f
mov dword [ebp - 4], 0x100
jmp 0x4014ac
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x800
jae 0x4014e4
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x554460]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov eax, dword [ebp - 0x10]
shr eax, 8
xor eax, dword [edx*4 + 0x554860]
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x554860], eax
jmp 0x4014a3
mov dword [0x55484c], 0x40d940
mov dword [0x554844], 0x40d940
mov dword [0x554848], 0x40da50
call fcn.0040dd60
test eax, eax
jne 0x401515
mov dword [0x554844], 0x40da50
mov esp, ebp
pop ebp
ret

Function at 0x402c00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x550b14]
jbe 0x402c1d
mov ecx, dword [0x550b14]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 8], 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
call fcn.00402930
mov byte [ebp - 1], al
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0xc
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 0x5359f0
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.004de51d
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.004e95bd
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 0x43fab0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x24], 0
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
mov dword [eax + 0x468], 0xffffffff
mov dword [eax + 0x46c], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043fa80
mov dword [ebp - 4], 0
jmp 0x43fb02
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x43fb54
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x43fb23
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x43fb45
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
xor edx, edx
sub edx, ecx
and edx, 0xedb88320
xor eax, edx
mov dword [ebp - 8], eax
jmp 0x43fb1a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + eax*4 + 0x60], edx
jmp 0x43faf9
mov esp, ebp
pop ebp
ret 4
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.004dec03
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.004de51d
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 0x50be17
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 0x5365e0
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 0x5365e4
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.004e02e0
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.004f4c08
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.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x44bdc0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bf0d
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.004de50a
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.004de50a
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.004de50a
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.004de50a
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.004de51d
mov esp, ebp
pop ebp
ret
call fcn.004e36fa
int3
Function at 0x44cea0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bf9b
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.004dfd60
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.004de50a
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.004de50a
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.004de51d
mov esp, ebp
pop ebp
ret 0xc
call fcn.004e36fa
int3
Function at 0x450140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x450199
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x450199
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x45018a
cmp esi, edx
jae 0x450199
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x450178
cmp esi, edx
jae 0x450199
cmp word [esi], 0
je 0x450199
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x450bd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x550144]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebx + 0x14], 0
je 0x450c9d
call edi
sub eax, dword [ebx + 0x14]
cmp eax, 0x2932e00
ja 0x450c9d
cmp dword [0x5541b4], 3
jae 0x450cbe
lea ecx, [esp + 0x10]
call fcn.004569c0
cmp dword [eax + 0x14], 0x10
jb 0x450c27
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
je 0x450c4a
mov eax, dword [esp + 0x3c]
or eax, dword [esp + 0x40]
je 0x450c4a
mov esi, 1
jmp 0x450c4c
xor esi, esi
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x450c7e
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x450c74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450cd4
push edx
push ecx
call fcn.004de50a
add esp, 8
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
test esi, esi
jne 0x450cbe
inc dword [0x5541b4]
call edi
lea ecx, [ebx + 4]
mov dword [ebx + 0x14], eax
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004de51d
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004de51d
mov esp, ebp
pop ebp
ret 4
call fcn.004e36fa
int3