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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b91d
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.00428840
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call fcn.004275c0
mov edx, dword [ebp - 0x10]
add esp, 8
test eax, eax
mov dword [ebp - 4], 0xffffffff
setne bl
cmp edx, 8
jb 0x4087dd
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4087d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408974
push edx
push ecx
call fcn.0041dbcb
add esp, 8
test bl, bl
pop ebx
je 0x408964
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.004127e0
add esp, 4
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], 1
cmp edx, 8
jb 0x40880d
test ecx, ecx
je 0x408921
cmp edx, 8
lea eax, [ebp - 0x3c]
cmovae eax, ecx
cmp word [eax], 0
je 0x408921
cmp edx, 8
lea eax, [ebp - 0x3c]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40891b
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 0x408868
lea eax, [ebp - 0x24]
push eax
call fcn.004070a0
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.00408520
mov edx, dword [ebp - 0x10]
add esp, 0x18
mov esi, eax
cmp edx, 8
jb 0x4088c0
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4088b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408979
push edx
push ecx
call fcn.0041dbcb
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 0x408953
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408900
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408979
push edx
push ecx
call fcn.0041dbcb
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 0x408951
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408947
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408979
push edx
push ecx
call fcn.0041dbcb
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.00455d9f
call fcn.00455d9f
int3
Function at 0x40c320
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b8b5
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.0040a220
add esp, 8
cmp dword [ebp - 0x28], 8
jb 0x40c38b
cmp dword [ebp - 0x3c], 0
je 0x40c3f0
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 0x40c3f0
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 0x40c3f6
cmp edx, 8
jb 0x40c3c3
test ecx, ecx
je 0x40c3f6
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x40c3f6
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 0x40c3f6
mov bl, 1
jmp 0x40c3f8
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x40c428
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c41e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c483
push edx
push ecx
call fcn.0041dbcb
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 0x40c472
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c468
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c483
push edx
push ecx
call fcn.0041dbcb
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.00455d9f
int3
Function at 0x40c490
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b8b5
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.0040a6f0
add esp, 8
cmp dword [ebp - 0x28], 8
jb 0x40c4fb
cmp dword [ebp - 0x3c], 0
je 0x40c560
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 0x40c560
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 0x40c566
cmp edx, 8
jb 0x40c533
test ecx, ecx
je 0x40c566
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x40c566
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 0x40c566
mov bl, 1
jmp 0x40c568
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x40c598
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c58e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5f3
push edx
push ecx
call fcn.0041dbcb
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 0x40c5e2
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c5d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5f3
push edx
push ecx
call fcn.0041dbcb
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.00455d9f
int3

Function at 0x40c600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040abc0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40c622
test ecx, ecx
je 0x40c64f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40c64f
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 0x40c64f
mov bl, 1
jmp 0x40c651
xor bl, bl
cmp edx, 8
jb 0x40c681
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c677
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c688
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00455d9f
int3

Function at 0x40cba0
Capabilities:
Check if file exists

Disassembly:
call fcn.0040c690
call fcn.0040c830
jmp fcn.0040c320
Function at 0x40cf90
Capabilities:
Check if file exists

Disassembly:
call fcn.0040cbb0
call fcn.0040cda0
jmp fcn.0040c490

Function at 0x40d640
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call fcn.0040cfa0
lea eax, [ebp - 0x18]
push eax
call fcn.0040abc0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40d666
test ecx, ecx
je 0x40d69d
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40d69d
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d697
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 0x40d6cd
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d6c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d6d3
push edx
push ecx
call fcn.0041dbcb
add esp, 8
xor al, al
mov esp, ebp
pop ebp
ret
call fcn.00455d9f
int3
Function at 0x40dc30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48be45
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 0x40de45
cmp word [eax], 0
je 0x40de45
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x40dc75
mov ecx, dword [esi]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ecx, eax
test ecx, ecx
je 0x40de33
mov eax, dword [esi + 0x10]
lea ecx, [ecx + eax*2]
movzx eax, word [ecx]
mov dword [ebp - 0x14], ecx
cmp eax, 0x20
je 0x40dcbd
cmp eax, 9
je 0x40dcbd
cmp eax, 0xd
je 0x40dcbd
cmp eax, 0xa
je 0x40dcbd
test ax, ax
je 0x40dcbd
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 0x40de31
movzx eax, word [ecx]
cmp eax, 0x20
je 0x40dcf9
cmp eax, 9
je 0x40dcf9
cmp eax, 0xd
je 0x40dcf9
cmp eax, 0xa
jne 0x40dcfe
add ecx, 2
jmp 0x40dce2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ecx
push eax
push ecx
lea eax, [ebp - 0x38]
push eax
call fcn.0040db00
add esp, 0xc
cmp dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
je 0x40dd8d
lea eax, [ebp - 0x38]
push eax
cmp esi, ebx
je 0x40dd33
mov ecx, esi
call fcn.00402200
add esi, 0x18
mov dword [ebp - 0x1c], esi
jmp 0x40dd42
push esi
lea ecx, [ebp - 0x20]
call fcn.00401fe0
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x40dd80
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40dd76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de56
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x40dce2
jmp 0x40ddcb
mov edx, dword [ebp - 0x24]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x40ddcb
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ddc1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de56
push edx
push ecx
call fcn.0041dbcb
add esp, 8
lea eax, [ebp - 0x20]
cmp edi, eax
mov edi, dword [ebp - 0x20]
je 0x40dde2
push dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
push esi
push edi
call fcn.0040d930
test edi, edi
je 0x40de31
lea eax, [ebp - 0x20]
push eax
push esi
push edi
call fcn.00401f70
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 0x40de27
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de5b
push ecx
push edi
call fcn.0041dbcb
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.00455d9f
call fcn.00455d9f
int3
Function at 0x40f8e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4b9c24]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4b9b60]
cmp eax, dword [ecx + 4]
jg 0x40fa2c
mov edx, dword [0x4b806c]
mov ecx, dword [0x4b8058]
push esi
cmp edx, 8
jb 0x40f91c
test ecx, ecx
je 0x40f947
cmp edx, 8
mov eax, 0x4b8058
cmovae eax, ecx
cmp word [eax], 0
je 0x40f947
cmp edx, 8
mov eax, 0x4b8058
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40fa17
lea eax, [ebp - 0x18]
push eax
call fcn.004122a0
mov esi, eax
add esp, 4
cmp esi, 0x4b8058
je 0x40f9e1
mov edx, dword [0x4b806c]
cmp edx, 8
jb 0x40f9a1
mov ecx, dword [0x4b8058]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f997
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa62
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov dword [0x4b8068], 0
xor eax, eax
mov dword [0x4b806c], 7
mov word [0x4b8058], ax
movups xmm0, xmmword [esi]
movups xmmword [0x4b8058], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4b8068], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40fa17
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fa62
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov ecx, dword [ebp + 8]
push 0x4b8058
call fcn.00402200
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4b9b60
call fcn.0041df9b
add esp, 4
cmp dword [0x4b9b60], 0xffffffff
jne 0x40f906
push 0x48fea0
call fcn.0041de77
push 0x4b9b60
call fcn.0041df51
add esp, 8
jmp 0x40f906
call fcn.00455d9f
int3
Function at 0x40fa70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4b9c24]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4b9b64]
cmp eax, dword [ecx + 4]
jg 0x40fbbc
mov edx, dword [0x4b8084]
mov ecx, dword [0x4b8070]
push esi
cmp edx, 8
jb 0x40faac
test ecx, ecx
je 0x40fad7
cmp edx, 8
mov eax, 0x4b8070
cmovae eax, ecx
cmp word [eax], 0
je 0x40fad7
cmp edx, 8
mov eax, 0x4b8070
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40fba7
lea eax, [ebp - 0x18]
push eax
call fcn.00412540
mov esi, eax
add esp, 4
cmp esi, 0x4b8070
je 0x40fb71
mov edx, dword [0x4b8084]
cmp edx, 8
jb 0x40fb31
mov ecx, dword [0x4b8070]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbf2
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov dword [0x4b8080], 0
xor eax, eax
mov dword [0x4b8084], 7
mov word [0x4b8070], ax
movups xmm0, xmmword [esi]
movups xmmword [0x4b8070], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4b8080], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40fba7
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fbf2
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov ecx, dword [ebp + 8]
push 0x4b8070
call fcn.00402200
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4b9b64
call fcn.0041df9b
add esp, 4
cmp dword [0x4b9b64], 0xffffffff
jne 0x40fa96
push 0x48ff00
call fcn.0041de77
push 0x4b9b64
call fcn.0041df51
add esp, 8
jmp 0x40fa96
call fcn.00455d9f
int3

Function at 0x410e00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040f8e0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x410e22
test ecx, ecx
je 0x410e4f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x410e4f
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 0x410e4f
mov bl, 1
jmp 0x410e51
xor bl, bl
cmp edx, 8
jb 0x410e81
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410e77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e88
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00455d9f
int3
Function at 0x410e90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040fa70
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x410eb2
test ecx, ecx
je 0x410edf
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x410edf
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 0x410edf
mov bl, 1
jmp 0x410ee1
xor bl, bl
cmp edx, 8
jb 0x410f11
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410f07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410f18
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00455d9f
int3
Function at 0x4135b0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x4135da
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x413580
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
jne 0x4135da
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x4135e0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x413618
push 0x927c0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x413608
push 1
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
xor eax, eax
pop esi
ret
Function at 0x416030
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x416040
xor al, al
pop ebp
ret
cmp dword [eax + 0x14], 8
jb 0x416048
mov eax, dword [eax]
push esi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x416073
test esi, esi
je 0x41606e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor al, al
pop esi
pop ebp
ret
Function at 0x41b2c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c965
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.004128c0
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x41b2fe
test ecx, ecx
je 0x41b371
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x41b371
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b36b
push esi
push 0
lea ecx, [ebp - 0x3c]
call fcn.0046f150
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x3c]
test eax, eax
mov byte [ebp - 4], 1
push 1
cmovne esi, eax
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push esi
push eax
call fcn.00445450
push esi
call fcn.0041b280
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov bl, al
call fcn.0046f5c0
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
pop esi
jmp 0x41b373
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x41b3a3
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b399
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b3b4
push edx
push ecx
call fcn.0041dbcb
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.00455d9f
int3
Function at 0x41c130
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c9cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.004128c0
add esp, 4
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x41c172
test ecx, ecx
je 0x41c330
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
cmp word [eax], 0
je 0x41c330
cmp edx, 8
lea eax, [ebp - 0x40]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c32a
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042ac60
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.0041b1a0
add esp, 0x14
test al, al
je 0x41c2b4
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x41c215
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x41c215
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.0040e860
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x41c230
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x41c230
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
push eax
call fcn.0040e860
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41c264
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c25a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c373
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x41c2aa
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c2a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c373
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov edx, dword [ebp - 0x2c]
mov bl, 1
mov ecx, dword [ebp - 0x40]
jmp 0x41c332
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41c2e8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c2de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c373
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x41c32a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41c320
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c373
push edx
push ecx
call fcn.0041dbcb
add esp, 8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x2c]
xor bl, bl
cmp edx, 8
jb 0x41c362
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c358
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c378
push edx
push ecx
call fcn.0041dbcb
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.00455d9f
call fcn.00455d9f
int3