joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47794e
Capabilities:
Resume thread

Disassembly:
mov eax, 0x572c3d
call fcn.004f9534
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
and dword [ebx + 0x94], 0
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x8c]
push 0x74
call fcn.005512d6
pop ecx
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x477991
push ebx
mov ecx, eax
push dword [ebp - 0x10]
call fcn.004780ed
mov esi, eax
or eax, 0xffffffff
test esi, esi
mov dword [ebp - 4], eax
je 0x4779d0
push 0
push 0
push 4
mov ecx, esi
call fcn.00550789
test eax, eax
je 0x4779df
push 0
mov dword [edi], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], 2
jl 0x477970
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
test esi, esi
je 0x4779ec
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x4779d0

Function at 0x478c6a
Capabilities:
Resume thread

Disassembly:
mov eax, 0x572d9d
call fcn.004f9534
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
and dword [ebx + 0x84], 0
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x7c]
push 0x74
call fcn.005512d6
pop ecx
mov dword [ebp - 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [ebp - 4], esi
je 0x478caa
push ebx
mov ecx, eax
push dword [ebp - 0x10]
call fcn.00479477
mov esi, eax
or eax, 0xffffffff
test esi, esi
mov dword [ebp - 4], eax
je 0x478ce9
push 0
push 0
push 4
mov ecx, esi
call fcn.00550789
test eax, eax
je 0x478cf8
push 0
mov dword [edi], esi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [ebp - 0x10]
add edi, 4
cmp dword [ebp - 0x10], 2
jl 0x478c89
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
test esi, esi
je 0x478d05
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x478ce9

Function at 0x47bf45
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
jle 0x47bf61
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
call fcn.0047bf27
inc edi
cmp edi, dword [esi + 8]
jl 0x47bf50
mov eax, dword [esi + 0x24]
cmp dword [eax - 8], 0
je 0x47bf94
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47bf94
push dword [esi + 0x24]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x47bf94
push 0
push 0x414
push dword [esi + 0x24]
call fcn.0041d897
add esp, 0xc
pop edi
pop esi
ret
Function at 0x47d47e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x57322f
call fcn.004f9534
sub esp, 0xe0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x17c], ebx
lea eax, [esi + 0x178]
jg 0x47d4bc
jl 0x47d4a8
cmp dword [eax], ebx
ja 0x47d4bc
cmp dword [esi + 0x6bc], ebx
lea eax, [esi + 0x6b8]
jl 0x47d4e2
jg 0x47d4bc
cmp dword [eax], ebx
jbe 0x47d4e2
lea ecx, [esi + 0x2a0]
call fcn.004d3be0
test al, al
jne 0x47d59f
lea ecx, [esi + 0x7b0]
call fcn.004d3be0
test al, al
jne 0x47d59f
test byte [esi + 0xe0], 0x10
jne 0x47d59f
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47d504
or eax, 0xffffffff
jmp 0x47d5a2
lea ecx, [ebp - 0xec]
call fcn.00464e9b
push dword [ebp + 0xc]
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0043bf33
test eax, eax
je 0x47d52c
or esi, 0xffffffff
jmp 0x47d58c
cmp dword [esi + 0x528], 1
push edi
jg 0x47d550
fild qword [ebp - 0xcc]
mov edi, dword [esi]
fmul qword [0x586160]
call fcn.004f99e4
push edx
push eax
mov ecx, esi
call dword [edi + 0x40]
lea ecx, [ebp - 0xec]
call fcn.0043c655
mov edi, eax
cmp edi, ebx
je 0x47d582
push dword [edi + 0x58]
push dword [edi + 0x54]
call fcn.004309db
pop ecx
mov edx, dword [esi]
pop ecx
mov dword [esi + 0x6c0], eax
push dword [edi + 0x58]
mov ecx, esi
push dword [edi + 0x54]
push eax
call dword [edx + 0x3c]
or dword [esi + 0xe0], 0x10
xor esi, esi
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.004650a0
mov eax, esi
jmp 0x47d5a2
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x47f842
Capabilities:
Check for time delay via gettickcount
Resume thread

Disassembly:
mov eax, 0x573489
call fcn.004f9534
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [edi + 0xc]
cmp dword [eax + 0xcc], 0xa
jne 0x47f870
cmp dword [eax + 0x980], 0
jne 0x47f968
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], 0x3e8
mov dword [ebp - 0x14], ebx
cmp dword [ecx + 8], ebx
jle 0x47f95b
mov eax, dword [edi + 8]
test eax, eax
je 0x47f898
cmp dword [eax], 0
jne 0x47f968
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x14]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 4]
test eax, eax
je 0x47f8ec
cmp dword [eax + 0x10], 0x64
jne 0x47f8b8
cmp dword [eax + 0x18], 0x64
je 0x47f942
cmp dword [eax + 0x78], 0
jne 0x47f942
mov eax, dword [eax + 0x74]
test eax, eax
je 0x47f959
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x94]
inc ecx
cmp eax, ecx
jge 0x47f942
test eax, eax
je 0x47f959
cmp eax, dword [ebp - 0x10]
jge 0x47f942
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x74]
jmp 0x47f926
mov eax, dword [esi]
test byte [eax + 0x20], 0x20
jne 0x47f942
cmp dword [eax + 0x118], 0
jne 0x47f942
mov eax, dword [eax + 0x114]
test eax, eax
je 0x47f959
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x94]
inc ecx
cmp eax, ecx
jge 0x47f942
test eax, eax
je 0x47f959
cmp eax, dword [ebp - 0x10]
jge 0x47f942
mov eax, dword [esi]
mov edi, dword [eax + 0x114]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x98]
cmp eax, dword [ebp + 0x14]
jb 0x47f942
mov eax, dword [edi + 0x94]
mov ebx, esi
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
cmp eax, dword [ecx + 8]
jl 0x47f888
jmp 0x47f95b
mov ebx, esi
mov eax, dword [edi + 8]
xor esi, esi
cmp eax, esi
je 0x47f96d
cmp dword [eax], esi
je 0x47f96d
push 1
pop eax
jmp 0x47f9d4
cmp ebx, esi
jne 0x47f976
or eax, 0xffffffff
jmp 0x47f9d4
push 0x78
call fcn.005512d6
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, esi
mov dword [ebp - 4], esi
je 0x47f99a
push dword [ebp + 0xc]
push dword [ebx + 4]
push dword [ebx]
push edi
call fcn.00498ef2
mov esi, eax
or dword [ebp - 4], 0xffffffff
xor edi, edi
push edi
push edi
push 4
mov ecx, esi
call fcn.00550789
push edi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x47f9ca
mov dword [eax + 0x78], esi
jmp 0x47f9d2
mov eax, dword [ebx]
mov dword [eax + 0x118], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4807fc
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x573643
call fcn.004f9534
push ecx
mov eax, dword [0x64d6a8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0x2c]
mov dword [ebx], eax
mov eax, dword [0x64d6a8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x38], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x3c], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x40], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x44], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x48], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x4c], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x50], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 8
call fcn.00445e62
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x10], eax
mov edi, 0x65548c
mov eax, 0x3e8
push edi
mov ecx, ebx
mov dword [esi], 0x589bf4
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x1000
call fcn.00554c1e
push edi
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], 0x50
mov dword [esi + 0x34], 0x64
call fcn.00554c1e
push edi
lea ecx, [esi + 0x3c]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x40]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x44]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x48]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x4c]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x50]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x54]
call fcn.00554c1e
and dword [esi + 0x58], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x483941
Capabilities:
Resume thread

Disassembly:
mov eax, 0x573c31
call fcn.004f9534
push ecx
push esi
push edi
mov esi, ecx
push 0x74
call fcn.005512d6
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor edi, edi
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x483974
push edi
push dword [ebp + 0xc]
push esi
call fcn.00497bef
mov esi, eax
jmp 0x483976
xor esi, esi
or dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x483996
push edi
push edi
push 4
mov ecx, esi
call fcn.00550789
test eax, eax
jne 0x48399b
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x4839b5
push edi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x484026
Capabilities:
Resume thread

Disassembly:
mov eax, 0x573c61
call fcn.004f9534
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
xor edi, edi
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x5dc]
test edx, edx
jle 0x48406e
mov eax, dword [eax + 0x5d8]
mov ecx, dword [eax]
test ecx, ecx
je 0x484060
cmp dword [ecx + 0x10], 0x64
jne 0x48405f
cmp dword [ecx + 0x18], 0x64
je 0x484060
inc ebx
inc edi
add eax, 4
cmp edi, edx
jl 0x48404d
xor edi, edi
cmp ebx, edi
jne 0x484073
push 1
pop eax
jmp 0x4840d7
push 0x74
call fcn.005512d6
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x484096
push 1
push dword [ebp + 0xc]
push esi
call fcn.00497bef
mov esi, eax
jmp 0x484098
xor esi, esi
or dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x4840b8
push edi
push edi
push 4
mov ecx, esi
call fcn.00550789
test eax, eax
jne 0x4840bd
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x4840d7
push edi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x487a75
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x57415e
call fcn.004f9534
push ecx
mov eax, dword [0x64d6a8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
mov eax, dword [0x64d6a8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x10], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x14], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x18], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x30], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x48], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x4c], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x50], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x54], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x58], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x5c], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x60], eax
mov eax, dword [0x64d6a8]
mov dword [esi + 0x64], eax
mov edi, 0x65548c
mov byte [ebp - 4], 0xd
push edi
mov dword [esi], ebx
call fcn.00554c1e
or dword [esi + 8], 0xffffffff
push edi
lea ecx, [esi + 0xc]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x10]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x14]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x18]
call fcn.00554c1e
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
push edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
call fcn.00554c1e
mov dword [esi + 0x40], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x44], ebx
push edi
lea ecx, [esi + 0x48]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x4c]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x50]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x54]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x58]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x5c]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x60]
call fcn.00554c1e
push edi
lea ecx, [esi + 0x64]
call fcn.00554c1e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x487cb0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x574243
call fcn.004f9534
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x64]
mov dword [ebp - 4], 0xc
call fcn.00554a87
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xb
call fcn.00554a87
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xa
call fcn.00554a87
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 9
call fcn.00554a87
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 8
call fcn.00554a87
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 7
call fcn.00554a87
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 6
call fcn.00554a87
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
call fcn.00554a87
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 4
call fcn.00554a87
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call fcn.00554a87
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call fcn.00554a87
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.00554a87
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.00554a87
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call fcn.00554a87
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x488715
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x574324
call fcn.004f9534
sub esp, 0xc
push esi
mov esi, ecx
call fcn.0041366d
test eax, eax
jne 0x488736
or eax, 0xffffffff
jmp 0x4887f4
mov eax, dword [0x64d6a8]
push ebx
push edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00488a26
test eax, eax
je 0x48875c
or ebx, 0xffffffff
jmp 0x4887e4
push dword [ebp - 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x488754
push 0x65548c
lea ecx, [ebp - 0x10]
call fcn.00554afb
mov esi, 0x5beab0
lea ecx, [ebp - 0x10]
push esi
mov byte [ebp - 4], 1
call fcn.00554e78
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.00554eb4
push esi
lea ecx, [ebp - 0x10]
call fcn.00554e78
lea eax, [ebp - 0x18]
push eax
call fcn.00403fa8
pop ecx
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x4887be
push 5
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push ebx
jmp 0x4887ca
push 1
push ebx
push ebx
push dword [ebp - 0x10]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18]
call fcn.00554a87
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00554a87
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00554a87
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x488801
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x574338
call fcn.004f9534
push ecx
push ecx
push ebx
lea ebx, [ecx + 0x69c]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebx]
call esi
test eax, eax
jne 0x488828
or eax, 0xffffffff
jmp 0x4888a7
push edi
push 0x65548c
lea ecx, [ebp - 0x10]
call fcn.00554afb
and dword [ebp - 4], 0
mov edi, 0x5beab0
push edi
lea ecx, [ebp - 0x10]
call fcn.00554e78
push ebx
lea ecx, [ebp - 0x10]
call fcn.00554eb4
push edi
lea ecx, [ebp - 0x10]
call fcn.00554e78
lea eax, [ebp - 0x14]
push eax
call fcn.00403fa8
pop ecx
push dword [ebp - 0x14]
call esi
test eax, eax
pop edi
je 0x48887c
xor eax, eax
push 5
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push eax
jmp 0x48888a
xor eax, eax
push 1
push eax
push eax
push dword [ebp - 0x10]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
call fcn.00554a87
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00554a87
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4888b5
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x574364
call fcn.004f9534
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [esi + 0x69c]
call edi
test eax, eax
je 0x4888e9
push dword [esi + 0x69c]
call fcn.0041edb7
pop ecx
jmp 0x4889cd
mov eax, dword [0x64d6a8]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x69c]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 8], ebx
jne 0x48896e
test byte [esi + 0x2d], 0x10
je 0x48892a
push dword [esi + 0x34]
lea eax, [ebp - 0x14]
push eax
call fcn.0041e4c7
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00554bce
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x48898d
lea eax, [esi + 0xac]
lea ecx, [ebp - 0x10]
push eax
call fcn.00554bce
mov ecx, dword [esi + 0xb0]
lea eax, [esi + 0xb0]
cmp dword [ecx - 8], ebx
je 0x488992
push eax
lea eax, [ebp - 0x14]
push 0x5be5b8
push eax
call fcn.00554da0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00554eb4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x48898d
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041e4c7
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00554bce
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00554a87
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4889b8
push ebx
push ebx
push str.Folder_does_not_exist_
call fcn.0055b5c6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00554a87
or eax, 0xffffffff
jmp 0x4889cf
push dword [ebp - 0x10]
call fcn.0041ee4c
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00554a87
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x48933a
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x574427
call fcn.004f9534
sub esp, 0xfc
push esi
mov esi, ecx
test byte [esi + 0xe0], 6
jne 0x489461
push ebx
xor ebx, ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x108]
push ebx
push ebx
call fcn.0043fc4f
mov eax, dword [0x655700]
push 0x655704
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], 2
mov dword [ebp - 0xf0], eax
call fcn.00554bce
mov eax, dword [0x655708]
mov ecx, dword [esi + 0x1a8]
mov dword [ebp - 0xe8], eax
lea eax, [esi + 0x1a8]
cmp dword [ecx - 8], ebx
jne 0x4893ad
lea eax, [ebp - 0xbc]
push eax
call fcn.0044357d
pop ecx
jmp 0x4893b9
push eax
lea ecx, [ebp - 0xbc]
call fcn.00554bce
lea eax, [esi + 0x1b8]
push 0x5be3e8
push eax
lea ecx, [ebp - 0xe4]
call fcn.0043e506
lea eax, [ebp + 8]
push eax
call fcn.00426d6c
pop ecx
mov eax, dword [eax]
push 1
push 1
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0041d3d4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00554a87
push dword [ebp - 0x1c]
mov eax, dword [esi + 0x15c]
lea ecx, [ebp - 0x108]
push eax
call fcn.0043fd8a
test eax, eax
je 0x489417
or esi, 0xffffffff
jmp 0x489442
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x489412
lea eax, [esi + 0x2a0]
mov ecx, esi
push eax
push dword [ebp - 0x1c]
call fcn.00489782
test eax, eax
jne 0x489412
or dword [esi + 0xe0], 4
xor esi, esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0041d441
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.0043fc8b
mov eax, esi
pop ebx
jmp 0x489464
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x489782
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x57447b
call fcn.004f9534
sub esp, 0x1e0
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x489852
xor ebx, ebx
lea ecx, [ebp - 0x1ec]
push ebx
call fcn.004d5a00
push ebx
lea ecx, [ebp - 0x1ec]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.004d6b70
test al, al
jne 0x48985c
lea eax, [ebp - 0x10]
push eax
call fcn.00426d6c
pop ecx
mov eax, dword [eax]
push 1
push 1
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0041d3d4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00554a87
push ebx
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.004318e3
add esp, 0xc
test eax, eax
je 0x489810
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
jmp 0x489829
push ebx
lea ecx, [ebp - 0x1ec]
push dword [ebp - 0x20]
call fcn.004d6b70
test al, al
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
jne 0x489857
call fcn.0041d441
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1ec], 0x585848
call fcn.004d5ad0
lea ecx, [ebp - 0x1ec]
call fcn.004d5a20
or eax, 0xffffffff
jmp 0x4898c4
call fcn.0041d441
mov ecx, 0xb4
mov eax, 0x140
push ecx
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.0041f55b
mov ecx, dword [ebp + 0xc]
add esp, 0xc
call fcn.004d5ad0
mov ecx, dword [ebp + 0xc]
call fcn.004d5a20
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x1ec]
push ebx
push eax
call fcn.004d6020
test al, al
jne 0x48989e
or ebx, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1ec], 0x585848
call fcn.004d5ad0
lea ecx, [ebp - 0x1ec]
call fcn.004d5a20
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 8