joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4367c0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4b2441
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00407e30
xor ebx, ebx
lea ecx, [esi + 0x28]
mov dword [esp + 0x20], ebx
call fcn.004081a0
mov al, byte [esp + 0xf]
mov dword [esi + 0x40], ebx
mov byte [esi + 0x3c], al
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov cl, byte [esp + 0xf]
mov dword [esi + 0x50], ebx
mov byte [esi + 0x4c], cl
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dl, byte [esp + 0xf]
mov dword [esi + 0x60], ebx
mov byte [esi + 0x5c], dl
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov al, byte [esp + 0xf]
mov dword [esi + 0x70], ebx
mov byte [esi + 0x6c], al
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
lea ecx, [esi + 0x7c]
mov byte [esp + 0x20], 5
call fcn.00435920
push ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 0x90]
mov byte [esp + 0x30], 6
mov dword [esi + 0x8c], 0xffffff
call fcn.00435eb0
lea edi, [esi + 0xa0]
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.00435920
lea ecx, [edi + 0x10]
mov byte [esp + 0x20], 7
call fcn.00435920
lea ecx, [edi + 0x20]
mov byte [esp + 0x20], 8
call fcn.00435920
lea ecx, [edi + 0x30]
mov byte [esp + 0x20], 9
call fcn.00435920
lea ecx, [edi + 0x40]
mov byte [esp + 0x20], 0xa
call fcn.00435920
lea ecx, [edi + 0x50]
mov byte [esp + 0x20], 0xb
call fcn.00435920
push 0xac
lea ecx, [edi + 4]
mov byte [esp + 0x24], 0xc
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
call fcn.004056a0
push 0xad
lea ecx, [edi + 0x14]
call fcn.004056a0
push 0xae
lea ecx, [edi + 0x24]
call fcn.004056a0
mov ecx, dword [0x4c8080]
mov dword [esi + 0x108], ecx
mov edx, dword [0x4c8080]
mov dword [esi + 0x10c], edx
mov eax, dword [0x4c8080]
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], 1
mov ecx, dword [0x4c8080]
mov dword [esi + 0x118], ecx
mov edx, dword [0x4c8080]
mov dword [esi + 0x11c], edx
mov al, byte [esp + 0xf]
mov dword [esi + 0x124], ebx
mov byte [esi + 0x120], al
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov cl, byte [esp + 0xf]
mov dword [esi + 0x134], ebx
mov byte [esi + 0x130], cl
mov dword [esi + 0x138], ebx
mov dword [esi + 0x13c], ebx
mov edx, dword [0x4c8080]
mov dword [esi + 0x140], edx
mov eax, dword [0x4c8080]
mov dword [esi + 0x144], eax
mov ecx, dword [0x4c8080]
mov dword [esi + 0x148], ecx
mov edx, dword [0x4c8080]
mov dword [esi + 0x14c], edx
mov byte [esp + 0x20], 0x18
lea eax, [esi + 0x150]
mov ecx, 5
mov dword [eax], ebx
mov dword [eax + 4], ebx
add eax, 8
dec ecx
jne 0x43699f
push 0x174
push 0x1ea
lea ecx, [esi + 0x180]
mov dword [esi + 0x178], ebx
mov dword [esi + 0x17c], 0x3e8
call fcn.00436200
lea ecx, [esi + 0x188]
call fcn.00415090
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x190], ebx
mov eax, dword [0x4c8080]
pop edi
mov dword [esi + 0x194], eax
mov dword [esi + 0x198], ebx
mov dword [esi + 0x19c], ebx
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1a4], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4372e0
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b261b
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x144]
sub esp, 0x40c
push ebp
lea ebp, [ecx + 0x144]
mov ecx, dword [eax - 8]
push esi
xor esi, esi
push edi
cmp ecx, esi
jne 0x4374c4
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x10]
push esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push 0x26
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4374c4
mov edx, dword [0x4c8080]
push ebx
mov dword [esp + 0x10], edx
mov eax, dword [0x4d7448]
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [esp + 0x21c]
push 0x100
mov eax, dword [eax + 8]
push ecx
push 0x96
push eax
mov dword [esp + 0x434], esi
call ebx
cmp eax, esi
jne 0x43737c
mov word [esp + 0x21c], si
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x4373b5
lea eax, [esp + 0x21c]
test eax, eax
je 0x4373a1
lea ecx, [esp + 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x21c]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00405ad0
jmp 0x437414
push 0x1ff
lea ecx, [esp + 0x14]
mov edi, 0x200
call fcn.004058b0
mov esi, eax
test esi, esi
je 0x437409
mov eax, dword [0x4d7448]
push edi
push esi
push 0x96
mov eax, dword [eax + 8]
push eax
call ebx
test eax, eax
jne 0x4373e7
mov word [esi], ax
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x437409
add edi, 0x100
lea ecx, [esp + 0x10]
lea edx, [edi - 1]
push edx
call fcn.004058b0
mov esi, eax
test esi, esi
jne 0x4373ce
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00405970
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x14]
test eax, eax
jne 0x437435
xor ebx, ebx
jmp 0x437442
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, dword [ebp]
cmp dword [eax - 0xc], 1
jg 0x437450
cmp ebx, dword [eax - 4]
jle 0x437463
mov ecx, ebp
call fcn.00405e10
push ebx
mov ecx, ebp
call fcn.00405a70
test eax, eax
je 0x437494
lea eax, [ebx + ebx]
lea edx, [ebx + ebx + 2]
cmp edx, eax
jb 0x437485
mov edi, dword [ebp]
mov ecx, eax
mov edx, ecx
lea esi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov dword [ecx - 8], ebx
mov edx, dword [ebp]
mov word [edx + eax], 0
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c8084]
pop ebx
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4374c4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4374c4
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0043b3d0
add esp, 4
mov ecx, dword [esp + 0x418]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x418
ret
Function at 0x438670
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b2698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4c8080]
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], eax
xor edi, edi
lea ecx, [esi + 4]
mov dword [esp + 0x18], edi
call fcn.00435920
mov ecx, dword [0x4c8080]
mov dword [esi + 0x14], ecx
mov edx, dword [0x4c8080]
mov dword [esi + 0x18], edx
mov eax, dword [0x4c8080]
mov dword [esi + 0x1c], eax
mov ecx, dword [0x4c8080]
mov dword [esi + 0x20], ecx
mov edx, dword [0x4c8080]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], reloc.OLEAUT32.dll_SysReAllocString
mov eax, dword [0x4c8080]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x4c8080]
mov al, byte [esp + 0xb]
mov dword [esi + 0x30], ecx
mov edx, dword [0x4c8080]
mov dword [esi + 0x34], edx
mov byte [esi + 0x38], al
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov ecx, dword [0x4c8080]
mov dword [esi + 0x48], ecx
mov edx, dword [0x4c8080]
mov dword [esi + 0x4c], edx
mov eax, dword [0x4c8080]
mov dword [esi + 0x50], eax
mov ecx, dword [0x4c8080]
mov dword [esi + 0x54], ecx
mov edx, dword [0x4c8080]
mov dword [esi + 0x58], edx
mov eax, dword [0x4c8080]
mov dword [esi + 0x5c], eax
mov ecx, dword [0x4c8080]
mov al, byte [esp + 0xb]
mov dword [esi + 0x60], ecx
mov edx, dword [0x4c8080]
mov dword [esi + 0x64], edx
mov byte [esi + 0x68], al
mov eax, 0x14
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], 0x3e8
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], 1
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov ecx, dword [0x4c8080]
or eax, 0xffffffff
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], 0xb4
mov edx, dword [0x4c8080]
mov eax, 0x6400000
mov dword [esi + 0xb8], edx
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xc4], edi
mov dword [esi + 0xcc], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x438960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b26d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
mov dword [esp + 0x80], ebx
call dword [eax + 4]
lea ecx, [esp + 0x38]
mov edi, eax
push ecx
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x30], eax
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
push edx
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
sub ebx, ebp
mov ebp, dword [esp + 0x28]
sub ebp, edi
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x30]
push ebx
mov edi, eax
push ebp
push ecx
mov dword [esp + 0x28], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
mov edx, dword [esi]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x88], 4
call dword [edx + 8]
mov edx, dword [esi]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x10]
mov edx, dword [esi]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x14]
mov edx, dword [esi]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esp + 0x30]
push 0xcc0020
push 0
push 0
push edi
push ebx
push ebp
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call ebx
test eax, eax
je 0x438a98
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x438aab
push edi
call ebp
test eax, eax
je 0x438aab
xor edi, edi
test esi, esi
je 0x438ab2
push esi
call ebx
test edi, edi
je 0x438ab9
push edi
call ebp
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 4
Function at 0x43af90
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x808
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x43aff4
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea eax, [esp + 0x10]
push str.360ver.dll
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b026
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea eax, [esp + 0x10]
push eax
call fcn.0043b090
add esp, 4
test eax, eax
jne 0x43b045
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x43b064
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x808
ret

Function at 0x43b170
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov eax, 0x1000
call fcn.004a7630
push esi
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 8]
push 0x800
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x4caf24
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov edi, dword [esp + 0x101c]
mov esi, dword [sym.imp.MSVCRT.dll_wcsncat]
push 0x800
lea ecx, [esp + 0x18]
push edi
push ecx
call esi
push 0x800
lea edx, [esp + 0x24]
push 0x4caef8
push edx
call esi
push 0x800
lea eax, [esp + 0x30]
push edi
push eax
call esi
push 0x800
lea ecx, [esp + 0x3c]
push str.vL
push ecx
call esi
mov edx, dword [esp + 0x1048]
push 0x800
lea eax, [esp + 0x48]
push edx
push eax
call esi
add esp, 0x48
lea ecx, [esp + 8]
push 0x800
push 0x4caeb8
push ecx
call esi
add esp, 0xc
lea edx, [esp + 8]
push 0x14
push edi
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x43b265
call fcn.0043af70
test eax, eax
je 0x43b24d
call fcn.0043af90
test eax, eax
je 0x43b24d
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x43b258
push 5
push 0
push 0
push 0x4cab1c
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x1014]
test eax, eax
je 0x43b278
push 0
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, esi
pop edi
pop esi
add esp, 0x1000
ret
Function at 0x43b290
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x13c
mov eax, dword [esp + 0x140]
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43b2c6
pop esi
xor eax, eax
pop ebx
add esp, 0x13c
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x18]
push 0x40
push edx
push esi
call edi
test eax, eax
je 0x43b341
cmp dword [esp + 0xc], 0x40
jne 0x43b341
cmp word [esp + 0x10], 0x5a4d
jne 0x43b341
mov eax, dword [esp + 0x4c]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [esp + 0x4c]
jne 0x43b341
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x58]
push 0xf8
push edx
push esi
call edi
test eax, eax
je 0x43b341
cmp dword [esp + 0xc], 0xf8
jne 0x43b341
cmp dword [esp + 0x50], 0x4550
jne 0x43b341
cmp word [esp + 0x56], 0
je 0x43b341
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x13c
ret

Function at 0x43b390
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x43dd30
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x43efe0
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
mov ecx, 0x4d7900
jmp fcn.0043eff0
Function at 0x440f50
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x440f7f
push str.GetFileSizeEx__
push eax
push 0x112
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0043b9d0
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret

Function at 0x4411d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44120c
push str.SetFilePointerEx__
push eax
push 0xed
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0043b9d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x441245
push str.ReadFile__
push eax
push 0xf0
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0043b9d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x441269
push 0x4cb8e8
push 1
push 0xf2
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0043bee0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x4416d0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x44170c
push str.SetFilePointerEx__
push eax
push 0x102
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0043b9d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x441745
push str.WriteFile__
push eax
push 0x105
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0043b9d0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x441769
push 0x4cb9a4
push 1
push 0x107
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0043bee0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x4426a0
Capabilities:
Clear file content

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4426ca
push str.SetEndOfFile__
push eax
push 0x126
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0043b9d0
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret

Function at 0x443090
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x444840
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x444870
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x4448a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x446820
Capabilities:
Create thread

Disassembly:
push esi
push 1
mov esi, ecx
push str.SeManageVolumePrivilege
call fcn.00448370
add esp, 8
lea ecx, [esi + 0x18]
push 0
push 0
push 0
push 0
push 0x4000
call fcn.00448630
cmp eax, 1
je 0x446850
xor eax, eax
pop esi
ret
push 0
push 0
push esi
push 0x446290
push 0
push 0
mov dword [esi + 4], 1
call dword [sym.imp.MSVCRT.dll__beginthreadex]
xor ecx, ecx
add esp, 0x18
cmp ecx, eax
mov dword [esi], eax
sbb eax, eax
pop esi
neg eax
ret
Function at 0x447350
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
jne 0x44737b
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 8
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, edi
or ecx, ebx
jne 0x447394
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 8
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4473ad
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x4473c1
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x447456
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x10]
push 0
push edx
push edi
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4473f6
mov ecx, esi
call fcn.004482d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x44741a
mov ecx, esi
call fcn.004482d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov eax, dword [0x4d7990]
test eax, eax
je 0x447456
mov edx, dword [esi + 0x20]
push ebx
push edi
push edx
call fcn.004482f0
add esp, 0xc
test eax, eax
je 0x447456
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x447442
mov esi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push esi
push str._DiskFile__set_file_valid_data_failed_file:_s__d
push 0x4d8db8
call fcn.0045c720
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 8