joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9820
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6386a0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
push 0xffffffffffffffff
push eax
lea esi, [edi + 0x4c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00403b10
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0
call fcn.004aaa60
xor eax, eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 1
call fcn.004aa810
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x5c]
push 0x679a0c
push eax
call fcn.0040d7c0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 2
call fcn.00403f80
mov byte [esp + 0x80], 1
cmp dword [esp + 0x6c], 8
jb 0x4a9924
push dword [esp + 0x58]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], eax
mov word [esp + 0x28], ax
lea edx, [esp + 0x28]
mov ecx, esi
mov byte [esp + 0x80], 3
call fcn.004aacf0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.004aaaf0
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x4a99db
cmp dword [esi + 0x10], 0
je 0x4a99db
cmp dword [esp + 0x20], 0
je 0x4a99db
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
cmp dword [esi + 0x14], 8
jb 0x4a99b1
mov esi, dword [esi]
push eax
push esi
call fcn.005edaf6
add esp, 8
test eax, eax
jne 0x4a99db
lea ecx, [edi + 0x98]
lea eax, [esp + 0x10]
cmp ecx, eax
je 0x4a99d7
push 0xffffffffffffffff
push 0
push eax
call fcn.00403b10
mov bl, 1
jmp 0x4a99dd
xor bl, bl
mov byte [esp + 0x80], 1
cmp dword [esp + 0x3c], 8
jb 0x4a99f8
push dword [esp + 0x28]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
mov byte [esp + 0x80], al
cmp dword [esp + 0x54], 8
jb 0x4a9a29
push dword [esp + 0x40]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x4a9a5e
push dword [esp + 0x10]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [esp + 0x10], ax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret
Function at 0x4aa2e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x638701
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edx, ecx
mov esi, dword [ebp + 8]
mov dword [esp + 8], 0
mov ecx, dword [edx + 0x3c]
mov dword [esp + 0xc], esi
test cl, 2
jne 0x4aa3a6
mov eax, dword [edx + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x4aa3a6
mov ecx, dword [edx + 0x38]
cmp ecx, eax
cmovb ecx, eax
mov eax, dword [edx + 0x10]
xor edx, edx
mov eax, dword [eax]
sub ecx, eax
sar ecx, 1
push ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], dx
call fcn.00403c30
mov dword [esp + 0x38], 1
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00403760
jmp 0x4aa44f
test cl, 4
jne 0x4aa401
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4aa401
mov eax, dword [edx + 0x2c]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
mov eax, dword [edx + 0xc]
xor edx, edx
mov eax, dword [eax]
sub ecx, eax
sar ecx, 1
push ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], dx
call fcn.00403c30
mov dword [esp + 0x38], 2
jmp 0x4aa430
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov dword [esp + 0x38], 3
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00403760
mov byte [esp + 0x38], 0
cmp dword [esp + 0x24], 8
mov dword [esp + 8], 1
jb 0x4aa46f
push dword [esp + 0x10]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], eax
mov word [esp + 0x10], ax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 4

Function at 0x4aa920
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4aa95d
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x20c], 0
jne 0x4aa96b
xor ecx, ecx
jmp 0x4aa983
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4aa974
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00403c30
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.005e96ad
mov esp, ebp
pop ebp
ret
Function at 0x4aadd0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.005edda0
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
xor edx, edx
cmp dword [ecx + 0x14], 8
push edi
mov dword [ebp - 0x2008], edx
jb 0x4aadfc
mov ecx, dword [ecx]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push ecx
call ebx
cmp dword [esi + 0x14], 8
mov edi, eax
jb 0x4aae21
mov esi, dword [esi]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push esi
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4aae57
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ecx]
push 0
lea eax, [ebp - 0x200c]
push eax
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4aae9f
push 0
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x200c]
lea eax, [ebp - 0x2004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4aaea7
call esi
mov dword [ebp - 0x2008], eax
cmp dword [ebp - 0x200c], 0x1000
je 0x4aae60
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push ebx
call esi
mov edx, dword [ebp - 0x2008]
mov ecx, dword [ebp - 4]
xor eax, eax
test edx, edx
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.005e96ad
mov esp, ebp
pop ebp
ret
Function at 0x4aaee0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638848
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6cd400]
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 esi, ecx
lea edi, [esi + 0x4c]
xor bl, bl
cmp dword [edi + 0x14], 8
jb 0x4aaf1c
mov eax, dword [edi]
jmp 0x4aaf1e
mov eax, edi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x40], eax
cmp eax, 0xffffffff
jne 0x4aaf46
xor al, al
jmp 0x4ab037
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4aaf65
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov bl, 1
jmp 0x4aaf71
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4ab035
cmp dword [ebp - 0x34], 0
jl 0x4ab035
jg 0x4aaf9b
cmp dword [ebp - 0x30], 0xa00000
jb 0x4ab035
mov eax, dword [esi + 0x68]
lea ebx, [esi + 0x68]
test eax, eax
je 0x4aafac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00403b10
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004ab120
lea edx, [ebp - 0x2c]
mov ecx, edi
call fcn.004aadd0
test al, al
je 0x4aaffe
mov ecx, esi
call fcn.004a9bf0
mov eax, dword [esi]
push ebx
mov eax, dword [eax]
mov ecx, esi
call eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
mov bl, al
jb 0x4ab021
push dword [ebp - 0x2c]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov al, bl
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.005e96ad
mov esp, ebp
pop ebp
ret 4
Function at 0x4ab060
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638878
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x6cd400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
cmp dword [esi], 0
jne 0x4ab0d4
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x4ab0d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4ab0d1
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi], eax
cmp dword [esi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x4ab0ef
push dword [ebp + 8]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [ebp + 8], ax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4ae370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0
mov esi, ecx
push esi
push 0x4ac8d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop esi
test eax, eax
jne 0x4ae3b2
call fcn.004ab940
mov ecx, dword [eax]
push 0x63c618
push 0x676964
push eax
call dword [ecx + 0x24]
add esp, 0xc
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4af1d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4af224
cmp eax, 0xb7
je 0x4af224
cmp eax, 0x50
je 0x4af224
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.004ab940
mov esi, eax
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x63d830
push 0x676964
push esi
call dword [edi + 0x24]
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebp
ret
mov al, 1
pop ebp
ret
Function at 0x4afc10
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4afc3e
call fcn.004ab940
mov ecx, dword [eax]
push ebx
push 0x63d720
push eax
call dword [ecx + 4]
add esp, 0xc
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4afc37
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
call ebx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.004ab940
mov esi, eax
mov edi, dword [esi]
call ebx
push eax
push dword [ebp + 8]
push 0x63d6c8
push esi
call dword [edi + 4]
mov al, byte [ebp - 1]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4afcb0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 8], ebx
cmp ebx, 0xffffffff
jne 0x4afd14
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.004ab940
mov edi, eax
mov ebx, dword [edi]
call esi
push eax
push dword [ebp + 8]
push 0x63d520
push 0x676964
push edi
call dword [ebx + 0x24]
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004ab940
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ecx, dword [eax]
push esi
push edi
push 0x63d588
push eax
call dword [ecx + 4]
add esp, 0x10
push 0
push 0
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x4afd88
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x4afd60
push ebx
mov byte [ebp - 1], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.004ab940
mov edi, eax
mov ebx, dword [edi]
call esi
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
push 0x63d5e8
jmp 0x4afdae
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.004ab940
mov edi, eax
mov ebx, dword [edi]
call esi
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
push 0x63d660
push 0x676964
push edi
call dword [ebx + 0x24]
mov ebx, dword [ebp - 8]
add esp, 0x18
mov byte [ebp - 1], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b0080
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4b0097
xor al, al
pop esi
pop ebp
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4b00d2
push edi
call fcn.004ab940
mov esi, eax
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push 0x63d758
push 0x676964
push esi
call dword [edi + 0x24]
add esp, 0x14
xor al, al
pop edi
pop ebx
pop esi
pop ebp
ret
call fcn.004ab940
mov ecx, dword [eax]
push ebx
push esi
push 0x63d7d8
push eax
call dword [ecx + 4]
add esp, 0x10
shr ebx, 4
and bl, 1
mov al, bl
pop ebx
pop esi
pop ebp
ret

Function at 0x4b0100
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b012a
call fcn.004ab940
push dword [ebp + 8]
mov ecx, dword [eax]
push 0x63d720
push eax
call dword [ecx + 4]
add esp, 0xc
xor al, al
pop ebp
ret
mov al, 1
pop ebp
ret

Function at 0x4b0220
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4b027f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4b027f
push ebx
push eax
call fcn.005edaf6
add esp, 8
test eax, eax
je 0x4b027a
push esi
push edi
call fcn.005ec977
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
call fcn.004ab940
mov esi, eax
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push dword [ebp + 0xc]
push 0x63d918
push 0x676964
push esi
call dword [edi + 0x24]
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
mov al, 1
pop ebx
pop ebp
ret
call fcn.004ab940
mov ecx, dword [eax]
push 0x63d8d8
push eax
call dword [ecx + 4]
add esp, 8
xor al, al
pop ebx
pop ebp
ret

Function at 0x4b0440
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
test edi, edi
jne 0x4b0459
xor al, al
pop edi
pop ebp
ret
lea eax, [edi*2 + 2]
push esi
push eax
call fcn.005ea1f8
mov esi, eax
add esp, 4
test esi, esi
je 0x4b0485
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
test eax, eax
jne 0x4b048b
call fcn.005ea1c0
add esp, 4
pop esi
xor al, al
pop edi
pop ebp
ret
mov ecx, dword [ebp + 8]
call fcn.00403800
push esi
call fcn.005ea1c0
add esp, 4
mov al, 1
pop esi
pop edi
pop ebp
ret
Function at 0x4b2630
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
cmp dword [edi], 0
jne 0x4b265d
call fcn.004ab940
mov ecx, dword [eax]
push 0x63e380
push eax
call dword [ecx + 4]
add esp, 8
xor al, al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebx + 8]
push esi
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.004b04b0
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x4b26dd
mov esi, dword [ebp + 0x18]
push 0
lea eax, [ebp + 8]
push eax
push esi
push dword [ebp + 0x14]
mov dword [ebp + 8], 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp + 0x18], eax
cmp dword [ebp + 8], esi
jb 0x4b26a9
test eax, eax
jne 0x4b2710
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x24], 1
call esi
mov dword [ebx + 0x28], eax
call fcn.004ab940
mov edi, eax
mov ebx, dword [edi]
call esi
push eax
push 0x63e3d0
push 0x676964
push edi
call dword [ebx + 0x24]
mov esi, dword [ebp + 0x18]
add esp, 0x10
jmp 0x4b2712
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x24], 1
call esi
mov dword [ebx + 0x28], eax
call fcn.004ab940
mov edi, eax
mov ebx, dword [edi]
call esi
push eax
push 0x63e344
push 0x676964
push edi
call dword [ebx + 0x24]
add esp, 0x10
xor esi, esi
jmp 0x4b2712
mov esi, eax
mov ecx, dword [ebp - 4]
call fcn.004b04d0
xor eax, eax
cmp esi, 1
pop esi
pop edi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4b2770
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
cmp dword [edi], 0
jne 0x4b279d
call fcn.004ab940
mov ecx, dword [eax]
push 0x63e2bc
push eax
call dword [ecx + 4]
add esp, 8
xor al, al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebx + 8]
push esi
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.004b04b0
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x4b280d
mov esi, dword [ebp + 0x18]
push 0
lea eax, [ebp + 8]
push eax
push esi
push dword [ebp + 0x14]
mov dword [ebp + 8], 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
cmp dword [ebp + 8], esi
jb 0x4b27e8
test edi, edi
jne 0x4b283e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x24], 1
call esi
mov dword [ebx + 0x28], eax
call fcn.004ab940
mov edi, eax
mov ebx, dword [edi]
call esi
push eax
push 0x63e2f8
jmp 0x4b2830
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x24], 1
call esi
mov dword [ebx + 0x28], eax
call fcn.004ab940
mov edi, eax
mov ebx, dword [edi]
call esi
push eax
push 0x63e344
push 0x676964
push edi
call dword [ebx + 0x24]
add esp, 0x10
xor edi, edi
mov ecx, dword [ebp - 4]
call fcn.004b04d0
xor eax, eax
pop esi
cmp edi, 1
pop edi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4b8af0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x4b8bf1
push edi
lea ecx, [esi + 8]
mov dword [esi + 0x34], 2
call fcn.004b04b0
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x4b8b96
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [esi + 0x28]
xor edi, edi
cmp dword [eax + 8], 3
je 0x4b8b96
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop
mov eax, dword [esi + 0x28]
cmp dword [eax + 8], 5
je 0x4b8b95
inc edi
cmp edi, 0x12c
jne 0x4b8b65
call fcn.004ab940
mov ecx, dword [esi + 0x28]
mov edx, dword [eax]
push dword [ecx + 4]
push 0x63ffe8
push eax
call dword [edx + 0x14]
mov ecx, dword [esi + 0x28]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x4b8b6d
cmp edi, 0x3e8
je 0x4b8b7c
push 0xa
call ebx
mov eax, dword [esi + 0x28]
cmp dword [eax + 8], 3
jne 0x4b8b30
jmp 0x4b8b95
call fcn.004ab940
mov edx, dword [esi + 0x28]
mov edi, dword [eax]
push dword [edx + 4]
push 0x640030
push eax
call dword [edi + 0x14]
add esp, 0xc
pop ebx
lea ecx, [esi + 8]
call fcn.004b04d0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4b8be9
push 0x61a8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
test edi, edi
je 0x4b8bd9
call fcn.004ab940
mov ecx, dword [eax]
push edi
push dword [esi + 0x38]
push 0x6400b0
push eax
call dword [ecx + 0x14]
add esp, 0x10
push 0
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
mov dword [esi + 0x34], 3
pop edi
mov al, 1
pop esi
ret

Function at 0x4b8c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611d26
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
lea ecx, [ebx + 0xc]
mov dword [ebx + 8], eax
call fcn.00403d60
mov byte [ebx + 0x28], 0
lea ecx, [ebx + 0x2c]
mov dword [ebp - 4], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
call fcn.004b8d20
mov dword [ebx + 0x2c], eax
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 1
call fcn.004b04e0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4