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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e8b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.0040e5b0
add esp, 4
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x404ab2
test ecx, ecx
je 0x404c63
cmp edx, 8
lea eax, [ebp - 0x3c]
cmovae eax, ecx
cmp word [eax], 0
je 0x404c63
cmp edx, 8
lea eax, [ebp - 0x3c]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404c5d
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 0x404bed
lea eax, [ebp - 0x6c]
push eax
call fcn.00403ef0
mov ecx, eax
call fcn.00403fd0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
call fcn.00403ef0
mov ecx, eax
call fcn.00403f50
cmp dword [ebp - 0x58], 0x10
lea ecx, [ebp - 0x6c]
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 3
cmovae ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x40], 0x10
push ecx
cmovae eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x84]
push 0x483600
push eax
call fcn.00423af0
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x24]
cmp eax, esi
je 0x404bce
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x404b9c
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404b92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404ca6
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x24], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x14], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x84]
call fcn.004015a0
lea ecx, [ebp - 0x54]
call fcn.00402700
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00402700
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.004047b0
mov edx, dword [ebp - 0x10]
add esp, 0x18
mov esi, eax
cmp edx, 8
jb 0x404c41
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404c37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404cab
push edx
push ecx
call fcn.0041a2f9
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 0x404c65
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
xor esi, esi
cmp edx, 8
jb 0x404c95
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404c8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404cab
push edx
push ecx
call fcn.0041a2f9
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.00448ebf
call fcn.00448ebf
int3
Function at 0x407340
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47eb95
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.00405e40
add esp, 8
cmp dword [ebp - 0x28], 8
jb 0x4073ab
cmp dword [ebp - 0x3c], 0
je 0x407410
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 0x407410
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 0x407416
cmp edx, 8
jb 0x4073e3
test ecx, ecx
je 0x407416
cmp edx, 8
lea eax, [ebp - 0x24]
cmovae eax, ecx
cmp word [eax], 0
je 0x407416
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 0x407416
mov bl, 1
jmp 0x407418
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
xor bl, bl
cmp edx, 8
jb 0x407448
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40743e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4074a3
push edx
push ecx
call fcn.0041a2f9
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 0x407492
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407488
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4074a3
push edx
push ecx
call fcn.0041a2f9
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.00448ebf
int3

Function at 0x4074b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00406300
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4074d2
test ecx, ecx
je 0x4074ff
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x4074ff
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 0x4074ff
mov bl, 1
jmp 0x407501
xor bl, bl
cmp edx, 8
jb 0x407531
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407527
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407538
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00448ebf
int3

Function at 0x407990
Capabilities:
Check if file exists

Disassembly:
call fcn.00407540
call fcn.00407730
jmp fcn.00407340
Function at 0x408040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call fcn.004079a0
lea eax, [ebp - 0x18]
push eax
call fcn.00406300
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x408066
test ecx, ecx
je 0x40809d
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40809d
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408097
lea ecx, [ebp - 0x18]
call fcn.004015a0
mov al, 1
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4080cd
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4080c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4080d3
push edx
push ecx
call fcn.0041a2f9
add esp, 8
xor al, al
mov esp, ebp
pop ebp
ret
call fcn.00448ebf
int3
Function at 0x408690
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ed05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov byte [ebp - 0xd], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [ebp + 8]
mov ecx, eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4086c5
mov eax, dword [esi]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ecx, eax
test ecx, ecx
je 0x408883
mov eax, dword [esi + 0x10]
lea ecx, [ecx + eax*2]
movzx eax, word [ecx]
mov dword [ebp + 8], ecx
cmp eax, 0x20
je 0x40870d
cmp eax, 9
je 0x40870d
cmp eax, 0xd
je 0x40870d
cmp eax, 0xa
je 0x40870d
test ax, ax
je 0x40870d
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 - 0x1c], 0
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
test edi, edi
je 0x408881
movzx eax, word [ecx]
cmp eax, 0x20
je 0x408749
cmp eax, 9
je 0x408749
cmp eax, 0xd
je 0x408749
cmp eax, 0xa
jne 0x40874e
add ecx, 2
jmp 0x408732
lea eax, [ebp + 8]
mov dword [ebp + 8], ecx
push eax
push ecx
lea eax, [ebp - 0x34]
push eax
call fcn.00408560
add esp, 0xc
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 1
je 0x4087dd
lea eax, [ebp - 0x34]
push eax
cmp esi, ebx
je 0x408783
mov ecx, esi
call fcn.00401440
add esi, 0x18
mov dword [ebp - 0x18], esi
jmp 0x408792
push esi
lea ecx, [ebp - 0x1c]
call fcn.00401170
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4087d0
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4087c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408895
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x408732
jmp 0x40881b
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x40881b
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408811
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408895
push edx
push ecx
call fcn.0041a2f9
add esp, 8
lea eax, [ebp - 0x1c]
cmp edi, eax
mov edi, dword [ebp - 0x1c]
je 0x408832
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
push edi
call fcn.00408330
test edi, edi
je 0x408881
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
call fcn.00401100
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 0x408877
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40889a
push ecx
push edi
call fcn.0041a2f9
add esp, 8
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00448ebf
call fcn.00448ebf
int3
Function at 0x40b530
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4a4ad0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4a4a0c]
cmp eax, dword [ecx + 4]
jg 0x40b67c
mov edx, dword [0x4a3034]
mov ecx, dword [0x4a3020]
push esi
cmp edx, 8
jb 0x40b56c
test ecx, ecx
je 0x40b597
cmp edx, 8
mov eax, 0x4a3020
cmovae eax, ecx
cmp word [eax], 0
je 0x40b597
cmp edx, 8
mov eax, 0x4a3020
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b667
lea eax, [ebp - 0x18]
push eax
call fcn.0040dec0
mov esi, eax
add esp, 4
cmp esi, 0x4a3020
je 0x40b631
mov edx, dword [0x4a3034]
cmp edx, 8
jb 0x40b5f1
mov ecx, dword [0x4a3020]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b5e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6b2
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov dword [0x4a3030], 0
xor eax, eax
mov dword [0x4a3034], 7
mov word [0x4a3020], ax
movups xmm0, xmmword [esi]
movups xmmword [0x4a3020], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4a3030], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40b667
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b65d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6b2
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov ecx, dword [ebp + 8]
push 0x4a3020
call fcn.00401440
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4a4a0c
call fcn.0041a6c3
add esp, 4
cmp dword [0x4a4a0c], 0xffffffff
jne 0x40b556
push 0x482550
call fcn.0041a59f
push 0x4a4a0c
call fcn.0041a679
add esp, 8
jmp 0x40b556
call fcn.00448ebf
int3
Function at 0x40b6c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4a4ad0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4a4a14]
cmp eax, dword [ecx + 4]
jg 0x40b80c
mov edx, dword [0x4a3064]
mov ecx, dword [0x4a3050]
push esi
cmp edx, 8
jb 0x40b6fc
test ecx, ecx
je 0x40b727
cmp edx, 8
mov eax, 0x4a3050
cmovae eax, ecx
cmp word [eax], 0
je 0x40b727
cmp edx, 8
mov eax, 0x4a3050
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b7f7
lea eax, [ebp - 0x18]
push eax
call fcn.0040e360
mov esi, eax
add esp, 4
cmp esi, 0x4a3050
je 0x40b7c1
mov edx, dword [0x4a3064]
cmp edx, 8
jb 0x40b781
mov ecx, dword [0x4a3050]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b777
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b842
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov dword [0x4a3060], 0
xor eax, eax
mov dword [0x4a3064], 7
mov word [0x4a3050], ax
movups xmm0, xmmword [esi]
movups xmmword [0x4a3050], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4a3060], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40b7f7
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b7ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b842
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov ecx, dword [ebp + 8]
push 0x4a3050
call fcn.00401440
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4a4a14
call fcn.0041a6c3
add esp, 4
cmp dword [0x4a4a14], 0xffffffff
jne 0x40b6e6
push 0x4825b0
call fcn.0041a59f
push 0x4a4a14
call fcn.0041a679
add esp, 8
jmp 0x40b6e6
call fcn.00448ebf
int3
Function at 0x40b850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x18
mov ecx, dword [0x4a4ad0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4a4a10]
cmp eax, dword [ecx + 4]
jg 0x40b99c
mov edx, dword [0x4a304c]
mov ecx, dword [0x4a3038]
push esi
cmp edx, 8
jb 0x40b88c
test ecx, ecx
je 0x40b8b7
cmp edx, 8
mov eax, 0x4a3038
cmovae eax, ecx
cmp word [eax], 0
je 0x40b8b7
cmp edx, 8
mov eax, 0x4a3038
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b987
lea eax, [ebp - 0x18]
push eax
call fcn.0040e110
mov esi, eax
add esp, 4
cmp esi, 0x4a3038
je 0x40b951
mov edx, dword [0x4a304c]
cmp edx, 8
jb 0x40b911
mov ecx, dword [0x4a3038]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b907
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b9d2
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov dword [0x4a3048], 0
xor eax, eax
mov dword [0x4a304c], 7
mov word [0x4a3038], ax
movups xmm0, xmmword [esi]
movups xmmword [0x4a3038], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x4a3048], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 4]
cmp edx, 8
jb 0x40b987
mov ecx, dword [ebp - 0x18]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b97d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b9d2
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov ecx, dword [ebp + 8]
push 0x4a3038
call fcn.00401440
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
push 0x4a4a10
call fcn.0041a6c3
add esp, 4
cmp dword [0x4a4a10], 0xffffffff
jne 0x40b876
push 0x482610
call fcn.0041a59f
push 0x4a4a10
call fcn.0041a679
add esp, 8
jmp 0x40b876
call fcn.00448ebf
int3

Function at 0x40c700
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040b530
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40c722
test ecx, ecx
je 0x40c74f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40c74f
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 0x40c74f
mov bl, 1
jmp 0x40c751
xor bl, bl
cmp edx, 8
jb 0x40c781
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c777
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c788
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00448ebf
int3
Function at 0x40c790
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040b850
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40c7b2
test ecx, ecx
je 0x40c7df
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40c7df
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 0x40c7df
mov bl, 1
jmp 0x40c7e1
xor bl, bl
cmp edx, 8
jb 0x40c811
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c807
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c818
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00448ebf
int3

Function at 0x40f9e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40f9f3
mov ecx, dword [esi]
test ecx, ecx
je 0x40fa1a
mov ecx, esi
cmp eax, 8
jb 0x40fa00
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x40fa1a
mov ecx, esi
cmp eax, 8
jb 0x40fa0f
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40fa56
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40fa24
mov eax, dword [esi]
push 0
push 0
push 1
push eax
call fcn.004321c0
add esp, 0x10
cmp eax, 0xffffffff
je 0x40fa56
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x14], 8
jb 0x40fa47
mov esi, dword [esi]
push esi
call fcn.00432860
test eax, eax
je 0x40fa56
mov al, 1
pop esi
pop ebp
ret
xor al, al
pop esi
pop ebp
ret

Function at 0x40fa60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040e620
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40fa82
test ecx, ecx
je 0x40faaf
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40faaf
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 0x40faaf
mov bl, 1
jmp 0x40fab1
xor bl, bl
cmp edx, 8
jb 0x40fae1
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fad7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fae8
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00448ebf
int3
Function at 0x40faf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040e860
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40fb12
test ecx, ecx
je 0x40fb3f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40fb3f
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 0x40fb3f
mov bl, 1
jmp 0x40fb41
xor bl, bl
cmp edx, 8
jb 0x40fb71
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb78
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00448ebf
int3

Function at 0x40fb80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040eb10
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40fba2
test ecx, ecx
je 0x40fbcf
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40fbcf
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 0x40fbcf
mov bl, 1
jmp 0x40fbd1
xor bl, bl
cmp edx, 8
jb 0x40fc01
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fbf7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fc08
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00448ebf
int3

Function at 0x40fc10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0040ed50
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40fc32
test ecx, ecx
je 0x40fc5f
cmp edx, 8
lea eax, [ebp - 0x18]
cmovae eax, ecx
cmp word [eax], 0
je 0x40fc5f
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 0x40fc5f
mov bl, 1
jmp 0x40fc61
xor bl, bl
cmp edx, 8
jb 0x40fc91
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fc87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fc98
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00448ebf
int3
Function at 0x40fca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40fcb5
mov ecx, dword [esi]
test ecx, ecx
je 0x40fd27
mov ecx, esi
cmp eax, 8
jb 0x40fcc2
mov ecx, dword [esi]
cmp word [ecx], 0
je 0x40fd27
mov ecx, esi
cmp eax, 8
jb 0x40fcd1
mov ecx, dword [esi]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40fd27
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0
je 0x40fd27
mov ebx, 5
nop word [eax + eax]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40fcfa
mov eax, dword [edi]
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x40fd04
mov ecx, dword [esi]
push 1
push eax
push ecx
call fcn.004319c0
test eax, eax
jne 0x40fd20
test ebx, ebx
jle 0x40fd27
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
dec ebx
jmp 0x40fcf0
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret

Function at 0x410090
Capabilities:
Create thread

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

Function at 0x4100c0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4100f8
push 0x927c0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4100e8
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 0x412870
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x412880
xor al, al
pop ebp
ret
cmp dword [eax + 0x14], 8
jb 0x412888
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 0x4128b3
test esi, esi
je 0x4128ae
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