Function at 0x5e57ed
Capabilities:
Check if file exists
Delete file
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6f7c56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x44]
push edi
mov edi, 0x10
cmp eax, edi
mov dword [esp + 0x34], esi
jb 0x5e5806
mov eax, dword [esi + 0x30]
jmp 0x5e5809
lea eax, [esi + 0x30]
xor ebp, ebp
push ebp
lea ebx, [esi + 0x20]
push ebp
push eax
mov ecx, ebx
mov dword [esp + 0x48], ebx
call fcn.005b5e80
test eax, eax
jne 0x5e5bbb
mov ecx, ebx
call fcn.005b5e20
mov dword [esi + 0x50], eax
cmp dword [esi + 0x44], edi
jb 0x5e5838
mov edi, dword [esi + 0x30]
jmp 0x5e583b
lea edi, [esi + 0x30]
lea eax, [esp + 0x70]
push edi
push eax
call fcn.0065d920
lea ecx, [esp + 0x78]
push 0x2e
push ecx
call fcn.0065dfc0
push str..ghd
push eax
call fcn.0065d920
add esp, 0x18
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x5e587f
test al, 0x10
jne 0x5e587f
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push pe_nt_image_headers32
lea ecx, [esp + 0x178]
push ebp
push ecx
call fcn.0065c670
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
push 0x5e0610
lea edx, [esp + 0x184]
push edx
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x2a8], ebp
call fcn.005a96a0
add esp, 0x1c
test al, al
je 0x5e5baa
lea ecx, [esp + 0x174]
push ecx
push ebx
lea ecx, [esp + 0x4c]
call fcn.006ec170
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x24]
push eax
push ebx
mov byte [esp + 0x298], 1
call fcn.005e2550
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x5e5b8d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
push eax
mov eax, dword [esi + 0x18]
push eax
call fcn.005e27b0
mov ecx, dword [esi + 0x18]
push ecx
call fcn.0065db48
push edi
mov dword [esi + 0x1c], ebp
call fcn.0065dc60
mov ecx, eax
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, ebp
mov dword [esi + 0x18], ecx
mov edi, ecx
jne 0x5e5939
xor eax, eax
jmp 0x5e5950
mov edx, dword [esp + 0x28]
sub edx, eax
mov eax, 0x78787879
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ecx
mov dword [esi + 0x1c], eax
call fcn.005e21d0
mov edx, dword [esi + 0x1c]
imul edx, edx, 0x1c
add esp, 8
add edi, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
jmp 0x5e5980
mov edi, dword [esp + 0x24]
cmp edi, ebp
je 0x5e5b57
mov ecx, dword [esp + 0x28]
sub ecx, edi
mov eax, 0x78787879
imul ecx
mov ecx, dword [esp + 0x18]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x5e5b57
mov eax, dword [esp + 0x1c]
lea ebx, [eax + edi]
push ebx
mov dword [esp + 0x44], ebx
call fcn.0065dc72
mov ecx, dword [ebx + 0x10c]
add esp, 4
mov edi, eax
push ecx
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], edi
call fcn.006ec0d0
test al, al
je 0x5e5b3a
lea ecx, [esp + 0x44]
call fcn.005ca0e0
mov ebp, dword [eax + 8]
mov edi, dword [esi + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add edi, edx
mov edx, dword [esp + 0x38]
mov dword [edi + 8], eax
lea eax, [eax + ebp*4]
mov dword [edi], edx
mov dword [edi + 0x18], ebp
mov dword [edi + 4], eax
mov ecx, dword [ebx + 0x104]
mov dword [edi + 0xc], ecx
mov edx, dword [ebx + 0x108]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x10], eax
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], ebx
jbe 0x5e5ace
lea esi, [eax + 0x20]
jmp 0x5e5a40
push ebx
lea ecx, [esp + 0x48]
call fcn.005dd560
lea ecx, [esp + 0x44]
call fcn.006ec0c0
mov ebp, eax
mov eax, dword [ebp + 4]
test eax, eax
je 0x5e5ab1
mov ecx, dword [edi + 8]
lea eax, [esi - 0x20]
push eax
mov dword [ecx + ebx*4], eax
call fcn.005e1e40
mov edx, dword [ebp]
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 0x104]
lea ecx, [edx + ecx + 0x10]
mov edx, dword [esp + 0x38]
mov dword [esi - 8], ecx
mov ecx, dword [esp + 0x14]
add eax, 3
mov dword [esi + 4], edx
mov dx, word [esp + 0x3c]
and eax, 0xfffffffc
add ecx, 0x30
add esp, 4
mov word [esi], dx
mov word [esi + 2], bx
mov dword [esi - 4], eax
mov dword [esp + 0x10], ecx
add esi, 0x30
jmp 0x5e5abb
mov eax, dword [edi + 8]
mov dword [eax + ebx*4], 0
mov eax, dword [esp + 0x30]
inc ebx
cmp ebx, eax
jb 0x5e5a40
mov esi, dword [esp + 0x34]
mov ebp, eax
xor ebx, ebx
test ebp, ebp
jbe 0x5e5b0d
push ebx
lea ecx, [esp + 0x48]
call fcn.005dd560
lea ecx, [esp + 0x44]
call fcn.006ec0c0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x5e5b08
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x48]
call fcn.006ec150
mov edx, dword [edi + 8]
mov ecx, dword [edx + ebx*4]
push eax
call fcn.005e20a0
inc ebx
cmp ebx, ebp
jb 0x5e5ad4
xor ebp, ebp
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
inc edx
add ecx, 0x110
add eax, 0x1c
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
jmp 0x5e5980
mov eax, dword [esi + 0x18]
add eax, dword [esp + 0x14]
mov dword [eax], edi
mov dword [eax + 8], ebp
mov dword [eax + 4], ebp
mov dword [eax + 0x18], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ebp
jmp 0x5e5b0f
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push 0x411920
push 0x1c
push eax
push ecx
call fcn.0065ed00
mov edx, dword [esi]
add esp, 0x10
push 2
mov ecx, esi
call dword [edx + 0xc]
test al, al
mov ecx, esi
je 0x5e5bc8
call fcn.005e49e0
test al, al
jne 0x5e5bbf
mov ecx, ebx
call fcn.005b5e40
mov eax, dword [esp + 0x50]
cmp eax, ebp
je 0x5e5b9e
push eax
call fcn.0065d0d4
add esp, 4
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x5e5bbb
push eax
call fcn.0065d0d4
add esp, 4
xor al, al
jmp 0x5e5c0a
mov ecx, esi
call fcn.005e5150
jmp 0x5e5bda
mov eax, dword [esi]
push 8
call dword [eax + 0xc]
test al, al
jne 0x5e5bda
mov ecx, ebx
call fcn.005b5e40
mov eax, dword [esp + 0x50]
cmp eax, ebp
je 0x5e5beb
push eax
call fcn.0065d0d4
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
je 0x5e5c08
push eax
call fcn.0065d0d4
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x280
ret