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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a55bb
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4c9860]
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, ecx
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], 0
call fcn.0041e610
mov ecx, eax
call fcn.0044e4e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00432790
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.004034a0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x440eac
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x48], eax
je 0x440f20
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x440f20
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.0040bd60
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 3
mov ebx, 1
jmp 0x440f5f
xor eax, eax
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0x4b33dc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0040c0d0
lea esi, [ebp - 0x40]
mov dword [ebp - 4], 4
mov ebx, 2
mov dword [ebp - 0x5c], ebx
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esi + 0x14], 8
jae 0x440f90
mov eax, dword [esi + 0x10]
inc eax
je 0x440fa0
add eax, eax
push eax
push esi
push edi
call fcn.0047d010
add esp, 0xc
jmp 0x440fa0
push esi
push edi
lea ecx, [ebp - 0x5d]
call fcn.0040bb50
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
or ebx, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], 3
test bl, 2
je 0x440ffc
and ebx, 0xfffffffd
mov dword [ebp - 0x5c], ebx
cmp dword [ebp - 0x2c], 8
jb 0x440fe8
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 1
test bl, 1
je 0x441033
and ebx, 0xfffffffe
mov dword [ebp - 0x5c], ebx
cmp dword [ebp - 0x14], 8
jb 0x44101f
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 8
jb 0x441048
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
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.0047cf45
mov esp, ebp
pop ebp
ret
Function at 0x441870
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a55bb
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4c9860]
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, ecx
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], 0
call fcn.0041e610
mov ecx, eax
call fcn.0044e4e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00432b80
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.004034a0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x4418ec
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x48], eax
je 0x441960
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x441960
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.0040bd60
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 3
mov ebx, 1
jmp 0x44199f
xor eax, eax
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0x4b33dc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0040c0d0
lea esi, [ebp - 0x40]
mov dword [ebp - 4], 4
mov ebx, 2
mov dword [ebp - 0x5c], ebx
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esi + 0x14], 8
jae 0x4419d0
mov eax, dword [esi + 0x10]
inc eax
je 0x4419e0
add eax, eax
push eax
push esi
push edi
call fcn.0047d010
add esp, 0xc
jmp 0x4419e0
push esi
push edi
lea ecx, [ebp - 0x5d]
call fcn.0040bb50
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
or ebx, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], 3
test bl, 2
je 0x441a3c
and ebx, 0xfffffffd
mov dword [ebp - 0x5c], ebx
cmp dword [ebp - 0x2c], 8
jb 0x441a28
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 1
test bl, 1
je 0x441a73
and ebx, 0xfffffffe
mov dword [ebp - 0x5c], ebx
cmp dword [ebp - 0x14], 8
jb 0x441a5f
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 8
jb 0x441a88
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
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.0047cf45
mov esp, ebp
pop ebp
ret
Function at 0x441ac0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a55bb
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4c9860]
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, ecx
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], 0
call fcn.0041e610
mov ecx, eax
call fcn.0044eb20
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00432d60
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.004034a0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x441b3c
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x48], eax
je 0x441bb0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x441bb0
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.0040bd60
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 3
mov ebx, 1
jmp 0x441bef
xor eax, eax
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0x4b33dc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0040c0d0
lea esi, [ebp - 0x40]
mov dword [ebp - 4], 4
mov ebx, 2
mov dword [ebp - 0x5c], ebx
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esi + 0x14], 8
jae 0x441c20
mov eax, dword [esi + 0x10]
inc eax
je 0x441c30
add eax, eax
push eax
push esi
push edi
call fcn.0047d010
add esp, 0xc
jmp 0x441c30
push esi
push edi
lea ecx, [ebp - 0x5d]
call fcn.0040bb50
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
or ebx, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], 3
test bl, 2
je 0x441c8c
and ebx, 0xfffffffd
mov dword [ebp - 0x5c], ebx
cmp dword [ebp - 0x2c], 8
jb 0x441c78
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 1
test bl, 1
je 0x441cc3
and ebx, 0xfffffffe
mov dword [ebp - 0x5c], ebx
cmp dword [ebp - 0x14], 8
jb 0x441caf
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 8
jb 0x441cd8
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
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.0047cf45
mov esp, ebp
pop ebp
ret
Function at 0x441d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a55bb
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4c9860]
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, ecx
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], 0
call fcn.0041e610
mov ecx, eax
call fcn.0044e4e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00432fa0
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.004034a0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x441d8c
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x48], eax
je 0x441e00
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x441e00
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.0040bd60
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 3
mov ebx, 1
jmp 0x441e3f
xor eax, eax
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0x4b33dc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0040c0d0
lea esi, [ebp - 0x40]
mov dword [ebp - 4], 4
mov ebx, 2
mov dword [ebp - 0x5c], ebx
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esi + 0x14], 8
jae 0x441e70
mov eax, dword [esi + 0x10]
inc eax
je 0x441e80
add eax, eax
push eax
push esi
push edi
call fcn.0047d010
add esp, 0xc
jmp 0x441e80
push esi
push edi
lea ecx, [ebp - 0x5d]
call fcn.0040bb50
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
or ebx, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], 3
test bl, 2
je 0x441edc
and ebx, 0xfffffffd
mov dword [ebp - 0x5c], ebx
cmp dword [ebp - 0x2c], 8
jb 0x441ec8
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 1
test bl, 1
je 0x441f13
and ebx, 0xfffffffe
mov dword [ebp - 0x5c], ebx
cmp dword [ebp - 0x14], 8
jb 0x441eff
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 8
jb 0x441f28
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
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.0047cf45
mov esp, ebp
pop ebp
ret
Function at 0x4423e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a55bb
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4c9860]
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, ecx
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], 0
call fcn.0041e610
mov ecx, eax
call fcn.0044eb20
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004335e0
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.004034a0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x44245c
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x48], eax
je 0x4424d0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x4424d0
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.0040bd60
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 3
mov ebx, 1
jmp 0x44250f
xor eax, eax
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0x4b33dc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0040c0d0
lea esi, [ebp - 0x40]
mov dword [ebp - 4], 4
mov ebx, 2
mov dword [ebp - 0x5c], ebx
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [esi + 0x14], 8
jae 0x442540
mov eax, dword [esi + 0x10]
inc eax
je 0x442550
add eax, eax
push eax
push esi
push edi
call fcn.0047d010
add esp, 0xc
jmp 0x442550
push esi
push edi
lea ecx, [ebp - 0x5d]
call fcn.0040bb50
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
or ebx, 4
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], 3
test bl, 2
je 0x4425ac
and ebx, 0xfffffffd
mov dword [ebp - 0x5c], ebx
cmp dword [ebp - 0x2c], 8
jb 0x442598
push dword [ebp - 0x40]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 1
test bl, 1
je 0x4425e3
and ebx, 0xfffffffe
mov dword [ebp - 0x5c], ebx
cmp dword [ebp - 0x14], 8
jb 0x4425cf
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], 8
jb 0x4425f8
push dword [ebp - 0x58]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
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.0047cf45
mov esp, ebp
pop ebp
ret
Function at 0x444d90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ecx + 0x10], 0
push edi
mov edi, edx
jne 0x444da6
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0x14], 8
jb 0x444dae
mov ecx, dword [ecx]
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x444dd7
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov byte [ebp - 1], 1
push edi
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
neg ebx
sbb bl, bl
and bl, byte [ebp - 1]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x444e10
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx + 0x10], 0
push ebx
mov ebx, edx
jne 0x444e26
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0x14], 8
jb 0x444e2e
mov ecx, dword [ecx]
push esi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x444e57
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 8]
push eax
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 8], 0
mov edi, eax
je 0x444e82
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x444e9b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
cmp edi, eax
jbe 0x444eb7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push 0
test eax, eax
lea ecx, [ebp - 0xc]
push ecx
cmove eax, edi
push eax
push ebx
push esi
mov byte [ebp - 1], 1
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov ebx, eax
neg ebx
sbb bl, bl
and bl, byte [ebp - 1]
push esi
mov dword [edx], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445070
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6238
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4c9860]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x4450ac
xor al, al
jmp 0x4451c2
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040bd60
mov dword [ebp - 4], 0
mov edx, 0x2f
lea ecx, [ebp - 0x28]
call fcn.0042cfb0
mov edx, 0x5c
lea ecx, [ebp - 0x28]
call fcn.0042cfb0
cmp dword [ebp - 0x18], 3
ja case.default.0x445118
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
ja case.default.0x445118
jmp dword [eax*4 + 0x4451e0]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x445178
mov eax, dword [esi + 0x10]
lea edx, [eax - 1]
cmp eax, edx
ja 0x445151
push str.invalid_string_position
call fcn.0047920d
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x44515d
mov ecx, dword [esi]
jmp 0x44515f
mov ecx, esi
cmp word [ecx + edx*2], 0x5c
je case.0x445118.3
cmp eax, 8
jb 0x44516d
mov esi, dword [esi]
cmp word [esi + edx*2], 0x2f
jne case.0x445118.0
mov bl, 1
jmp 0x445194
test byte [ebp - 0x278], 0x10
push eax
je 0x44518c
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
jmp 0x445194
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x4451ac
push dword [ebp - 0x28]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047cf45
mov esp, ebp
pop ebp
ret
Function at 0x445770
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6191
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x4c9860]
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, ecx
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x264], 0
call fcn.0041e610
mov ecx, eax
call fcn.0044f530
mov dword [ebp - 4], 1
cmp dword [ebp - 0x220], 0
jne 0x4457f0
lea eax, [ebp - 0x230]
push eax
mov ecx, edi
call fcn.0040c2a0
mov dword [ebp - 0x264], 1
jmp 0x4459a9
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004821a0
add esp, 0xc
call esi
push eax
push 0x4b40e4
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0047d972
add esp, 0x10
lea ecx, [ebp - 0x230]
push 1
push 0x4b3f78
call fcn.004035b0
cmp word [ebp - 0x218], 0
mov esi, eax
jne 0x445854
xor ecx, ecx
jmp 0x44586f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445860
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.004035b0
lea ecx, [ebp - 0x230]
call fcn.004454a0
test al, al
je 0x4458e4
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
call fcn.0040bd60
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 2
mov ebx, 2
jmp 0x445900
push 0x4b33dc
lea ecx, [ebp - 0x260]
call fcn.0040c1d0
mov dword [ebp - 4], 3
mov ebx, 4
push eax
mov ecx, edi
mov dword [ebp - 0x264], ebx
call fcn.0040c2a0
or ebx, 1
mov dword [ebp - 0x264], ebx
mov dword [ebp - 4], 2
test bl, 4
je 0x445960
and ebx, 0xfffffffb
mov dword [ebp - 0x264], ebx
cmp dword [ebp - 0x24c], 8
jb 0x445943
push dword [ebp - 0x260]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov dword [ebp - 4], 1
test bl, 2
je 0x4459a9
and ebx, 0xfffffffd
mov dword [ebp - 0x264], ebx
cmp dword [ebp - 0x234], 8
jb 0x44598c
push dword [ebp - 0x248]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x21c], 8
jb 0x4459c4
push dword [ebp - 0x230]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
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.0047cf45
mov esp, ebp
pop ebp
ret