joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448d00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi], 0
push edi
jne 0x448dbf
cmp dword [esi + 4], 0xffffffff
jne 0x448dbf
lea edi, [esi + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x448d30
sub eax, edx
mov al, byte [eax + esi + 0x13f]
cmp al, 0x5c
je 0x448d61
cmp al, 0x2f
je 0x448d61
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x448d50
mov ax, word [0x50d3b0]
mov word [edi], ax
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x448d85
push edi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x448d85
mov eax, 0x2000000
pop edi
pop ecx
pop ebp
ret 8
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push edi
push edx
push ebx
call fcn.00447a40
add esp, 0x10
test eax, eax
jne 0x448da4
mov eax, dword [ebp + 0xc]
pop edi
pop ecx
pop ebp
ret 8
call fcn.00447ea0
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop ecx
pop ebp
ret 8
mov eax, 0x1000000
pop edi
pop ecx
pop ebp
ret 8

Function at 0x449460
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x449494
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x449494
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebx]
test al, al
je 0x44954e
push esi
mov esi, ebx
mov ecx, ebx
cmp al, 0x2f
je 0x4494ab
cmp al, 0x5c
jne 0x4494ad
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4494a3
cmp esi, ebx
je 0x4494e1
sub esi, ebx
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004859e0
lea ecx, [ebp - 0x20c]
push ecx
push edi
mov byte [ebp + esi - 0x20c], 0
call fcn.00449460
add esp, 0x14
mov byte [ebp - 0x108], 0
test edi, edi
je 0x449500
lea edx, [ebp - 0x108]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4494f6
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x449504
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x449514
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 0x108]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop esi
cmp eax, 0xffffffff
jne 0x44954e
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004815c9
mov esp, ebp
pop ebp
ret
Function at 0x44a150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec6ee
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 1
test byte [0x5263c8], al
jne 0x44a1be
or dword [0x5263c8], eax
push 0x4f8ab0
mov dword [0x5263c0], 0xf
mov dword [0x5263bc], 0
mov byte [0x5263ac], 0
call fcn.00482137
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x5263bc], 0
je 0x44a1d7
push 0xffffffffffffffff
push 0
push 0x5263ac
mov ecx, esi
call fcn.00402c60
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x114], 0
call fcn.00485960
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesEyooClientSVC
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44a2b6
mov ecx, dword [ebp - 0x118]
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push str.ImagePath
push ecx
mov dword [ebp - 0x11c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x118]
push edx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x44a25f
mov eax, edi
jmp 0x44a2b6
lea eax, [ebp - 0x114]
push 0x5c
push eax
call fcn.00484bc7
add esp, 8
test eax, eax
je 0x44a277
mov byte [eax], 0
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a280
sub eax, edx
push eax
lea ecx, [ebp - 0x114]
push ecx
mov ecx, esi
call fcn.00402a70
cmp dword [esi + 0x10], 0
jne 0x44a2a5
mov eax, 3
jmp 0x44a2b6
push 0xffffffffffffffff
push 0
push esi
mov ecx, 0x5263ac
call fcn.00402c60
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815c9
mov esp, ebp
pop ebp
ret
Function at 0x44a2d0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x524b7c]
cmp eax, 0xfffffc19
jne 0x44a44f
push ebx
push esi
xor ebx, ebx
push str.kernel32
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
jne 0x44a30a
xor eax, eax
jmp 0x44a32c
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x44a329
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x24]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x28]
push ecx
and eax, 0x100
add eax, 0x20019
push eax
push ebx
push str.SOFTWAREEYOOCLIENTSTATUS
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44a3fa
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 4
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push str.BootFrom
push edx
call esi
test eax, eax
jne 0x44a3a1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x2c]
push edx
push ebx
push str.MixedMode
push eax
call esi
test eax, eax
je 0x44a3b4
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815c9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], ebx
je 0x44a3e2
cmp dword [ebp - 0x30], ebx
jne 0x44a3e2
mov eax, 1
pop esi
mov dword [0x524b7c], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815c9
mov esp, ebp
pop ebp
ret
pop esi
mov dword [0x524b7c], ebx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815c9
mov esp, ebp
pop ebp
ret
push 0x1a
push str.D:_syssetmenu_setmenu.dat
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 0xf
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
call fcn.00402a70
mov eax, dword [ebp - 0x20]
mov esi, 0x10
cmp dword [ebp - 0xc], esi
jae 0x44a426
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
inc eax
mov dword [0x524b7c], eax
cmp dword [ebp - 0xc], esi
jb 0x44a44d
mov edx, dword [ebp - 0x20]
push edx
call fcn.00481974
mov eax, dword [0x524b7c]
add esp, 4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815c9
mov esp, ebp
pop ebp
ret
Function at 0x44a460
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x44a487
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815c9
mov esp, ebp
pop ebp
ret
push 0x1ff
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.00485960
push 0x1ff
lea ecx, [ebp - 0x403]
push 0
push ecx
mov byte [ebp - 0x404], 0
call fcn.00485960
push str.MainServer
push 0x50fe84
lea edx, [ebp - 0x404]
call fcn.0044ac60
add esp, 0x20
push esi
push 0x200
lea edx, [ebp - 0x204]
push edx
push 0x50d38d
lea eax, [ebp - 0x404]
push eax
push str.setup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x204]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a500
sub eax, edx
inc eax
cmp eax, 0x40
ja 0x44a477
lea eax, [ebp - 0x204]
mov edx, edi
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44a520
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.004815c9
mov esp, ebp
pop ebp
ret
Function at 0x44aa60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed995
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], edi
mov byte [ebp - 0x88], 0
lea esi, [ebp - 0x88]
mov dword [ebp - 4], 1
call fcn.0044a150
test eax, eax
je 0x44ab00
push edi
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], edi
push 0x50d38d
mov ecx, ebx
mov byte [ebx], 0
call fcn.00402a70
mov byte [ebp - 4], 0
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0x8c], 1
jb 0x44ac3f
mov eax, dword [ebp - 0x88]
push eax
jmp 0x44ac37
push 1
push 0x50d3b0
lea ecx, [ebp - 0x88]
call fcn.004040a0
push str.BaseSeting.ini
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.004064c0
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x6c]
mov esi, 0x10
cmp dword [ebp - 0x58], esi
jae 0x44ab3e
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44ab90
push edi
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], edi
push 0x50d38d
mov ecx, ebx
mov byte [ebx], al
call fcn.00402a70
mov byte [ebp - 4], 1
mov dword [ebp - 0x8c], 1
cmp dword [ebp - 0x58], esi
jb 0x44ab81
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00481974
add esp, 4
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], edi
jmp 0x44ac23
push 0x3f
lea edx, [ebp - 0x4f]
push edi
push edx
mov byte [ebp - 0x50], 0
call fcn.00485960
add esp, 0xc
cmp dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x6c]
jae 0x44abae
lea esi, [ebp - 0x6c]
lea edi, [ebp - 0x50]
call fcn.0044a460
mov edi, 0xf
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], edi
mov byte [ebx], 0
test eax, eax
jne 0x44abd4
push eax
push 0x50d38d
jmp 0x44abee
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44abe0
sub eax, edx
push eax
lea edx, [ebp - 0x50]
push edx
mov ecx, ebx
call fcn.00402a70
mov esi, 0x10
mov byte [ebp - 4], 1
mov dword [ebp - 0x8c], 1
cmp dword [ebp - 0x58], esi
jb 0x44ac19
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00481974
add esp, 4
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 0
mov byte [ebp - 0x6c], 0
cmp dword [ebp - 0x74], esi
jb 0x44ac3f
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.00481974
add esp, 4
mov eax, ebx
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.004815c9
mov esp, ebp
pop ebp
ret
Function at 0x44ac80
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec548
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x51e584]
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
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44acf4
mov ecx, esi
lea edi, [ebp - 0x2c]
call fcn.004072f0
xor edi, edi
mov edx, eax
mov dword [ebp - 4], edi
call fcn.00406f00
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x44ace6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00481974
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
push 0x50d564
push esi
call fcn.00483708
mov edi, eax
add esp, 8
test edi, edi
jne 0x44ad28
mov edx, esi
call fcn.004076f0
push 0x50d564
push esi
call fcn.00483708
mov edi, eax
add esp, 8
test edi, edi
jne 0x44ad28
lea eax, [edi + 0x6e]
jmp 0x44ad4e
mov esi, dword [ebp + 8]
push edi
push esi
push 1
push ebx
call fcn.004838ce
add esp, 0x10
cmp eax, esi
je 0x44ad43
mov eax, 0x1d
jmp 0x44ad4e
push edi
call fcn.00483bf9
add esp, 4
xor eax, eax
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.004815c9
mov esp, ebp
pop ebp
ret
Function at 0x44ad70
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed938
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x51e584]
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 eax, dword [ebp + 8]
mov esi, ecx
mov ebx, 0x10
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x14], ebx
jb 0x44adb1
mov eax, dword [esi]
jmp 0x44adb3
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44ae03
cmp dword [esi + 0x14], ebx
jb 0x44adc7
mov ecx, dword [esi]
jmp 0x44adc9
mov ecx, esi
lea edi, [ebp - 0x2c]
call fcn.004072f0
xor edi, edi
mov edx, eax
mov dword [ebp - 4], edi
call fcn.00406f00
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], ebx
jb 0x44adf5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00481974
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp dword [esi + 0x14], ebx
jb 0x44ae0c
mov eax, dword [esi]
jmp 0x44ae0e
mov eax, esi
push 0x50d564
push eax
call fcn.00483708
mov edi, eax
add esp, 8
test edi, edi
jne 0x44ae52
cmp dword [esi + 0x14], ebx
jb 0x44ae2b
mov edx, dword [esi]
jmp 0x44ae2d
mov edx, esi
call fcn.004076f0
cmp dword [esi + 0x14], ebx
jb 0x44ae39
mov esi, dword [esi]
push 0x50d564
push esi
call fcn.00483708
mov edi, eax
add esp, 8
test edi, edi
jne 0x44ae52
lea eax, [edi + 0x6e]
jmp 0x44ae82
mov eax, dword [ebp - 0x30]
mov esi, dword [eax + 0x10]
cmp dword [eax + 0x14], ebx
jb 0x44ae5f
mov eax, dword [eax]
push edi
push esi
push 1
push eax
call fcn.004838ce
add esp, 0x10
cmp eax, esi
je 0x44ae77
mov eax, 0x1d
jmp 0x44ae82
push edi
call fcn.00483bf9
add esp, 4
xor eax, eax
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.004815c9
mov esp, ebp
pop ebp
ret
Function at 0x44aea0
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebb88
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x51e584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov esi, 0x10
cmp dword [ebp + 0x1c], esi
jae 0x44aee1
lea eax, [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44af18
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], esi
jb 0x44af04
mov edx, dword [ebp + 8]
push edx
call fcn.00481974
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 esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor ebx, ebx
jmp 0x44af27
mov esi, 0x10
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x44af32
lea eax, [ebp + 8]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x44af93
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x44afbf
push 0xfa
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 5
jl 0x44af22
mov dword [ebp - 4], esi
cmp dword [ebp + 0x1c], 0x10
jb 0x44af04
mov ecx, dword [ebp + 8]
push ecx
call fcn.00481974
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 esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 0x10]
push 0
push 0
push 0
push 4
push 0
push esi
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
push esi
test edi, edi
jne 0x44aff0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 0x10
jb 0x44af04
mov eax, dword [ebp + 8]
push eax
call fcn.00481974
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 esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0
push 0
push 0
push 2
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
push edi
test eax, eax
jne 0x44b036
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004db930
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004db930
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b060
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x10
mov dword [ebp - 0x40], eax
cmp dword [edi + 0x14], ebx
jb 0x44b089
mov eax, dword [edi]
jmp 0x44b08b
mov eax, edi
push 0x50d454
push eax
call fcn.00483708
mov esi, eax
add esp, 8
test esi, esi
jne 0x44b0de
cmp dword [edi + 0x14], ebx
jb 0x44b0a8
mov edx, dword [edi]
jmp 0x44b0aa
mov edx, edi
call fcn.004076f0
cmp dword [edi + 0x14], ebx
jb 0x44b0b6
mov edi, dword [edi]
push 0x50d454
push edi
call fcn.00483708
mov esi, eax
add esp, 8
test esi, esi
jne 0x44b0de
lea eax, [esi + 0x6e]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004815c9
mov esp, ebp
pop ebp
ret
push esi
call fcn.00483751
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.00482a85
add esp, 0xc
test eax, eax
js 0x44b184
push 0x400000
call fcn.00482445
push esi
mov edi, eax
call fcn.00484bde
add esp, 8
test eax, eax
jne 0x44b162
push 0x400000
push 0
push edi
call fcn.00485960
push esi
push 0x400000
push 1
push edi
call fcn.00484f2e
push esi
mov ebx, eax
call fcn.00484c06
add esp, 0x20
test eax, eax
jne 0x44b155
mov ecx, dword [ebp - 0x40]
push ebx
push edi
call fcn.004040a0
push esi
call fcn.00484bde
add esp, 4
test eax, eax
je 0x44b112
jmp 0x44b162
push str.Read_error
call fcn.00484c56
add esp, 4
push edi
call fcn.00482828
push esi
call fcn.00483bf9
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004815c9
mov esp, ebp
pop ebp
ret
push esi
call fcn.00483bf9
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
pop esi
xor ecx, ebp
mov eax, 0x3ee
pop ebx
call fcn.004815c9
mov esp, ebp
pop ebp
ret
Function at 0x44b3d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x51e584]
xor eax, esp
mov dword [esp + 0xa8], eax
xor eax, eax
push ebx
push esi
push edi
mov edi, edx
mov byte [esp + 0x90], al
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
mov byte [esp + 0x6c], al
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
cmp dword [edi + 0x10], eax
jne 0x44b47c
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004815c9
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0x14], 0x10
mov edx, dword [ecx + 0x10]
jb 0x44b487
mov ecx, dword [ecx]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
push ecx
mov eax, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.004217b0
lea esi, [esp + 0x14]
lea ebx, [esp + 0x94]
call fcn.00421870
lea eax, [esp + 0x70]
push eax
mov ecx, ebx
push ecx
call fcn.004026c0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x44b4e3
mov edi, dword [edi]
lea edx, [esp + 0x6c]
push edx
push edi
call fcn.00482a0b
mov ecx, dword [esp + 0xbc]
add esp, 8
pop edi
neg eax
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.004815c9
mov esp, ebp
pop ebp
ret
Function at 0x44b510
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [0x51e584]
xor eax, esp
mov dword [esp + 0xac], eax
xor eax, eax
push ebx
push esi
mov esi, ecx
mov byte [esp + 0x6c], al
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov byte [esp + 0x90], al
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
cmp edi, eax
je 0x44b637
mov ecx, edi
lea ebx, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, al
jne 0x44b5b0
sub ecx, ebx
je 0x44b637
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.004217b0
lea esi, [esp + 0x14]
lea ebx, [esp + 0x70]
call fcn.00421870
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call fcn.004026c0
lea edx, [esp + 0x9c]
push edx
push edi
call fcn.00482a0b
add esp, 0x14
neg eax
sbb eax, eax
inc eax
pop esi
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.004815c9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xb4]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004815c9
mov esp, ebp
pop ebp
ret

Function at 0x44baa0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44bb2e
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x44baf4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815c9
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815c9
mov esp, ebp
pop ebp
ret