joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c380
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x43c417
cmp byte [esi + 0x3d], 0
je 0x43c417
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x43c3d0
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
cmp edx, vtable.std::codecvt_char__char__struct__Mbstatet_.0
jne 0x43c429
lea edi, [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x28], edi
sub eax, 0
je 0x43c3e2
sub eax, 1
je 0x43c3e6
sub eax, 2
je 0x43c417
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
lea eax, [ebp - 0x24]
sub edi, eax
je 0x43c400
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00687a59
add esp, 0x10
cmp edi, eax
jne 0x43c3d0
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00629f1d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
mov edi, dword [ebp - 0x28]
jmp 0x43c3c1

Function at 0x43c6f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dc4b0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7b2214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0062a275
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0060fd73
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x34], esi
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov ecx, edi
mov eax, dword [edi + 0x20]
push 0
push 0
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov dword [edi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.0043c450
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43d0d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dc5c0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x7b2214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0062a275
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0060fd73
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43e810
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dc72b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7b2214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push str.SaltBoxSM_Mutex
lea esi, [edi + 0xc]
mov dword [edi + 4], vtable.MAGA::CLockMutex.0
push 0x208
push esi
mov dword [edi + 8], 0
call fcn.00688535
add esp, 0xc
mov dword [edi + 0x214], 0
push esi
push 0
mov dword [ebp - 4], 0
push 0
mov dword [edi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x214], eax
test eax, eax
jne 0x43e896
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 8], eax
jmp 0x43e8b5
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x43e8ae
mov dword [edi], 1
jmp 0x43e8bb
mov dword [edi + 8], 0xffffff9c
mov dword [edi], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4436a0
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dcbb3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
cmp dword [ebx + 0x18], eax
jne 0x443708
xor esi, esi
jmp 0x44380d
sub esp, 0x18
lea eax, [ebx + 8]
mov ecx, esp
push eax
call fcn.0044e260
call fcn.00443a50
add esp, 0x18
test eax, eax
jne 0x443808
cmp dword [ebx + 0x1c], 8
lea ecx, [ebx + 8]
mov eax, dword [ebx + 0x18]
mov edx, 0x3a
cmovae ecx, dword [ebx + 8]
cmp dx, word [ecx + eax*2 - 2]
jne 0x443747
xor esi, esi
jmp 0x44380d
sub esp, 0x18
lea eax, [ebx + 8]
mov ecx, esp
push eax
call fcn.0044e260
lea ecx, [ebp - 0x44]
call fcn.00443b30
mov esi, eax
add esp, 0x18
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x443794
mov ecx, eax
call fcn.00432e40
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x1c], xmm0
mov word [esi], ax
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4437ce
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4437c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443898
push edx
push ecx
call fcn.0062a23d
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.0044e260
call fcn.004436a0
add esp, 0x18
test eax, eax
jne 0x4437ec
xor esi, esi
jmp 0x44380d
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
push 0
cmovae eax, dword [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x443808
xor esi, esi
jmp 0x44380d
mov esi, 1
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x443843
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x443839
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44389d
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x443879
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44386f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4438a2
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0068843e
call fcn.0068843e
call fcn.0068843e
int3
Function at 0x4438b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dcbf0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
cmp dword [ebp + 0x18], 0
jne 0x443903
xor esi, esi
jmp 0x4439b6
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0042fd80
call fcn.00443ac0
add esp, 0x18
test eax, eax
jne 0x4439b1
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0042fd80
lea ecx, [ebp - 0x40]
call fcn.00443cf0
add esp, 0x18
lea ecx, [ebp - 0x28]
push eax
call fcn.0042fc60
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x443977
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44396d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443a32
push edx
push ecx
call fcn.0062a23d
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0042fd80
call fcn.004438b0
add esp, 0x18
test eax, eax
jne 0x443995
xor esi, esi
jmp 0x4439b6
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4439b1
xor esi, esi
jmp 0x4439b6
mov esi, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4439e6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4439dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443a37
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x443a16
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x443a0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443a3c
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret
call fcn.0068843e
call fcn.0068843e
call fcn.0068843e
int3

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x18], 0
push esi
je 0x443a7c
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x443a7c
test al, 0x10
je 0x443a7c
mov esi, 1
jmp 0x443a7e
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x443ab4
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x443aaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443ab9
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, esi
pop esi
pop ebp
ret
call fcn.0068843e
int3
Function at 0x443ac0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x18], 0
push esi
je 0x443aec
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x443aec
test al, 0x10
je 0x443aec
mov esi, 1
jmp 0x443aee
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x443b1e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x443b14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x443b23
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, esi
pop esi
pop ebp
ret
call fcn.0068843e
int3
Function at 0x444fe0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dce70
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7b2214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.0042fd80
mov ecx, 1
call fcn.00447720
add esp, 0x18
test eax, eax
je 0x445055
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
push 0
cmovae ecx, dword [ebp + 0x20]
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
push ecx
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x445055
mov esi, 1
jmp 0x445057
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x445087
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44507d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4450db
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4450c9
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4450bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4450e0
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0068843e
call fcn.0068843e
int3

Function at 0x4450f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dcea0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7b2214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.0044e260
mov ecx, 1
call fcn.004474b0
add esp, 0x18
test eax, eax
je 0x445165
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
push 0
cmovae ecx, dword [ebp + 0x20]
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x445165
mov esi, 1
jmp 0x445167
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x44519d
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445193
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4451f9
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x4451e7
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4451dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4451fe
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0068843e
call fcn.0068843e
int3
Function at 0x4473f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ebx
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [ebp + 0x1c]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
cmp edx, 8
jb 0x447444
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44743a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447449
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, ebx
pop ebx
pop ebp
ret
call fcn.0068843e
int3

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ebx
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [ebp + 0x1c]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
cmp edx, 0x10
jb 0x44749e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x447494
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4474a3
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, ebx
pop ebx
pop ebp
ret
call fcn.0068843e
int3
Function at 0x447980
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dd228
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push 0x34
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x48], 0
call fcn.00668940
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x447a9a
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x447a9a
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x447a1e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447a9a
cmp dword [ebp - 0x24], 0
je 0x447a2d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447a9a
mov eax, dword [ebp - 0x20]
test ebx, ebx
je 0x447a38
cmp eax, ebx
ja 0x447a3a
mov ebx, eax
test edi, edi
je 0x447a40
mov dword [edi], ebx
lea eax, [ebx + 1]
push eax
call fcn.00685999
mov edi, eax
add esp, 4
test edi, edi
jne 0x447a5b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447a9a
lea eax, [ebx + 1]
push eax
push 0
push edi
call fcn.00668940
add esp, 0xc
lea eax, [ebp - 0x48]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x447a86
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447a91
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, dword [ebp - 0x48]
je 0x447a9c
push edi
call fcn.00684e92
add esp, 4
xor edi, edi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x447ad2
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447ac8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447af0
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret
call fcn.0068843e
int3
Function at 0x447b00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dd258
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push 0x34
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x48], 0
call fcn.00668940
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x447c1a
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x447c1a
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x447b9e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447c1a
cmp dword [ebp - 0x24], 0
je 0x447bad
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447c1a
mov eax, dword [ebp - 0x20]
test ebx, ebx
je 0x447bb8
cmp eax, ebx
ja 0x447bba
mov ebx, eax
test edi, edi
je 0x447bc0
mov dword [edi], ebx
lea eax, [ebx + 1]
push eax
call fcn.00685999
mov edi, eax
add esp, 4
test edi, edi
jne 0x447bdb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447c1a
lea eax, [ebx + 1]
push eax
push 0
push edi
call fcn.00668940
add esp, 0xc
lea eax, [ebp - 0x48]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x447c06
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x447c11
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, dword [ebp - 0x48]
je 0x447c1c
push edi
call fcn.00684e92
add esp, 4
xor edi, edi
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x447c4c
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x447c42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447c6a
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret
call fcn.0068843e
int3
Function at 0x449f90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dd5a8
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x414], ebx
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00668940
add esp, 0xc
lea eax, [ebp - 0x410]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
cmp byte [ebp - 0x410], 0
jne 0x44a04d
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x44a117
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44a10d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44a135
jmp 0x44a10d
cmp dword [ebp + 0x18], 0
jne 0x44a08a
lea ecx, [ebp - 0x410]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebx], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44a070
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, ebx
call fcn.00430430
jmp 0x44a016
lea edi, [ebp - 0x410]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x44a091
cmp dword [ebp + 0x1c], 0x10
lea edx, [ebp + 8]
mov ax, word [0x769a64]
cmovae edx, dword [ebp + 8]
mov word [edi], ax
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x44a0b1
lea edi, [ebp - 0x410]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44a0c1
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x410]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebx], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44a0f0
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, ebx
call fcn.00430430
jmp 0x44a016
push edx
push ecx
call fcn.0062a23d
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret
call fcn.0068843e
int3