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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor esi, esi
and ebx, 7
cmp ebx, 7
jne 0x4444e8
xor ebx, ebx
mov eax, dword [0x555894]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov edx, dword [eax + 0x1c8]
shl edx, 2
push edx
call fcn.0043b368
pop ecx
mov dword [ebp - 0x10], eax
xor ecx, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ebx
push eax
push 0x444490
call fcn.00431ebc
add esp, 8
mov eax, dword [ebp - 0xc]
test eax, eax
jbe 0x4445b9
push eax
call fcn.0043dbdc
pop ecx
mov esi, eax
mov eax, dword [ebp - 0xc]
push eax
push esi
call fcn.0042a1a0
add esp, 8
mov ebx, eax
dec dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
push eax
call fcn.00431ce8
pop ecx
mov edi, eax
push 2
push ebx
call fcn.00429c2c
add esp, 8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push edx
push 1
push ebx
call fcn.0042aac0
add esp, 0xc
push 2
push ebx
call fcn.0042a1a0
add esp, 8
mov ebx, eax
cmp dword [ebp + 0xc], 0
je 0x44459f
push edi
push ebx
call fcn.0043f0d4
add esp, 8
push ebx
call fcn.00443a20
pop ecx
jmp 0x4445af
mov dword [ebx], 0x6000
mov dword [ebx + 8], edi
push edi
call fcn.0043b480
pop ecx
cmp dword [ebp - 0xc], 0
jne 0x444533
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043b450
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445860
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov eax, dword [0x555894]
push eax
call sub.KERNEL32.DLL_TlsGetValue
add eax, 0xa0
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
je 0x4459af
mov eax, dword [ebp - 4]
mov edi, 0xffffffff
mov ebx, edi
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004ab86c
pop ecx
mov dword [ebp - 0xc], eax
xor edx, edx
mov eax, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xc]
jge 0x4458f9
cmp byte [eax], 0x61
jb 0x4458d1
cmp byte [eax], 0x7a
ja 0x4458d1
movzx esi, byte [eax]
add esi, 0xffffffe0
jmp 0x4458d4
movzx esi, byte [eax]
cmp esi, 0x59
jne 0x4458e2
cmp ebx, 0xffffffff
jne 0x4458ee
mov ebx, edx
jmp 0x4458ee
cmp ebx, 0xffffffff
jle 0x4458ee
cmp edi, 0xffffffff
jne 0x4458ee
mov edi, edx
mov ecx, esi
inc edx
mov byte [eax], cl
inc eax
cmp edx, dword [ebp - 0xc]
jl 0x4458bf
test ebx, ebx
jge 0x445903
xor ebx, ebx
xor edi, edi
jmp 0x44590a
test edi, edi
jge 0x44590a
mov edi, dword [ebp - 0xc]
mov eax, edi
sub eax, ebx
sub dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x44591d
add dword [ebp - 0xc], 4
jmp 0x445921
add dword [ebp - 0xc], 2
mov edx, dword [ebp - 0xc]
inc edx
push edx
call fcn.0043b368
pop ecx
mov esi, eax
test ebx, ebx
jle 0x445940
push ebx
mov eax, dword [ebp - 0x10]
push eax
push esi
call fcn.004ab6c8
add esp, 0xc
mov byte [esi + ebx], 0
mov ebx, dword [ebp - 0xc]
push ebx
push 0x54163b
push esi
call fcn.004a932c
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x44596b
push ebx
push 0x54163b
push esi
call fcn.004a932c
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call fcn.004ab86c
pop ecx
cmp eax, edi
jle 0x445987
push ebx
add edi, dword [ebp - 0x10]
push edi
push esi
call fcn.004a932c
add esp, 0xc
push 0
push 4
call fcn.00447a40
add esp, 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043b450
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4c], esi
push 1
push 4
call fcn.00447a40
add esp, 8
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x447a40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [0x555894]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov eax, dword [eax + 0xc0]
test eax, eax
je 0x447a76
mov ebx, dword [eax]
test ebx, ebx
je 0x447a76
push edi
push esi
call dword [ebx + 4]
add esp, 8
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x447a67
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x448c44
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x555894]
push eax
call sub.KERNEL32.DLL_TlsGetValue
add eax, 0xa0
mov edx, dword [ebp + 8]
cmp edx, 0x75
ja case.0x448c69.0
mov dl, byte [edx + 0x448c70]
jmp dword [edx*4 + 0x448ce6]
mov eax, dword [eax + 0x28]
pop ebp
ret
mov eax, dword [eax + 0x40]
pop ebp
ret
mov eax, dword [eax + 0x4c]
pop ebp
ret
mov eax, dword [eax + 0x110]
pop ebp
ret
mov eax, dword [eax + 0x58]
pop ebp
ret
mov eax, dword [eax + 0x60]
pop ebp
ret
mov eax, dword [eax + 0x68]
pop ebp
ret
mov eax, dword [eax + 0x8c]
pop ebp
ret
mov eax, dword [eax + 0xa0]
pop ebp
ret
mov eax, dword [eax + 0xb4]
pop ebp
ret
mov eax, dword [eax + 0xc0]
pop ebp
ret
mov eax, dword [eax + 0x100]
pop ebp
ret
mov eax, dword [eax + 0x108]
pop ebp
ret
mov eax, dword [eax + 0x10c]
pop ebp
ret
cmp dword [eax + 0x18], 0
je 0x448da1
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
jmp 0x448ddd
xor eax, eax
pop ebp
ret
cmp dword [eax + 0x1c], 0
je 0x448db2
mov edx, dword [eax + 0x1c]
mov ecx, dword [edx]
jmp 0x448db4
xor ecx, ecx
mov eax, ecx
pop ebp
ret
call fcn.0046bf9c
pop ebp
ret
call fcn.00452af0
pop ebp
ret
push 0
push 1
push 0
push 0x7e4
push 1
call fcn.00457160
add esp, 0x14
xor eax, eax
pop ebp
ret

Function at 0x448de0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x555894]
push eax
call sub.KERNEL32.DLL_TlsGetValue
add eax, 0xa0
mov edx, dword [ebp + 8]
cmp edx, 0x75
ja case.0x448e05.0
mov dl, byte [edx + 0x448e0c]
jmp dword [edx*4 + 0x448e82]
mov eax, dword [eax + 0x30]
pop ebp
ret
mov eax, dword [eax + 0x34]
pop ebp
ret
mov eax, dword [eax + 0x54]
pop ebp
ret
mov eax, dword [eax + 0x70]
pop ebp
ret
mov eax, dword [eax + 0x78]
pop ebp
ret
mov eax, dword [eax + 0xa4]
pop ebp
ret
mov eax, dword [eax + 0xa8]
pop ebp
ret
mov eax, dword [eax + 0xb0]
pop ebp
ret
mov eax, dword [eax + 0xd4]
pop ebp
ret
mov eax, dword [eax + 0xdc]
pop ebp
ret
mov eax, dword [eax + 0xe0]
pop ebp
ret
mov eax, dword [eax + 0xe4]
pop ebp
ret
mov eax, dword [eax + 0xe8]
pop ebp
ret
mov eax, dword [eax + 0xf0]
pop ebp
ret
push 0
push 1
push 0
push 0x7e4
push 1
call fcn.00457160
add esp, 0x14
xor eax, eax
pop ebp
ret

Function at 0x449498
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x555894]
push eax
call sub.KERNEL32.DLL_TlsGetValue
add eax, 0xa0
cmp dword [eax + 0x1c], 0
je 0x4494b5
mov edx, dword [eax + 0x1c]
mov ecx, dword [edx]
jmp 0x4494b7
xor ecx, ecx
mov eax, ecx
ret
Function at 0x449500
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
call fcn.004257c4
test eax, eax
je 0x44959f
mov eax, dword [0x555894]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov esi, dword [eax + 0xb8]
test esi, esi
je 0x44959f
call fcn.004257e8
mov edi, eax
test edi, edi
je 0x44959f
cmp esi, edi
je 0x44959f
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jne 0x44955b
lea edx, [ebp + 8]
mov dword [ebp + 0xc], edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ab86c
pop ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test ebx, ebx
mov edx, dword [eax]
mov dword [ebp - 8], edx
jne 0x44956c
lea ebx, [ebp - 4]
jmp 0x449576
mov eax, dword [ebx]
test eax, eax
jbe 0x449576
dec eax
mov dword [ebp - 4], eax
push esi
push edi
push ebx
lea ecx, [ebp - 4]
mov edx, dword [ebp + 0xc]
push edx
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004ab86c
pop ecx
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00451420
add esp, 0x20
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4495ac
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
call fcn.004257c4
test eax, eax
je 0x44964b
mov eax, dword [0x555894]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov esi, dword [eax + 0xb8]
test esi, esi
je 0x44964b
call fcn.004257e8
mov edi, eax
test edi, edi
je 0x44964b
cmp esi, edi
je 0x44964b
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jne 0x449607
lea edx, [ebp + 8]
mov dword [ebp + 0xc], edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ab86c
pop ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test ebx, ebx
mov edx, dword [eax]
mov dword [ebp - 8], edx
jne 0x449618
lea ebx, [ebp - 4]
jmp 0x449622
mov eax, dword [ebx]
test eax, eax
jbe 0x449622
dec eax
mov dword [ebp - 4], eax
push edi
push esi
push ebx
lea ecx, [ebp - 4]
mov edx, dword [ebp + 0xc]
push edx
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004ab86c
pop ecx
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00451420
add esp, 0x20
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4496f8
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
call fcn.004257c4
test eax, eax
je 0x449738
mov eax, dword [0x555894]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, dword [eax + 0xb8]
test ebx, ebx
je 0x449738
call fcn.004257e8
test eax, eax
je 0x449738
cmp ebx, eax
je 0x449738
push eax
push ebx
push esi
call fcn.00451540
add esp, 0xc
jmp 0x44973f
push esi
call fcn.004a87bc
pop ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x44997c
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [0x555894]
push eax
call sub.KERNEL32.DLL_TlsGetValue
mov ebx, eax
add ebx, 0xa0
mov eax, dword [ebp + 8]
sub eax, 1
jb 0x4499c1
je 0x4499ac
dec eax
jne 0x4499bb
cmp dword [ebx + 4], 0
jne 0x4499c1
or eax, 0xffffffff
pop ebx
pop ebp
ret
cmp dword [ebx + 0xbc], 0
jne 0x4499c1
or eax, 0xffffffff
pop ebx
pop ebp
ret
or eax, 0xffffffff
pop ebx
pop ebp
ret
cmp dword [ebx + 0x10], 0xffffffff
jne 0x4499e4
cmp dword [ebx + 0xc0], 0
je 0x4499e4
push 0x18
push 0
mov edx, dword [ebx + 0xc0]
push edx
push ebx
call fcn.004455d0
add esp, 0x10
mov eax, dword [ebx + 0x10]
pop ebx
pop ebp
ret

Function at 0x449fe0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
call fcn.00449f7c
mov ebx, eax
mov eax, dword [0x555894]
push eax
call sub.KERNEL32.DLL_TlsGetValue
test eax, eax
je 0x44a0d0
call fcn.00452af0
mov dword [ebx], eax
call fcn.0046bf9c
mov dword [ebx + 4], eax
call fcn.00425838
push eax
call fcn.00462b68
pop ecx
mov dword [ebx + 0x10], eax
call fcn.004331f4
mov edx, dword [eax]
mov dword [ebx + 8], edx
mov ecx, dword [0x555894]
push ecx
call sub.KERNEL32.DLL_TlsGetValue
add eax, 0xa0
push eax
call fcn.00447840
pop ecx
mov dword [ebx + 0xc], eax
test esi, 3
je 0x44a08d
xor eax, eax
test esi, 1
mov dword [ebp - 4], eax
je 0x44a065
or dword [ebp - 4], 1
test esi, 2
je 0x44a071
or dword [ebp - 4], 6
test esi, 4
setne dl
and edx, 1
push edx
mov ecx, dword [ebp - 4]
push ecx
call fcn.004444d0
add esp, 8
mov dword [ebx + 0x30], eax
test edi, edi
je 0x44a0cd
push edi
call fcn.00429dc0
pop ecx
test eax, eax
jbe 0x44a0cd
push edi
call fcn.00429dc0
pop ecx
mov dword [ebp - 8], eax
mov esi, 1
cmp esi, dword [ebp - 8]
ja 0x44a0cd
push esi
push edi
call fcn.0042a1a0
add esp, 8
test byte [eax + 1], 0x20
je 0x44a0c7
push eax
call fcn.00443a20
pop ecx
inc esi
cmp esi, dword [ebp - 8]
jbe 0x44a0b0
mov dword [ebx + 0x2c], edi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x458688
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
xor ebx, ebx
mov word [esp], 0
push esp
push 0x108
call sub.KERNEL32.DLL_GetCurrentDirectoryW
mov esi, eax
push 0
test esi, esi
setne al
and eax, 1
push eax
call fcn.0045a8c8
add esp, 8
cmp esi, 2
jb 0x4586f3
cmp word [esp + 2], 0x3a
jne 0x4586f3
mov ax, word [esp]
cmp ax, 0x61
jb 0x4586de
cmp ax, 0x7a
ja 0x4586de
movzx ebx, word [esp]
add ebx, 0xffffffe0
jmp 0x4586e2
movzx ebx, word [esp]
cmp ebx, 0x41
jl 0x4586f1
cmp ebx, 0x5a
jg 0x4586f1
sub ebx, 0x41
jmp 0x4586f3
xor ebx, ebx
mov eax, ebx
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x458700
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov eax, dword [ebp + 8]
test eax, eax
jl 0x458753
cmp eax, 0x19
jg 0x458753
add ax, 0x41
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov esi, eax
lea eax, [ebp - 8]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryW
test eax, eax
push esi
setne bl
and ebx, 1
call sub.KERNEL32.DLL_SetErrorMode
push 0
push ebx
call fcn.0045a8c8
add esp, 8
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.0041ac90
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
mov eax, dword [ebp + 8]
push eax
call fcn.0045a45c
pop ecx
mov esi, eax
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
mov edi, eax
cmp edi, 0xffffffff
je 0x458e0e
push edi
call fcn.004a5e64
pop ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov ebx, 1
push 0
push ebx
call fcn.0045a8c8
add esp, 8
test esi, esi
je 0x458e24
push esi
call fcn.0043b450
pop ecx
call fcn.0041ad00
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x458e30
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
lea eax, [ebp - 0xc]
lea edx, [ebp - 8]
lea ecx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
push edx
push ecx
push edi
call fcn.004a4d0c
add esp, 0x10
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push edx
push ecx
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp + 0x10]
push edx
call fcn.004a5204
add esp, 0x14
call fcn.0041ac90
push 0x42
mov ecx, dword [ebp + 8]
push ecx
call fcn.00458aa0
add esp, 8
mov esi, eax
cmp esi, 0xffffffff
setne bl
and ebx, 1
test ebx, ebx
je 0x458f45
test edi, edi
jle 0x458e9d
cmp dword [ebp + 0x10], 0
jge 0x458ea8
lea eax, [ebp - 0x3c]
push eax
call sub.KERNEL32.DLL_GetLocalTime
jmp 0x458eb8
push 0x10
push 0
lea edx, [ebp - 0x3c]
push edx
call fcn.004ab738
add esp, 0xc
test edi, edi
jle 0x458ed4
mov cx, word [ebp - 4]
mov word [ebp - 0x3c], cx
mov ax, word [ebp - 8]
mov word [ebp - 0x3a], ax
mov dx, word [ebp - 0xc]
mov word [ebp - 0x36], dx
cmp dword [ebp + 0x10], 0
jl 0x458efa
mov cx, word [ebp - 0x10]
mov word [ebp - 0x34], cx
mov ax, word [ebp - 0x14]
mov word [ebp - 0x32], ax
mov dx, word [ebp - 0x18]
mov word [ebp - 0x30], dx
mov cx, word [ebp - 0x1c]
mov word [ebp - 0x2e], cx
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x3c]
push edx
call sub.KERNEL32.DLL_SystemTimeToFileTime
lea ecx, [ebp - 0x24]
push ecx
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_LocalFileTimeToFileTime
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x24]
push ecx
push 0
push esi
call fcn.0045875c
pop ecx
push eax
call sub.KERNEL32.DLL_SetFileTime
test eax, eax
setne bl
and ebx, 1
push 0
push ebx
call fcn.0045a8c8
add esp, 8
push esi
call fcn.00458c30
pop ecx
call fcn.0041ad00
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x458f54
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
call fcn.0041ac90
mov ebx, 0x20
mov eax, dword [ebp + 8]
push eax
call fcn.0045a45c
pop ecx
mov dword [ebp - 4], eax
test esi, 1
mov edi, eax
je 0x458f82
or ebx, 1
test esi, 2
je 0x458f8d
or ebx, 2
test esi, 4
je 0x458f98
or ebx, 4
test esi, 0x80
je 0x458fa6
or ebx, 0x80
push ebx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_SetFileAttributesW
test eax, eax
setne cl
and ecx, 1
mov ebx, ecx
push 0
push ebx
call fcn.0045a8c8
add esp, 8
test edi, edi
je 0x458fd0
push edi
call fcn.0043b450
pop ecx
call fcn.0041ad00
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x458fe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
call fcn.0041ac90
push 0
lea eax, [ebp - 4]
push eax
movzx edx, word [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0045875c
pop ecx
push eax
call sub.KERNEL32.DLL_ReadFile
mov ebx, eax
push 0
test ebx, ebx
setne al
and eax, 1
push eax
call fcn.0045a8c8
add esp, 8
test ebx, ebx
je 0x459028
mov dx, word [ebp - 4]
jmp 0x45902a
xor edx, edx
mov ebx, edx
call fcn.0041ad00
mov eax, ebx
pop ebx
pop ecx
pop ebp
ret
Function at 0x459038
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
call fcn.0041ac90
xor eax, eax
mov dword [ebp - 4], eax
test si, si
je 0x459072
movzx ecx, si
lea edx, [ebp - 4]
push 0
push edx
push ecx
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.0045875c
pop ecx
push eax
call sub.KERNEL32.DLL_WriteFile
mov ebx, eax
jmp 0x459086
xor edx, edx
mov dword [ebp - 4], edx
push ebx
call fcn.0045875c
pop ecx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
mov ebx, eax
push 0
test ebx, ebx
setne cl
and ecx, 1
push ecx
call fcn.0045a8c8
add esp, 8
test ebx, ebx
je 0x4590a3
mov ax, word [ebp - 4]
jmp 0x4590a5
xor eax, eax
mov ebx, eax
call fcn.0041ad00
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4590b4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
call fcn.0041ac90
push 0
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0045875c
pop ecx
push eax
call sub.KERNEL32.DLL_ReadFile
test eax, eax
je 0x4590e5
mov ebx, dword [ebp - 4]
jmp 0x4590e7
xor ebx, ebx
push 0
test eax, eax
setne al
and eax, 1
push eax
call fcn.0045a8c8
add esp, 8
call fcn.0041ad00
mov eax, ebx
pop ebx
pop ecx
pop ebp
ret

Function at 0x459108
Capabilities:
Clear file content
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
xor ebx, ebx
call fcn.0041ac90
test edi, edi
je 0x459154
push 0
lea eax, [ebp - 4]
push eax
push edi
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.0045875c
pop ecx
push eax
call sub.KERNEL32.DLL_WriteFile
test eax, eax
je 0x45913f
mov ebx, dword [ebp - 4]
push 0
test eax, eax
setne al
and eax, 1
push eax
call fcn.0045a8c8
add esp, 8
jmp 0x459174
push 0
push esi
call fcn.0045875c
pop ecx
push eax
call sub.KERNEL32.DLL_SetEndOfFile
test eax, eax
setne dl
and edx, 1
push edx
call fcn.0045a8c8
add esp, 8
call fcn.0041ad00
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x459184
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.0041ac90
xor esi, esi
call fcn.004a9b20
test eax, eax
je 0x459201
xor eax, eax
mov dword [ebp - 4], eax
push 0x14
push 0
lea edx, [ebp - 0x28]
push edx
call fcn.004ab738
mov eax, dword [ebp + 0x14]
add esp, 0xc
and eax, 0xffffffff
lea ecx, [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov edx, eax
mov dword [ebp - 0x1c], eax
sar edx, 0x1f
push 0
lea edx, [ebp - 0x28]
push edx
push ecx
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp + 0xc]
push edx
push edi
call fcn.0045875c
pop ecx
push eax
call sub.KERNEL32.DLL_ReadFile
test eax, eax
setne cl
and ecx, 1
push ecx
call fcn.0045a8c8
add esp, 8
mov esi, dword [ebp - 4]
jmp 0x459299
mov eax, dword [ebp + 0x14]
mov ebx, eax
mov eax, dword [ebp + 0x18]
and ebx, 0xffffffff
mov edx, eax
sar edx, 0x1f
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
push 0
push edx
push ebx
push edi
call fcn.0045875c
pop ecx
push eax
call sub.KERNEL32.DLL_SetFilePointer
mov ebx, eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, ebx
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jne 0x459263
cmp dword [ebp - 0xc], 0xffffffff
jne 0x459263
push 0
push 0
call fcn.0045a8c8
add esp, 8
jmp 0x459299
xor ecx, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push 0
push 0
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
push edi
call fcn.0045875c
pop ecx
push eax
call sub.KERNEL32.DLL_ReadFile
test eax, eax
setne al
and eax, 1
push eax
call fcn.0045a8c8
add esp, 8
mov esi, dword [ebp - 0x14]
call fcn.0041ad00
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4592a8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.0041ac90
xor esi, esi
call fcn.004a9b20
test eax, eax
je 0x459325
xor eax, eax
mov dword [ebp - 4], eax
push 0x14
push 0
lea edx, [ebp - 0x28]
push edx
call fcn.004ab738
mov eax, dword [ebp + 0x14]
add esp, 0xc
and eax, 0xffffffff
lea ecx, [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov edx, eax
mov dword [ebp - 0x1c], eax
sar edx, 0x1f
push 0
lea edx, [ebp - 0x28]
push edx
push ecx
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp + 0xc]
push edx
push edi
call fcn.0045875c
pop ecx
push eax
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne cl
and ecx, 1
push ecx
call fcn.0045a8c8
add esp, 8
mov esi, dword [ebp - 4]
jmp 0x4593bd
mov eax, dword [ebp + 0x14]
mov ebx, eax
mov eax, dword [ebp + 0x18]
and ebx, 0xffffffff
mov edx, eax
sar edx, 0x1f
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
push 0
push edx
push ebx
push edi
call fcn.0045875c
pop ecx
push eax
call sub.KERNEL32.DLL_SetFilePointer
mov ebx, eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, ebx
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jne 0x459387
cmp dword [ebp - 0xc], 0xffffffff
jne 0x459387
push 0
push 0
call fcn.0045a8c8
add esp, 8
jmp 0x4593bd
xor ecx, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push 0
push 0
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
push edi
call fcn.0045875c
pop ecx
push eax
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne al
and eax, 1
push eax
call fcn.0045a8c8
add esp, 8
mov esi, dword [ebp - 0x14]
call fcn.0041ad00
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x459944
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
push eax
call fcn.0045a45c
pop ecx
mov esi, eax
mov ebx, eax
call fcn.0041ac90
push ebx
call sub.KERNEL32.DLL_DeleteFileW
test eax, eax
setne al
and eax, 1
mov ebx, eax
push 0
push ebx
call fcn.0045a8c8
add esp, 8
call fcn.0041ad00
test esi, esi
je 0x459987
push esi
call fcn.0043b450
pop ecx
mov eax, ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x459990
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call fcn.0045a45c
pop ecx
mov esi, eax
mov ebx, eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0045a45c
pop ecx
mov edi, eax
mov dword [ebp - 4], eax
call fcn.0041ac90
mov edx, dword [ebp - 4]
push edx
push ebx
call sub.KERNEL32.DLL_MoveFileW
test eax, eax
setne cl
and ecx, 1
mov ebx, ecx
push 0
push ebx
call fcn.0045a8c8
add esp, 8
call fcn.0041ad00
test esi, esi
je 0x4599e8
push esi
call fcn.0043b450
pop ecx
test edi, edi
je 0x4599f3
push edi
call fcn.0043b450
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret