joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c4ce
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x57386b
call fcn.004f9d14
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], 0x587ed4
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.0047c536
lea ecx, [esi + 0x60]
mov dword [ebp - 4], edi
call fcn.0047c5b6
mov ecx, dword [ebp - 0xc]
mov dword [esi + 8], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi], 0x58ad94
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x47d73e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x573917
call fcn.004f9d14
sub esp, 0xe0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x17c], ebx
lea eax, [esi + 0x178]
jg 0x47d77c
jl 0x47d768
cmp dword [eax], ebx
ja 0x47d77c
cmp dword [esi + 0x6c4], ebx
lea eax, [esi + 0x6c0]
jl 0x47d7a2
jg 0x47d77c
cmp dword [eax], ebx
jbe 0x47d7a2
lea ecx, [esi + 0x2a0]
call fcn.004d43d0
test al, al
jne 0x47d85f
lea ecx, [esi + 0x7b8]
call fcn.004d43d0
test al, al
jne 0x47d85f
test byte [esi + 0xe4], 0x10
jne 0x47d85f
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47d7c4
or eax, 0xffffffff
jmp 0x47d862
lea ecx, [ebp - 0xec]
call fcn.004650f1
push dword [ebp + 0xc]
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0043c171
test eax, eax
je 0x47d7ec
or esi, 0xffffffff
jmp 0x47d84c
cmp dword [esi + 0x530], 1
push edi
jg 0x47d810
fild qword [ebp - 0xcc]
mov edi, dword [esi]
fmul qword [0x5873a0]
call fcn.004fa2ac
push edx
push eax
mov ecx, esi
call dword [edi + 0x48]
lea ecx, [ebp - 0xec]
call fcn.0043c893
mov edi, eax
cmp edi, ebx
je 0x47d842
push dword [edi + 0x58]
push dword [edi + 0x54]
call fcn.00430a1d
pop ecx
mov edx, dword [esi]
pop ecx
mov dword [esi + 0x6c8], eax
push dword [edi + 0x58]
mov ecx, esi
push dword [edi + 0x54]
push eax
call dword [edx + 0x44]
or dword [esi + 0xe4], 0x10
xor esi, esi
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xec]
call fcn.004652f6
mov eax, esi
jmp 0x47d862
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x47faff
Capabilities:
Check for time delay via gettickcount
Resume thread

Disassembly:
mov eax, 0x573b71
call fcn.004f9d14
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 0x47fb2d
cmp dword [eax + 0xd4], 0
jne 0x47fc28
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], 0x3e8
mov dword [ebp - 0x14], ebx
cmp dword [ecx + 8], ebx
jle 0x47fc1b
mov eax, dword [edi + 8]
test eax, eax
je 0x47fb55
cmp dword [eax], 0
jne 0x47fc28
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 0x47fbac
cmp dword [eax + 0x10], 0x64
jne 0x47fb75
cmp dword [eax + 0x1c], 0x64
je 0x47fc02
cmp dword [eax + 0x80], 0
jne 0x47fc02
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x47fc19
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x94]
inc ecx
cmp eax, ecx
jge 0x47fc02
test eax, eax
je 0x47fc19
cmp eax, dword [ebp - 0x10]
jge 0x47fc02
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x7c]
jmp 0x47fbe6
mov eax, dword [esi]
test byte [eax + 0x24], 0x20
jne 0x47fc02
cmp dword [eax + 0x120], 0
jne 0x47fc02
mov eax, dword [eax + 0x11c]
test eax, eax
je 0x47fc19
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x94]
inc ecx
cmp eax, ecx
jge 0x47fc02
test eax, eax
je 0x47fc19
cmp eax, dword [ebp - 0x10]
jge 0x47fc02
mov eax, dword [esi]
mov edi, dword [eax + 0x11c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x98]
cmp eax, dword [ebp + 0x14]
jb 0x47fc02
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 0x47fb45
jmp 0x47fc1b
mov ebx, esi
mov eax, dword [edi + 8]
xor esi, esi
cmp eax, esi
je 0x47fc2d
cmp dword [eax], esi
je 0x47fc2d
push 1
pop eax
jmp 0x47fc97
cmp ebx, esi
jne 0x47fc36
or eax, 0xffffffff
jmp 0x47fc97
push 0x78
call fcn.00551a68
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, esi
mov dword [ebp - 4], esi
je 0x47fc5a
push dword [ebp + 0xc]
push dword [ebx + 4]
push dword [ebx]
push edi
call fcn.004992e1
mov esi, eax
or dword [ebp - 4], 0xffffffff
xor edi, edi
push edi
push edi
push 4
mov ecx, esi
call fcn.00550f17
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 0x47fc8d
mov dword [eax + 0x80], esi
jmp 0x47fc95
mov eax, dword [ebx]
mov dword [eax + 0x120], 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 0x480acb
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x573d2b
call fcn.004f9d14
push ecx
mov eax, dword [0x64f020]
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 [0x64f020]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x38], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x3c], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x40], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x44], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x48], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x4c], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x50], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 8
call fcn.0044727e
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, 0x656dbc
mov eax, 0x3e8
push edi
mov ecx, ebx
mov dword [esi], 0x58ae74
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x1000
call fcn.005553aa
push edi
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], 0x50
mov dword [esi + 0x34], 0x64
call fcn.005553aa
push edi
lea ecx, [esi + 0x3c]
call fcn.005553aa
push edi
lea ecx, [esi + 0x40]
call fcn.005553aa
push edi
lea ecx, [esi + 0x44]
call fcn.005553aa
push edi
lea ecx, [esi + 0x48]
call fcn.005553aa
push edi
lea ecx, [esi + 0x4c]
call fcn.005553aa
push edi
lea ecx, [esi + 0x50]
call fcn.005553aa
push edi
lea ecx, [esi + 0x54]
call fcn.005553aa
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 0x483c61
Capabilities:
Resume thread

Disassembly:
mov eax, 0x574329
call fcn.004f9d14
push ecx
push esi
push edi
mov esi, ecx
push 0x74
call fcn.00551a68
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor edi, edi
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x483c94
push edi
push dword [ebp + 0xc]
push esi
call fcn.00497fbe
mov esi, eax
jmp 0x483c96
xor esi, esi
or dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x483cb6
push edi
push edi
push 4
mov ecx, esi
call fcn.00550f17
test eax, eax
jne 0x483cbb
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x483cd5
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 0x484346
Capabilities:
Resume thread

Disassembly:
mov eax, 0x574359
call fcn.004f9d14
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 + 0x5e4]
test edx, edx
jle 0x48438e
mov eax, dword [eax + 0x5e0]
mov ecx, dword [eax]
test ecx, ecx
je 0x484380
cmp dword [ecx + 0x10], 0x64
jne 0x48437f
cmp dword [ecx + 0x1c], 0x64
je 0x484380
inc ebx
inc edi
add eax, 4
cmp edi, edx
jl 0x48436d
xor edi, edi
cmp ebx, edi
jne 0x484393
push 1
pop eax
jmp 0x4843f7
push 0x74
call fcn.00551a68
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x4843b6
push 1
push dword [ebp + 0xc]
push esi
call fcn.00497fbe
mov esi, eax
jmp 0x4843b8
xor esi, esi
or dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x4843d8
push edi
push edi
push 4
mov ecx, esi
call fcn.00550f17
test eax, eax
jne 0x4843dd
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
or eax, 0xffffffff
jmp 0x4843f7
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 0x487c30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x574761
call fcn.004f9d14
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], 0x587ed4
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.00487db7
lea ecx, [esi + 0x98]
mov dword [ebp - 4], edi
call fcn.00487ef4
push 1
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 1
call fcn.00487cb2
mov ecx, dword [ebp - 0xc]
mov dword [esi + 8], edi
mov dword [esi + 0x118], edi
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], edi
mov dword [esi], 0x58b570
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x487db7
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, 0x574856
call fcn.004f9d14
push ecx
mov eax, dword [0x64f020]
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 [0x64f020]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x10], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x14], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x18], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x30], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x48], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x4c], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x50], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x54], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x58], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x5c], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x60], eax
mov eax, dword [0x64f020]
mov dword [esi + 0x64], eax
mov edi, 0x656dbc
mov byte [ebp - 4], 0xd
push edi
mov dword [esi], ebx
call fcn.005553aa
or dword [esi + 8], 0xffffffff
push edi
lea ecx, [esi + 0xc]
call fcn.005553aa
push edi
lea ecx, [esi + 0x10]
call fcn.005553aa
push edi
lea ecx, [esi + 0x14]
call fcn.005553aa
push edi
lea ecx, [esi + 0x18]
call fcn.005553aa
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.005553aa
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.005553aa
push edi
lea ecx, [esi + 0x4c]
call fcn.005553aa
push edi
lea ecx, [esi + 0x50]
call fcn.005553aa
push edi
lea ecx, [esi + 0x54]
call fcn.005553aa
push edi
lea ecx, [esi + 0x58]
call fcn.005553aa
push edi
lea ecx, [esi + 0x5c]
call fcn.005553aa
push edi
lea ecx, [esi + 0x60]
call fcn.005553aa
push edi
lea ecx, [esi + 0x64]
call fcn.005553aa
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x487f84
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x57489f
call fcn.004f9d14
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x58b570
mov ecx, dword [esi + 0x11c]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x487fb2
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 1
call fcn.00487d51
and byte [ebp - 4], 0
lea eax, [esi + 0x98]
lea ecx, [eax + 0xc]
mov dword [eax], 0x58b58c
call fcn.00555213
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x30]
call fcn.00487ff2
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x487ff2
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x57493b
call fcn.004f9d14
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x64]
mov dword [ebp - 4], 0xc
call fcn.00555213
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xb
call fcn.00555213
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xa
call fcn.00555213
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 9
call fcn.00555213
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 8
call fcn.00555213
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 7
call fcn.00555213
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 6
call fcn.00555213
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
call fcn.00555213
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 4
call fcn.00555213
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call fcn.00555213
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call fcn.00555213
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.00555213
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.00555213
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call fcn.00555213
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x488a57
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov eax, 0x574a1c
call fcn.004f9d14
sub esp, 0xc
push esi
mov esi, ecx
call fcn.00407b9d
test eax, eax
jne 0x488a78
or eax, 0xffffffff
jmp 0x488b36
mov eax, dword [0x64f020]
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.00488d68
test eax, eax
je 0x488a9e
or ebx, 0xffffffff
jmp 0x488b26
push dword [ebp - 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x488a96
push 0x656dbc
lea ecx, [ebp - 0x10]
call fcn.00555287
mov esi, 0x5bf844
lea ecx, [ebp - 0x10]
push esi
mov byte [ebp - 4], 1
call fcn.00555604
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.00555640
push esi
lea ecx, [ebp - 0x10]
call fcn.00555604
lea eax, [ebp - 0x18]
push eax
call fcn.00403fdb
pop ecx
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x488b00
push 5
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push ebx
jmp 0x488b0c
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.00555213
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00555213
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00555213
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x574a30
call fcn.004f9d14
push ecx
push ecx
push ebx
lea ebx, [ecx + 0x6a4]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebx]
call esi
test eax, eax
jne 0x488b6a
or eax, 0xffffffff
jmp 0x488be9
push edi
push 0x656dbc
lea ecx, [ebp - 0x10]
call fcn.00555287
and dword [ebp - 4], 0
mov edi, 0x5bf844
push edi
lea ecx, [ebp - 0x10]
call fcn.00555604
push ebx
lea ecx, [ebp - 0x10]
call fcn.00555640
push edi
lea ecx, [ebp - 0x10]
call fcn.00555604
lea eax, [ebp - 0x14]
push eax
call fcn.00403fdb
pop ecx
push dword [ebp - 0x14]
call esi
test eax, eax
pop edi
je 0x488bbe
xor eax, eax
push 5
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push eax
jmp 0x488bcc
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.00555213
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00555213
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x488bf7
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x574a5c
call fcn.004f9d14
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [esi + 0x6a4]
call edi
test eax, eax
je 0x488c2b
push dword [esi + 0x6a4]
call fcn.0041f0c2
pop ecx
jmp 0x488d0f
mov eax, dword [0x64f020]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x6a4]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 8], ebx
jne 0x488cb0
test byte [esi + 0x2d], 0x10
je 0x488c6c
push dword [esi + 0x34]
lea eax, [ebp - 0x14]
push eax
call fcn.0041e7d2
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0055535a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x488ccf
lea eax, [esi + 0xac]
lea ecx, [ebp - 0x10]
push eax
call fcn.0055535a
mov ecx, dword [esi + 0xb0]
lea eax, [esi + 0xb0]
cmp dword [ecx - 8], ebx
je 0x488cd4
push eax
lea eax, [ebp - 0x14]
push 0x5bf5b4
push eax
call fcn.0055552c
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00555640
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x488ccf
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041e7d2
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0055535a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00555213
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x488cfa
push ebx
push ebx
push str.Folder_does_not_exist_
call fcn.0055bd54
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00555213
or eax, 0xffffffff
jmp 0x488d11
push dword [ebp - 0x10]
call fcn.0041f157
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00555213
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x48965e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x574b1f
call fcn.004f9d14
sub esp, 0xfc
push esi
mov esi, ecx
test byte [esi + 0xe4], 6
jne 0x489785
push ebx
xor ebx, ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x108]
push ebx
push ebx
call fcn.00441048
mov eax, dword [0x657028]
push 0x65702c
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], 2
mov dword [ebp - 0xf0], eax
call fcn.0055535a
mov eax, dword [0x657030]
mov ecx, dword [esi + 0x1a8]
mov dword [ebp - 0xe8], eax
lea eax, [esi + 0x1a8]
cmp dword [ecx - 8], ebx
jne 0x4896d1
lea eax, [ebp - 0xbc]
push eax
call fcn.00444999
pop ecx
jmp 0x4896dd
push eax
lea ecx, [ebp - 0xbc]
call fcn.0055535a
lea eax, [esi + 0x1b8]
push 0x5bf3e4
push eax
lea ecx, [ebp - 0xe4]
call fcn.0043f8ff
lea eax, [ebp + 8]
push eax
call fcn.00426df2
pop ecx
mov eax, dword [eax]
push 1
push 1
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0041d7de
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00555213
push dword [ebp - 0x1c]
mov eax, dword [esi + 0x15c]
lea ecx, [ebp - 0x108]
push eax
call fcn.00441183
test eax, eax
je 0x48973b
or esi, 0xffffffff
jmp 0x489766
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x489736
lea eax, [esi + 0x2a0]
mov ecx, esi
push eax
push dword [ebp - 0x1c]
call fcn.00489aa6
test eax, eax
jne 0x489736
or dword [esi + 0xe4], 4
xor esi, esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0041d84b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.00441084
mov eax, esi
pop ebx
jmp 0x489788
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x489aa6
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x574b73
call fcn.004f9d14
sub esp, 0x1e0
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x489b76
xor ebx, ebx
lea ecx, [ebp - 0x1ec]
push ebx
call fcn.004d61f0
push ebx
lea ecx, [ebp - 0x1ec]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.004d7360
test al, al
jne 0x489b80
lea eax, [ebp - 0x10]
push eax
call fcn.00426df2
pop ecx
mov eax, dword [eax]
push 1
push 1
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0041d7de
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00555213
push ebx
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.00431925
add esp, 0xc
test eax, eax
je 0x489b34
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
jmp 0x489b4d
push ebx
lea ecx, [ebp - 0x1ec]
push dword [ebp - 0x20]
call fcn.004d7360
test al, al
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
jne 0x489b7b
call fcn.0041d84b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1ec], 0x586a88
call fcn.004d62c0
lea ecx, [ebp - 0x1ec]
call fcn.004d6210
or eax, 0xffffffff
jmp 0x489be8
call fcn.0041d84b
mov ecx, 0xb4
mov eax, 0x140
push ecx
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.0041f866
mov ecx, dword [ebp + 0xc]
add esp, 0xc
call fcn.004d62c0
mov ecx, dword [ebp + 0xc]
call fcn.004d6210
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x1ec]
push ebx
push eax
call fcn.004d6810
test al, al
jne 0x489bc2
or ebx, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1ec], 0x586a88
call fcn.004d62c0
lea ecx, [ebp - 0x1ec]
call fcn.004d6210
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 8