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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x14], 4
push edi
mov byte [ebp - 1], 0
je 0x10007f2d
cmp dword [ebp + 0x14], 1
je 0x10007f2d
push dword [0x1001cf68]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.1000a207
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10007ec2
xor al, al
jmp 0x10007f30
push esi
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
push edi
call esi
cmp eax, 0xffffffff
je 0x10007f1f
push ebx
test eax, 0x400
je 0x10007ef7
push edi
push dword [ebp + 8]
call fcn.1000773c
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10007f1e
push edi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push ebx
mov edi, ebx
call esi
cmp eax, 0xffffffff
je 0x10007f1e
test al, 0x10
jne 0x10007f1e
cmp byte [ebp + 0x18], 0
je 0x10007f0b
and eax, 0xfffffffe
jmp 0x10007f0e
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x10007f1e
mov byte [ebp - 1], 1
pop ebx
push edi
call dword [sym.imp.msvcr100.dll_free]
mov al, byte [ebp - 1]
pop ecx
pop esi
jmp 0x10007f30
mov al, byte [ebp + 0x18]
pop edi
leave
ret 0x18

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

Disassembly:
push esi
push edi
xor edi, edi
push edi
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000b889
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x100080a7
xor al, al
jmp 0x10008123
push esi
call fcn.1000b889
pop ecx
test eax, eax
je 0x100080bc
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x100080a3
push edi
push 0x200080
push 1
push edi
push 3
push 0xc0000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10008112
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
cmp edi, 0x50
je 0x100080b2
cmp edi, 0xb7
je 0x100080b2
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100080b2
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
push str.Could_not_open_file
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
jmp 0x100080b2
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
ret 0xc

Function at 0x10008128
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push dword [0x1001cf68]
xor bl, bl
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a207
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1000814c
xor al, al
jmp 0x1000818c
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10008182
push esi
test al, 0x10
je 0x10008171
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x10008177
call dword [sym.imp.kernel32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x10008182
mov bl, 1
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov al, bl
pop esi
pop ebx
ret 0xc
Function at 0x1000af8b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp + 0x88], eax
and dword [ebp - 0x80], 0
push ebx
mov ebx, dword [ebp + 0x94]
push esi
push edi
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, 0x10014bfc
test eax, eax
je 0x1000aff5
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x1000b028
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b028
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp + 0x88]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100122d0
add ebp, 0x8c
leave
ret

Function at 0x1000b889
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1000b898
pop dword [ebp - 0x34]
mov eax, 0x39ae48d5
add eax, 0xd6526fc3
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xd025cec3
sub dword [ebp - 0x44], 0x81d38978
mov dword [ebp - 0x40], 0x1a4f876e
add dword [ebp - 0x40], 0x17e3c4d7
mov dword [ebp - 0x3c], 0x742e932e
sub dword [ebp - 0x3c], 0x27e24f00
mov dword [ebp - 0x38], 0x5134b866
add dword [ebp - 0x38], 0xaecb479a
lea eax, [ebp - 0x44]
push eax
mov eax, 0x8eaa9d96
add eax, 0x815693c2
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x256c9b1b
add dword [ebp - 0x44], 0x4f05ce3b
mov dword [ebp - 0x40], 0x4c3a519d
add dword [ebp - 0x40], 0xf5320fd8
mov dword [ebp - 0x3c], 0x677cd70
sub dword [ebp - 0x3c], 0xa3086104
mov dword [ebp - 0x38], 0x521d0b78
sub dword [ebp - 0x38], 0x521d0b78
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x69ae955
sub eax, 0xf699b7f9
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x347c6
push 0
call eax
mov ecx, 0xd304a617
sub ecx, 0xd3046b19
mov ebx, eax
mov edi, 0x4c3f8f3c
sub edi, 0x3c3d893c
add edi, dword [ebp - 0x34]
mov edx, 0xba30a69e
sub edx, 0xcd7e6d5f
add dword [ebp - 0x14], 0xa6c60ec0
mov esi, dword [edi]
xor dword [ebp - 0x10], eax
xor esi, edx
xor dword [ebp - 0x14], edx
mov dword [ebx], esi
add ebx, 4
add edi, 0xd46106b4
sub edi, 0xd46106b0
loop 0x1000b9ba
add eax, 0xdecb
mov ebx, eax
add eax, 0xc30804dd
add eax, 0x3cf7fb28
mov ecx, 0x4341212f
add ecx, 0xccbeded1
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x100122d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001cf10]
jne 0x100122da
repz ret
jmp fcn.100128eb
Function at 0x4071c7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4071eb
xor eax, eax
test eax, eax
je 0x4071fe
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4071fe
xor ecx, ecx
jmp 0x407201
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a524]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x407324
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x428f7c], 0
push esi
jne 0x40735b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407335
mov dword [ecx*4 + 0x428f78], eax
inc ecx
cmp ecx, 0x100
jl 0x407330
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40738c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x428f78]
xor eax, esi
inc ecx
dec edx
jne 0x40736e
pop edi
not eax
pop esi
ret 0xc
Function at 0x40112c
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x40113e
call fcn.00435018
mov eax, dword [0x43e0a3]
shl eax, 2
mov dword [0x43e0a7], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
mov dword [0x43e0ab], edx
call fcn.00429274
pop edx
call fcn.00426e5c
call fcn.00429278
push 0x43e04c
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x43e0ab], eax
push 0
jmp 0x437600
push ebx
push edi
push esi
sub esp, 0x50
mov esi, dword [esp + 0x60]
mov eax, dword [esi + 0x10]
and eax, 1
mov dword [0x445460], eax
call fcn.004326c8
sub esp, 8
push dword [esi + 0x20]
push dword [esi + 0x1c]
call fcn.00432c00
add esp, 4
push dword [esi + 0x28]
call fcn.0042af90
add esp, 4
push dword [esi + 0x44]
call fcn.0042afa0
add esp, 0x10
mov dword [0x450e28], 1
mov dword [0x450e2c], esi
lea eax, [esp + 4]
mov dword [0x450df0], eax
call fcn.004388f8
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x450df4], eax
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x450dfc], eax
sub esp, 8
push dword [esi + 0x30]
push dword [esi + 0x2c]
call fcn.004355c8
add esp, 0x10
push dword [esi + 0x40]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi + 0x34]
call fcn.00435608
add esp, 8
push 0
push 0x450e28
call fcn.004373d8
add esp, 0x10
test byte [esi + 0x10], 1
jne 0x4376d4
sub esp, 4
push dword [0x450e14]
push dword [0x450e10]
push dword [0x450e0c]
call dword [esi + 0x18]
add esp, 0x10
push 0xffffffffffffffff
push eax
push 0
push 0
jmp 0x43777f
mov eax, dword [0x450dfc]
nop dword [eax]
inc eax
mov cl, byte [eax - 1]
cmp cl, 9
je 0x4376e0
cmp cl, 0x20
je 0x4376e0
cmp cl, 0x22
jne 0x4376fc
mov cl, byte [eax]
mov edx, 0x22
jmp 0x437702
dec eax
mov edx, 0x20
movsx edi, cl
cmp edx, edi
je 0x437722
nop dword [eax]
test cl, cl
je 0x437722
cmp cl, 9
je 0x437722
movsx ecx, byte [eax + 1]
inc eax
cmp edx, ecx
jne 0x437710
lea edi, [eax + 1]
cmp cl, 0x22
cmovne edi, eax
jmp 0x437731
inc edi
movzx eax, byte [edi]
cmp al, 0x20
je 0x437730
cmp al, 9
je 0x437730
mov ebx, dword [esi + 0x18]
sub esp, 0xc
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
add esp, 0xc
mov esi, eax
sub esp, 0xc
lea eax, [esp + 0x18]
push eax
call sub.KERNEL32.DLL_GetStartupInfoA
add esp, 0xc
mov eax, dword [esp + 0x38]
test al, 1
movzx eax, word [esp + 0x3c]
mov ecx, 0xa
cmovne ecx, eax
push ecx
push edi
push 0
push esi
call ebx
push 0xffffffffffffffff
push eax
push 0
push 0
call fcn.004353cc
add esp, 0x10
add esp, 0x50
pop esi
pop edi
pop ebx
ret
Function at 0x42328c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xc
mov al, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov byte [ebp - 5], al
mov al, byte [edx]
mov bl, al
xor bl, byte [ebp + 0xc]
lock cmpxchg byte [edx], bl
jne 0x4232a1
mov byte [ebp + 0xc], al
mov al, byte [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
movzx eax, al
add esp, 0xc
pop ebx
pop ebp
ret

Function at 0x42381c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xc
mov ax, word [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov word [ebp - 6], ax
mov ax, word [edx]
mov bx, ax
xor bx, word [ebp + 0xc]
lock cmpxchg word [edx], bx
jne 0x423834
mov word [ebp + 0xc], ax
mov ax, word [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov word [ebp - 0xe], ax
mov ax, word [ebp - 0xe]
movzx eax, ax
add esp, 0xc
pop ebx
pop ebp
ret

Function at 0x423d7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [edx]
mov ebx, eax
xor ebx, dword [ebp + 0xc]
lock cmpxchg dword [edx], ebx
jne 0x423d91
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add esp, 0xc
pop ebx
pop ebp
ret

Function at 0x42503c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
mov edi, dword [ebp - 0x1c]
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, edx
mov ebx, eax
xor ebx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0x14]
lock cmpxchg8b qword [edi]
jne 0x425065
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4259a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [ebp + 8]
mov edi, esp
mov dword [edi], esi
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
call sub.KERNEL32.DLL_CreateDirectoryW
sub esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4259e1
mov dword [ebp - 0xc], 1
jmp 0x4259fd
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0xb7
jne 0x4259f6
mov dword [ebp - 0xc], 0
jmp 0x4259fd
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 0xc]
add esp, 0x20
pop esi
pop edi
pop ebp
ret
Function at 0x425a08
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, esp
mov dword [edx], ecx
mov dword [ebp - 8], eax
call sub.KERNEL32.DLL_RemoveDirectoryW
sub esp, 4
cmp eax, 0
setne bl
mov byte [ebp - 9], bl
mov al, byte [ebp - 9]
and al, 1
movzx eax, al
add esp, 0x14
pop ebx
pop ebp
ret

Function at 0x425e44
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, esp
mov dword [edi + 4], esi
mov dword [edi], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
call sub.KERNEL32.DLL_MoveFileW
sub esp, 8
cmp eax, 0
je 0x425e79
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x425e81
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop esi
pop edi
pop ebp
ret

Function at 0x425e94
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, esp
mov dword [edx], ecx
mov dword [ebp - 4], eax
call sub.KERNEL32.DLL_DeleteFileW
sub esp, 4
cmp eax, 0
je 0x425ebb
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x425ec3
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add esp, 0x18
pop ebp
ret
Function at 0x426844
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [esp + 0x20]
test edi, edi
je 0x426976
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x426976
cmp dword [esp + 0x28], 0
je 0x426976
mov dword [esp], str.borlndmm
call sub.KERNEL32.DLL_GetModuleHandleA
sub esp, 4
mov esi, eax
test esi, esi
je 0x426976
mov ebp, dword [esp + 0x2c]
mov dword [esp], esi
mov dword [esp + 4], str._Borlndmm_SysGetMem_qqri
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [edi], eax
mov dword [esp], esi
mov dword [esp + 4], str._Borlndmm_SysFreeMem_qqrpv
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [ebx], eax
mov dword [esp], esi
mov dword [esp + 4], str._Borlndmm_SysReallocMem_qqrpvi
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov dword [esp], esi
mov dword [esp + 4], str._Borlndmm_SysAllocMem_qqri
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [ebp], eax
mov dword [esp], esi
mov dword [esp + 4], str._Borlndmm_SysRegisterExpectedMemoryLeak_qqrpi
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov dword [esp], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 4], str._Borlndmm_SysUnregisterExpectedMemoryLeak_qqrpi
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [esi], eax
mov eax, dword [edi]
mov dword [0x446558], eax
cmp dword [ebp], 0
jne 0x42692a
mov dword [ebp], 0x426814
mov eax, dword [esp + 0x30]
cmp dword [eax], 0
jne 0x426939
mov dword [eax], 0x426804
mov ecx, dword [esi]
test ecx, ecx
je 0x426966
cmp dword [edi], 0
je 0x426976
cmp dword [ebx], 0
je 0x426976
mov esi, dword [esp + 0x28]
cmp dword [esi], 0
je 0x426976
cmp dword [ebp], 0
je 0x426976
cmp dword [eax], 0
je 0x426976
xor eax, eax
test ecx, ecx
setne al
jmp 0x426978
mov dword [esi], 0x426804
mov ecx, 0x426804
cmp dword [edi], 0
jne 0x426944
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x427ef8
Capabilities:
Read file via mapping

Disassembly:
push edi
push esi
push eax
call sub.KERNEL32.DLL_GetCurrentProcessId
mov ecx, eax
and ecx, 0xf
mov cl, byte [ecx + str.0123456789ABCDEF]
mov byte [0x44392e], cl
mov ecx, eax
shr ecx, 4
and ecx, 0xf
mov cl, byte [ecx + str.0123456789ABCDEF]
mov byte [0x44392d], cl
mov ecx, eax
shr ecx, 8
and ecx, 0xf
mov cl, byte [ecx + str.0123456789ABCDEF]
mov byte [0x44392c], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0xf
mov cl, byte [ecx + str.0123456789ABCDEF]
mov byte [0x44392b], cl
mov ecx, eax
shr ecx, 0x10
and ecx, 0xf
mov cl, byte [ecx + str.0123456789ABCDEF]
mov byte [0x44392a], cl
mov ecx, eax
shr ecx, 0x14
and ecx, 0xf
mov cl, byte [ecx + str.0123456789ABCDEF]
mov byte [0x443929], cl
mov ecx, eax
shr ecx, 0x18
and ecx, 0xf
mov cl, byte [ecx + str.0123456789ABCDEF]
mov byte [0x443928], cl
shr eax, 0x1c
mov al, byte [eax + str.0123456789ABCDEF]
mov byte [0x443927], al
sub esp, 4
push str.LocalFastMM_PID________
push 0
push 4
call sub.KERNEL32.DLL_OpenFileMappingA
add esp, 4
mov esi, eax
test esi, esi
je 0x427fdb
sub esp, 0xc
push 0
push 0
push 0
push 4
push esi
call sub.KERNEL32.DLL_MapViewOfFile
add esp, 0xc
mov edi, dword [eax]
sub esp, 0xc
push eax
call sub.KERNEL32.DLL_UnmapViewOfFile
push esi
call sub.KERNEL32.DLL_CloseHandle
add esp, 0xc
jmp 0x427fdd
xor edi, edi
mov eax, edi
add esp, 4
pop esi
pop edi
ret

Function at 0x427fe8
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0xc
xor eax, eax
cmp dword [0x4431c4], 0x4288be
jne 0x42804c
cmp dword [0x4431c8], fcn.00428c42
jne 0x42804c
cmp dword [0x4431cc], fcn.00428e3a
jne 0x42804c
cmp dword [0x4431d0], fcn.00429154
jne 0x42804c
cmp dword [0x4431d4], 0x426f88
jne 0x42804c
cmp dword [0x4431d8], 0x426f98
jne 0x42804c
mov ecx, dword [0x4465b8]
test ecx, ecx
jne 0x42804c
call fcn.00427ef8
mov ecx, eax
xor eax, eax
test ecx, ecx
je 0x428050
add esp, 0xc
ret
sub esp, 8
push str.LocalFastMM_PID________
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.KERNEL32.DLL_CreateFileMappingA
add esp, 8
mov dword [0x4465b8], eax
sub esp, 0xc
push 0
push 0
push 0
push 2
push eax
call sub.KERNEL32.DLL_MapViewOfFile
add esp, 0xc
mov dword [eax], fcn.004288be
sub esp, 0xc
push eax
call sub.KERNEL32.DLL_UnmapViewOfFile
add esp, 0xc
mov eax, 1
add esp, 0xc
ret
Function at 0x429f1c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov ebx, dword [esp + 0x44]
call fcn.0042b7e4
test bh, 0xc0
jne 0x429f3f
mov eax, dword [0x443ffc]
mov ecx, 0xc000
and ecx, dword [eax]
or ebx, ecx
mov eax, ebx
and eax, 0x700
add eax, 0xffffff00
mov ecx, eax
shr ecx, 8
mov esi, 3
cmp ecx, 6
ja 0x429f63
sar eax, 6
mov esi, dword [eax + 0x44397c]
mov edi, dword [esp + 0x40]
test bh, 1
je 0x429f8c
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], eax
mov al, byte [0x4439b0]
and al, byte [esp + 0x48]
mov eax, 0x80
mov ecx, 1
cmovs ecx, eax
jmp 0x429f9f
mov dword [esp], edi
call sub.KERNEL32.DLL_GetFileAttributesA
sub esp, 4
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ecx, eax
mov eax, ebx
and al, 3
je 0x429fb8
cmp al, 2
je 0x429fbf
cmp al, 1
jne 0x42a0b7
mov eax, 0x40000000
jmp 0x429fc4
mov eax, 0x80000000
jmp 0x429fc4
mov eax, 0xc0000000
mov edx, ebx
and edx, 0x70
add edx, 0xfffffff0
shr edx, 4
cmp edx, 3
mov ebp, 3
cmovb ebp, edx
xor edx, edx
cmp eax, 0x80000000
sete dl
test bl, 4
cmove edx, ebp
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], 0
mov ebp, ebx
shr ebp, 7
not ebp
and ebp, 1
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0x18], 0
call sub.KERNEL32.DLL_CreateFileA
sub esp, 0x1c
mov esi, eax
cmp esi, 0xffffffff
je 0x42a094
mov edi, ebx
shr edi, 1
not edi
and edi, 0x4000
or edi, ebx
mov dword [esp], esi
call fcn.00429e74
mov ecx, edi
or ecx, 0x2000
test eax, eax
cmove ecx, edi
and ecx, 0xfffff8ff
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0042b9a4
mov edi, eax
cmp edi, 0xffffffff
jne 0x42a0c5
mov dword [esp], 4
call fcn.0042bd80
mov dword [esp], esi
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
mov edi, 0xffffffff
jmp 0x42a0c5
call sub.KERNEL32.DLL_GetLastError
movzx eax, ax
test bh, 1
mov ecx, 0x50
mov edx, 2
cmovne edx, ecx
cmp eax, 0x6e
cmovne edx, eax
mov dword [esp], edx
jmp 0x42a0be
mov dword [esp], 1
call fcn.0042bd80
mov edi, eax
call fcn.0042b834
mov eax, edi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42a718
Capabilities:
Create pipe

Disassembly:
push ebx
push edi
push esi
sub esp, 0x30
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
call fcn.0042b7e4
test bh, 0xc0
jne 0x42a73e
mov eax, dword [0x443ffc]
mov ecx, 0xc000
and ecx, dword [eax]
or ebx, ecx
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], 0
mov eax, ebx
shr eax, 7
not eax
and eax, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], esi
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
lea eax, [esp + 0x1c]
mov dword [esp], eax
call sub.KERNEL32.DLL_CreatePipe
sub esp, 0x10
cmp eax, 1
jne 0x42a7c9
mov esi, ebx
shr esi, 1
not esi
and esi, 0x4000
or esi, ebx
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0042b9a4
cmp eax, 0xffffffff
je 0x42a7d2
mov edi, dword [esp + 0x40]
mov dword [edi], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0042b9a4
cmp eax, 0xffffffff
je 0x42a7e4
mov dword [edi + 4], eax
xor esi, esi
jmp 0x42a813
call fcn.0042be20
mov esi, eax
jmp 0x42a813
mov dword [esp], 4
call fcn.0042bd80
mov eax, dword [esp + 0x1c]
jmp 0x42a803
mov dword [esp], 4
call fcn.0042bd80
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
mov esi, 0xffffffff
call fcn.0042b834
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
ret

Function at 0x42aa6c
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [0x443f2c], eax
jbe 0x42aaa9
sub esp, 0xc
lea ecx, [esp + 0x14]
push 0
push ecx
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [eax*4 + 0x448860]
call sub.KERNEL32.DLL_ReadFile
add esp, 0xc
cmp eax, 1
jne 0x42aab0
mov eax, dword [esp + 8]
add esp, 0xc
ret
sub esp, 0xc
push 6
jmp 0x42aac6
call sub.KERNEL32.DLL_GetLastError
mov ecx, eax
xor eax, eax
cmp ecx, 0x6d
jne 0x42aac2
add esp, 0xc
ret
sub esp, 0xc
push ecx
call fcn.0042bd80
add esp, 0x10
add esp, 0xc
ret

Function at 0x42aae4
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [0x443f2c], eax
jbe 0x42ab21
sub esp, 0xc
lea ecx, [esp + 0x14]
push 0
push ecx
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [eax*4 + 0x448860]
call sub.KERNEL32.DLL_WriteFile
add esp, 0xc
cmp eax, 1
jne 0x42ab32
mov eax, dword [esp + 8]
add esp, 0xc
ret
sub esp, 0xc
push 6
call fcn.0042bd80
add esp, 0x10
add esp, 0xc
ret
call fcn.0042be20
add esp, 0xc
ret