joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48fe30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x522700
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5644a4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x568c24]
test eax, eax
jne 0x48fe64
xor esi, esi
jmp 0x48fe6d
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x30], 0
test esi, esi
je 0x48feb7
cmp dword [esi + 0x14], 0
jne 0x48fef9
cmp dword [esi + 0x10], 0
jne 0x48ff00
push 0x48f870
push 0x568c1c
call fcn.0048fa70
mov eax, dword [0x568c24]
add esp, 8
test eax, eax
je 0x48ffad
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x30], 0xffffffff
test esi, esi
je 0x48fee5
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x48fee5
mov eax, dword [esi]
mov edx, dword [eax]
push 0
mov ecx, esi
call edx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp dword [esi + 0x10], 0
je 0x48ff40
nop
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx + 4]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x48ff2e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebx]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x10], 0
jne 0x48ff00
cmp dword [esi + 0x14], 0
je 0x48fe89
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x48ff65
mov edx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x48ff96
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x48ff96
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x48ff96
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x14], 0
jne 0x48ff4a
jmp 0x48fe83
lea ecx, [esp + 0x18]
call fcn.004910b1
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], vtable.boost::thread_resource_error.0
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x34], 1
call fcn.00406170
int3
Function at 0x4900a0
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x522758
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5644a4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x48ffe0
push 0
push 0
call fcn.004944c8
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x49010b
lea ecx, [esp + 0x10]
call fcn.004910b1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], vtable.boost::thread_resource_error.0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x2c], ebx
call fcn.00406170
mov eax, dword [edi]
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [edi]
mov eax, dword [esi + 8]
test eax, eax
je 0x49012e
cmp eax, 0xffffffff
je 0x49012e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x490d41
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5644a4]
jne 0x490d4b
repz ret
jmp fcn.0049ab7a

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x493d2f
call fcn.00495fb5
mov dword [eax], esi
call fcn.00495fa2
push 0x16
pop esi
mov dword [eax], esi
call fcn.00493a4b
mov eax, esi
jmp 0x493d84
test dword [ebp + 0xc], 0xfffffff9
jne 0x493d15
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x493d5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00495fc8
pop ecx
call fcn.00495fa2
mov eax, dword [eax]
jmp 0x493d84
test al, 0x10
jne 0x493d82
test al, 1
je 0x493d82
test byte [ebp + 0xc], 2
je 0x493d82
call fcn.00495fb5
mov dword [eax], 5
call fcn.00495fa2
mov dword [eax], 0xd
jmp 0x493d53
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4a4fcc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0049a3ac
and dword [ebp - 0x14], 0
cmp dword [0x569a78], 0
mov dword [ebp - 0x18], eax
jne 0x4a507f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4a5127
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4a5127
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x569a78], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x569a7c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x569a80], eax
call edi
push eax
call esi
mov dword [0x569a88], eax
test eax, eax
je 0x4a507f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x569a84], eax
mov eax, dword [0x569a84]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4a50d8
cmp dword [0x569a88], ecx
je 0x4a50d8
push eax
call esi
push dword [0x569a88]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4a50d8
test ebx, ebx
je 0x4a50d8
call edi
test eax, eax
je 0x4a50cf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4a50cf
test byte [ebp - 8], 1
jne 0x4a50d8
or dword [ebp + 0x10], 0x200000
jmp 0x4a510b
mov eax, dword [0x569a7c]
cmp eax, dword [ebp - 0x18]
je 0x4a510b
push eax
call esi
test eax, eax
je 0x4a510b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4a510b
mov eax, dword [0x569a80]
cmp eax, dword [ebp - 0x18]
je 0x4a510b
push eax
call esi
test eax, eax
je 0x4a510b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x569a78]
call esi
test eax, eax
je 0x4a5127
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4a5129
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00490d41
leave
ret
Function at 0x4b9a30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
pop ebp
ret
Function at 0x4bae50
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x4bae7d
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0xa
jge 0x4baf58
mov dword [ebp - 0x14], 0
jmp 0x4bae99
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x4baf53
mov ecx, dword [ebp - 0x14]
and ecx, reloc.WS2_32.dll_closesocket
jns 0x4baeb3
dec ecx
or ecx, 0xfffffffc
inc ecx
test ecx, ecx
jne 0x4baf34
mov edx, dword [ebp - 0xc]
mov eax, dword [edx - 4]
mov dword [ebp - 4], eax
ror dword [ebp - 4], 8
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x10]
mov dl, byte [eax + str.cw]
mov byte [ecx], dl
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 1]
mov edx, dword [ebp - 0x10]
mov al, byte [ecx + str.cw]
mov byte [edx + 1], al
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 2]
mov eax, dword [ebp - 0x10]
mov cl, byte [edx + str.cw]
mov byte [eax + 2], cl
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 3]
mov ecx, dword [ebp - 0x10]
mov dl, byte [eax + str.cw]
mov byte [ecx + 3], dl
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, dword [eax*4 + 0x566a80]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx - 0x10]
xor eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x4baf45
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx - 0x10]
xor ecx, dword [eax - 4]
mov edx, dword [ebp - 0xc]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
jmp 0x4bae90
jmp 0x4bae74
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4be110
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0x10325476
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xc3d2e1f0
mov esp, ebp
pop ebp
ret
Function at 0x4cca50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.00491e40
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret
Function at 0x4cead0
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ab54
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf4], ecx
cmp dword [ebp + 0x10], 0
je 0x4ceb0d
cmp dword [ebp + 0x14], 0
jg 0x4ceb15
or eax, 0xffffffff
jmp 0x4cecc5
push 0x53e244
lea ecx, [ebp - 0xbc]
call fcn.0040e500
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xdc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0xfc]
call fcn.0040e800
mov ecx, eax
call fcn.0040e800
mov ecx, eax
call fcn.0040e820
mov ecx, eax
call fcn.0040e600
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.0040c9f0
push 0
push 0x80
push 3
push 0
push 3
push bind
lea ecx, [ebp - 0xdc]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0xffffffff
jne 0x4cebe9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005135f0
add esp, 4
mov dword [ebp - 0xe8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.00402c30
mov eax, dword [ebp - 0xe8]
jmp 0x4cecc5
mov dword [ebp - 0xe4], 0
push 0
lea edx, [ebp - 0xe4]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp + 0x14]
jne 0x4cec2b
cmp dword [ebp - 0xe0], 0
jne 0x4cec6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00513590
add esp, 4
lea ecx, [ebp - 0xc0]
push ecx
call fcn.004ceaa0
add esp, 4
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.00402c30
mov eax, dword [ebp - 0xec]
jmp 0x4cecc5
lea edx, [ebp - 0xc0]
push edx
call fcn.004ceaa0
add esp, 4
lea ecx, [ebp - 0xdc]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4ceca1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00513560
add esp, 4
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.00402c30
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4cece0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ab92
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf4], ecx
cmp dword [ebp + 0xc], 0
je 0x4ced1d
cmp dword [ebp + 0x14], 0
jg 0x4ced25
or eax, 0xffffffff
jmp 0x4ceed5
push 0x53dddc
lea ecx, [ebp - 0xbc]
call fcn.0040e500
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xdc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0xfc]
call fcn.0040e800
mov ecx, eax
call fcn.0040e800
mov ecx, eax
call fcn.0040e820
mov ecx, eax
call fcn.0040e600
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xbc]
call fcn.0040c9f0
push 0
push 0x80
push 1
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0xdc]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0xffffffff
jne 0x4cedf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005135f0
add esp, 4
mov dword [ebp - 0xe8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.00402c30
mov eax, dword [ebp - 0xe8]
jmp 0x4ceed5
mov dword [ebp - 0xe4], 0
push 0
lea edx, [ebp - 0xe4]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp + 0x14]
jne 0x4cee3b
cmp dword [ebp - 0xe0], 0
jne 0x4ceea2
lea ecx, [ebp - 0xc0]
push ecx
call fcn.004ceaa0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005135c0
add esp, 4
lea ecx, [ebp - 0xdc]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4cee7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00513560
add esp, 4
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.00402c30
mov eax, dword [ebp - 0xec]
jmp 0x4ceed5
lea edx, [ebp - 0xc0]
push edx
call fcn.004ceaa0
add esp, 4
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.00402c30
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4cf5b0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5293a3
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00402cb0
movzx eax, al
test eax, eax
jne 0x4cf5f9
mov ecx, dword [ebp + 0xc]
call fcn.00402cb0
movzx ecx, al
test ecx, ecx
je 0x4cf601
or eax, 0xffffffff
jmp 0x4cf7d9
xor edx, edx
mov word [ebp - 0x39c], dx
push 0x208
push 0
lea eax, [ebp - 0x39a]
push eax
call fcn.00491e40
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.0040acf0
push eax
mov ecx, dword [ebp + 8]
call fcn.0040acf0
push eax
lea ecx, [ebp - 0x39c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x4cf6ab
push 0x14
call dword [sym.imp.Dump.dll_if_dump]
add esp, 4
test eax, eax
je 0x4cf69f
push str.PathCombine_failed__
lea ecx, [ebp - 0xbc]
call fcn.0040e500
mov dword [ebp - 0x3a0], eax
mov edx, dword [ebp - 0x3a0]
mov dword [ebp - 0x3a4], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x3a4]
push eax
push 0x14
call dword [sym.imp.Dump.dll_dump]
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.0040c9f0
xor ecx, ecx
jne 0x4cf643
or eax, 0xffffffff
jmp 0x4cf7d9
lea edx, [ebp - 0x39c]
push edx
call fcn.00491a86
add esp, 4
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0x104
jb 0x4cf734
push 0x14
call dword [sym.imp.Dump.dll_if_dump]
add esp, 4
test eax, eax
je 0x4cf728
push str.Override_MAX_PATH:_The_length_of_file_name_is_too_long__
lea ecx, [ebp - 0x164]
call fcn.0040e500
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp - 0x3a8]
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x3ac]
push ecx
push 0x14
call dword [sym.imp.Dump.dll_dump]
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.0040c9f0
xor edx, edx
jne 0x4cf6cc
or eax, 0xffffffff
jmp 0x4cf7d9
mov eax, dword [ebp - 0x18c]
add eax, 1
mov dword [ebp - 0x18c], eax
xor ecx, ecx
mov edx, dword [ebp - 0x18c]
mov word [ebp + edx*2 - 0x39c], cx
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 3
lea eax, [ebp - 0x39c]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], 0
mov ecx, 0x454
mov word [ebp - 0x178], cx
mov dword [ebp - 0x176], 0
mov dword [ebp - 0x172], 0
mov dword [ebp - 0x16e], 0
lea edx, [ebp - 0x188]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
je 0x4cf7d7
mov eax, dword [ebp - 0x168]
push eax
call fcn.005133e0
add esp, 4
or eax, 0xffffffff
jmp 0x4cf7d9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret
Function at 0x4cf800
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5293ec
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x108], ecx
push 0
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4cf86a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00513440
add esp, 4
or eax, 0xffffffff
jmp 0x4cfa0b
mov dword [ebp - 0xdc], 0
push 0
lea edx, [ebp - 0xdc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4cf8bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00513590
add esp, 4
mov ecx, dword [ebp - 0x108]
call fcn.004cf580
or eax, 0xffffffff
jmp 0x4cfa0b
lea ecx, [ebp - 0xf8]
call fcn.0040ca80
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0x14
jle 0x4cf8df
mov dword [ebp - 0x10c], 0x14
jmp 0x4cf8e8
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x10c]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00419cf0
push 0x14
call dword [sym.imp.Dump.dll_if_dump]
add esp, 4
test eax, eax
je 0x4cf9b0
lea ecx, [ebp - 0xf8]
push ecx
lea edx, [ebp - 0xd8]
push edx
call fcn.0051f500
add esp, 8
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x114]
call fcn.0040acf0
mov dword [ebp - 0xfc], eax
push str.Read_data_is__1_
lea ecx, [ebp - 0xbc]
call fcn.0040e500
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0xfc]
push edx
mov ecx, dword [ebp - 0x11c]
call fcn.00440710
push eax
push 0x14
call dword [sym.imp.Dump.dll_dump]
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.0040c9f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00402c30
xor eax, eax
jne 0x4cf8fe
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [ebp + 0x10]
je 0x4cf9e7
mov dword [ebp - 0x100], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.00402ab0
mov eax, dword [ebp - 0x100]
jmp 0x4cfa0b
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x104], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.00402ab0
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4cfa30
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52942c
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
add eax, 0x34
push eax
mov ecx, dword [ebp - 0x74]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.004526c0
add esp, 0xc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x74]
add ecx, 0x60
push ecx
mov edx, dword [ebp - 0x7c]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.00425f10
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402c30
mov ecx, dword [ebp - 0x74]
add ecx, 0x34
push ecx
mov edx, dword [ebp - 0x74]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.004526c0
add esp, 0xc
mov byte [ebp - 4], 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x64]
push edx
call fcn.00402b30
mov dword [ebp - 0x80], eax
call fcn.0051f060
add esp, 0x1c
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xffffffff
jne 0x4cfb12
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00402c30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00402c30
mov eax, dword [ebp - 0x6c]
jmp 0x4cfb62
lea ecx, [ebp - 0x48]
call fcn.0040acf0
push eax
lea ecx, [ebp - 0x64]
call fcn.0040acf0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4cfb3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00513530
add esp, 4
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00402c30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00402c30
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret