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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48936d
push eax
mov dword fs:[0], esp
sub esp, 0x18
call fcn.00432540
test eax, eax
je 0x406678
cmp byte [ebp + 8], 0
je 0x406635
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00431f10
add esp, 8
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x10]
test eax, eax
je 0x406645
cmp edx, 8
jb 0x406635
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40662b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406688
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp edx, 8
jb 0x406678
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40666e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406688
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov ecx, dword [ebp - 0xc]
xor al, al
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0045399f
int3

Function at 0x406970
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 1
call fcn.00406590
add esp, 4
test al, al
jne 0x406987
pop ebp
jmp fcn.00406990
xor eax, eax
pop ebp
ret
Function at 0x406990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4893a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.00405e00
add esp, 4
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x4069d2
test ecx, ecx
je 0x406aa3
cmp edx, 8
lea eax, [ebp - 0x3c]
cmovae eax, ecx
cmp word [eax], 0
je 0x406aa3
cmp edx, 8
lea eax, [ebp - 0x3c]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406a9d
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov byte [ebp - 4], 1
cmp byte [ebp + 8], al
je 0x406a2d
lea eax, [ebp - 0x24]
push eax
call fcn.00405850
add esp, 4
push dword [ebp + 0x18]
lea eax, [ebp - 0x24]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406af0
mov edx, dword [ebp - 0x10]
add esp, 0x18
mov esi, eax
cmp edx, 8
jb 0x406a81
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406a77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406ae6
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov edx, dword [ebp - 0x28]
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
jmp 0x406aa5
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
xor esi, esi
cmp edx, 8
jb 0x406ad5
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406acb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406ae6
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0045399f
int3
Function at 0x406af0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4893dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x10], 0
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x406b22
mov ecx, dword [esi]
test ecx, ecx
je 0x406ce5
mov ecx, esi
cmp eax, 8
jb 0x406b33
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x406ce5
mov ecx, esi
cmp eax, 8
jb 0x406b46
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406ce5
xor eax, eax
mov dword [ebp - 0x28], 0
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [edi + 0x10], eax
je 0x406c48
push esi
lea eax, [ebp - 0x70]
push 0x48e888
push eax
call fcn.004035c0
push 0x48e880
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.00403550
push edi
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.004034f0
mov edi, eax
add esp, 0x24
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x406c29
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x406bf7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406bed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cf7
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x40]
call fcn.004011d0
lea ecx, [ebp - 0x58]
call fcn.004011d0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0
call fcn.004011d0
mov edi, dword [ebp + 0xc]
cmp byte [ebp + 0x10], 0
je 0x406c6c
push dword [ebp + 0x1c]
push 0x1e
push 0x32
push 1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
push edi
call fcn.00414810
add esp, 0x20
mov dword [ebp - 0x10], eax
jmp 0x406cae
push 0
call fcn.0040c440
add esp, 4
test al, al
lea eax, [ebp - 0x28]
je 0x406c8e
push 5
push eax
push esi
call fcn.00414aa0
add esp, 0xc
mov dword [ebp - 0x10], eax
jmp 0x406cae
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x406c9e
mov esi, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 5
push eax
push esi
call fcn.00424be0
add esp, 0x10
mov edx, dword [ebp - 0x14]
pop edi
cmp edx, 8
jb 0x406ce5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406cdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cfc
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0045399f
call fcn.0045399f
int3
Function at 0x406d10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48940d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
xor eax, eax
mov dword [ebp - 0x24], 0
push ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00426d40
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call fcn.00425ac0
mov edx, dword [ebp - 0x10]
add esp, 8
test eax, eax
mov dword [ebp - 4], 0xffffffff
setne bl
cmp edx, 8
jb 0x406dad
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406da3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f44
push edx
push ecx
call fcn.0041c0cf
add esp, 8
test bl, bl
pop ebx
je 0x406f34
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.00410ac0
add esp, 4
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], 1
cmp edx, 8
jb 0x406ddd
test ecx, ecx
je 0x406ef1
cmp edx, 8
lea eax, [ebp - 0x3c]
cmovae eax, ecx
cmp word [eax], 0
je 0x406ef1
cmp edx, 8
lea eax, [ebp - 0x3c]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406eeb
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov byte [ebp - 4], 2
cmp byte [ebp + 8], al
je 0x406e38
lea eax, [ebp - 0x24]
push eax
call fcn.00405850
add esp, 4
push dword [ebp + 0x18]
lea eax, [ebp - 0x24]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406af0
mov edx, dword [ebp - 0x10]
add esp, 0x18
mov esi, eax
cmp edx, 8
jb 0x406e90
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406e86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f49
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov edx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
cmp edx, 8
jb 0x406f23
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406ed0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f49
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x406f21
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406f17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f49
push edx
push ecx
call fcn.0041c0cf
add esp, 8
xor esi, esi
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0045399f
call fcn.0045399f
int3
Function at 0x40a8f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4893a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
xor eax, eax
mov dword [ebp - 0x3c], 0
push ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004087f0
add esp, 8
cmp dword [ebp - 0x28], 8
jb 0x40a95b
cmp dword [ebp - 0x3c], 0
je 0x40a9c0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
cmp edx, 8
cmovae eax, ecx
cmp word [eax], 0
je 0x40a9c0
cmp edx, 8
lea eax, [ebp - 0x3c]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
test eax, eax
je 0x40a9c6
cmp edx, 8
jb 0x40a993
test ecx, ecx
je 0x40a9c6
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x40a9c6
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
test eax, eax
je 0x40a9c6
mov bl, 1
jmp 0x40a9c8
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x40a9f8
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a9ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa53
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov edx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
cmp edx, 8
jb 0x40aa42
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40aa38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa53
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0045399f
int3
Function at 0x40aa60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4893a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
xor eax, eax
mov dword [ebp - 0x3c], 0
push ebx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00408cc0
add esp, 8
cmp dword [ebp - 0x28], 8
jb 0x40aacb
cmp dword [ebp - 0x3c], 0
je 0x40ab30
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
cmp edx, 8
cmovae eax, ecx
cmp word [eax], 0
je 0x40ab30
cmp edx, 8
lea eax, [ebp - 0x3c]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
test eax, eax
je 0x40ab36
cmp edx, 8
jb 0x40ab03
test ecx, ecx
je 0x40ab36
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x40ab36
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
test eax, eax
je 0x40ab36
mov bl, 1
jmp 0x40ab38
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x40ab68
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ab5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40abc3
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov edx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
cmp edx, 8
jb 0x40abb2
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40aba8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40abc3
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0045399f
int3

Function at 0x40abd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00409190
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40abf2
test ecx, ecx
je 0x40ac1f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40ac1f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x40ac1f
mov bl, 1
jmp 0x40ac21
xor bl, bl
cmp edx, 8
jb 0x40ac51
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ac47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ac58
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0045399f
int3

Function at 0x40b170
Capabilities:
Check if file exists

Disassembly:
call fcn.0040ac60
call fcn.0040ae00
jmp fcn.0040a8f0
Function at 0x40b560
Capabilities:
Check if file exists

Disassembly:
call fcn.0040b180
call fcn.0040b370
jmp fcn.0040aa60

Function at 0x40bc10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call fcn.0040b570
lea eax, [ebp - 0x18]
push eax
call fcn.00409190
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40bc36
test ecx, ecx
je 0x40bc6d
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40bc6d
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40bc67
lea ecx, [ebp - 0x18]
call fcn.004011d0
mov al, 1
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40bc9d
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bca3
push edx
push ecx
call fcn.0041c0cf
add esp, 8
xor al, al
mov esp, ebp
pop ebp
ret
call fcn.0045399f
int3
Function at 0x40c200
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489935
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov byte [ebp - 0xd], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x40c415
cmp word [eax], 0
je 0x40c415
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x40c245
mov ecx, dword [esi]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ecx, eax
test ecx, ecx
je 0x40c403
mov eax, dword [esi + 0x10]
lea ecx, [ecx + eax*2]
movzx eax, word [ecx]
mov dword [ebp - 0x14], ecx
cmp eax, 0x20
je 0x40c28d
cmp eax, 9
je 0x40c28d
cmp eax, 0xd
je 0x40c28d
cmp eax, 0xa
je 0x40c28d
test ax, ax
je 0x40c28d
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
xor esi, esi
mov byte [ebp - 0xd], 1
xor ebx, ebx
mov dword [ebp - 0x20], 0
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
test edi, edi
je 0x40c401
movzx eax, word [ecx]
cmp eax, 0x20
je 0x40c2c9
cmp eax, 9
je 0x40c2c9
cmp eax, 0xd
je 0x40c2c9
cmp eax, 0xa
jne 0x40c2ce
add ecx, 2
jmp 0x40c2b2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push eax
push ecx
lea eax, [ebp - 0x38]
push eax
call fcn.0040c0d0
add esp, 0xc
cmp dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
je 0x40c35d
lea eax, [ebp - 0x38]
push eax
cmp esi, ebx
je 0x40c303
mov ecx, esi
call fcn.00401840
add esi, 0x18
mov dword [ebp - 0x1c], esi
jmp 0x40c312
push esi
lea ecx, [ebp - 0x20]
call fcn.00401620
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x40c350
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c346
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c426
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x40c2b2
jmp 0x40c39b
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x40c39b
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c391
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c426
push edx
push ecx
call fcn.0041c0cf
add esp, 8
lea eax, [ebp - 0x20]
cmp edi, eax
mov edi, dword [ebp - 0x20]
je 0x40c3b2
push dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
push esi
push edi
call fcn.0040bf00
test edi, edi
je 0x40c401
lea eax, [ebp - 0x20]
push eax
push esi
push edi
call fcn.004015b0
sub ebx, edi
mov eax, 0x2aaaaaab
imul ebx
add esp, 0xc
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x40c3f7
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c42b
push ecx
push edi
call fcn.0041c0cf
add esp, 8
pop edi
pop ebx
mov al, byte [ebp - 0xd]
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0045399f
call fcn.0045399f
int3
Function at 0x40dec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4b6c24]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4b6b60]
cmp eax, dword [ecx + 4]
jg 0x40e00c
mov edx, dword [0x4b506c]
mov ecx, dword [0x4b5058]
push esi
cmp edx, 8
jb 0x40defc
test ecx, ecx
je 0x40df27
cmp edx, 8
mov eax, 0x4b5058
cmovae eax, ecx
cmp word [eax], 0
je 0x40df27
cmp edx, 8
mov eax, 0x4b5058
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40dff7
lea eax, [ebp - 0x18]
push eax
call fcn.00410580
mov esi, eax
add esp, 4
cmp esi, 0x4b5058
je 0x40dfc1
mov edx, dword [0x4b506c]
cmp edx, 8
jb 0x40df81
mov ecx, dword [0x4b5058]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40df77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e042
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov dword [0x4b5068], 0
xor eax, eax
mov dword [0x4b506c], 7
mov word [0x4b5058], ax
movups xmm0, xmmword [esi]
movups xmmword [0x4b5058], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4b5068], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40dff7
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dfed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e042
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov ecx, dword [ebp + 8]
push 0x4b5058
call fcn.00401840
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4b6b60
call fcn.0041c49b
add esp, 4
cmp dword [0x4b6b60], 0xffffffff
jne 0x40dee6
push 0x48d930
call fcn.0041c377
push 0x4b6b60
call fcn.0041c451
add esp, 8
jmp 0x40dee6
call fcn.0045399f
int3
Function at 0x40e050
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4b6c24]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4b6b64]
cmp eax, dword [ecx + 4]
jg 0x40e19c
mov edx, dword [0x4b5084]
mov ecx, dword [0x4b5070]
push esi
cmp edx, 8
jb 0x40e08c
test ecx, ecx
je 0x40e0b7
cmp edx, 8
mov eax, 0x4b5070
cmovae eax, ecx
cmp word [eax], 0
je 0x40e0b7
cmp edx, 8
mov eax, 0x4b5070
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e187
lea eax, [ebp - 0x18]
push eax
call fcn.00410820
mov esi, eax
add esp, 4
cmp esi, 0x4b5070
je 0x40e151
mov edx, dword [0x4b5084]
cmp edx, 8
jb 0x40e111
mov ecx, dword [0x4b5070]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e107
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1d2
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov dword [0x4b5080], 0
xor eax, eax
mov dword [0x4b5084], 7
mov word [0x4b5070], ax
movups xmm0, xmmword [esi]
movups xmmword [0x4b5070], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4b5080], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40e187
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e17d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e1d2
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov ecx, dword [ebp + 8]
push 0x4b5070
call fcn.00401840
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4b6b64
call fcn.0041c49b
add esp, 4
cmp dword [0x4b6b64], 0xffffffff
jne 0x40e076
push 0x48d990
call fcn.0041c377
push 0x4b6b64
call fcn.0041c451
add esp, 8
jmp 0x40e076
call fcn.0045399f
int3

Function at 0x40f3e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040dec0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40f402
test ecx, ecx
je 0x40f42f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40f42f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x40f42f
mov bl, 1
jmp 0x40f431
xor bl, bl
cmp edx, 8
jb 0x40f461
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f457
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f468
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0045399f
int3
Function at 0x40f470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040e050
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40f492
test ecx, ecx
je 0x40f4bf
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40f4bf
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x40f4bf
mov bl, 1
jmp 0x40f4c1
xor bl, bl
cmp edx, 8
jb 0x40f4f1
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f4e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f4f8
push edx
push ecx
call fcn.0041c0cf
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0045399f
int3