Function at 0x4b8900
Capabilities:
Check if file exists
Delete file
Enumerate files on windows
Get file attributes
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x8627c0
push eax
mov dword fs:[0], esp
sub esp, 0x2f4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x310]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x4b9301
cmp word [esi], bx
je 0x4b9301
mov edi, dword [esp + 0x318]
cmp edi, ebx
je 0x4b9301
cmp word [edi], bx
je 0x4b9301
cmp dword [esp + 0x31c], ebx
je 0x4b9301
push 0xffffffffffffffff
lea ecx, [esp + 0x64]
call fcn.00469e90
push edi
mov dword [esp + 0x310], ebx
call fcn.004b9330
mov eax, dword [0x9dce80]
add esp, 4
cmp eax, ebx
je 0x4b899d
push edi
push esi
push str.COEAFileMgr::CreateOEAFile_File__s__to_File__s_
push 0x92ff8c
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x18
lea ecx, [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x68], 1
call fcn.0061ebd0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x30c], 1
call fcn.0061ebd0
mov eax, dword [esp + 0x33c]
mov byte [esp + 0x30c], 2
cmp eax, ebx
mov dword [esp + 0x28], ebx
je 0x4b89de
mov eax, dword [eax]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call fcn.004b9480
mov eax, dword [esp + 0x38]
add esp, 8
xor esi, esi
cmp eax, ebx
jle 0x4b8a18
mov edx, dword [esp + 0x80]
push 0x9b5220
push edx
lea ecx, [esp + 0x84]
call fcn.0061f240
mov eax, dword [esp + 0x30]
inc esi
cmp esi, eax
jl 0x4b89f6
mov esi, 0x893fcc
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
lea ecx, [esp + 0x9c]
mov byte [esp + 0x30c], 3
call fcn.0061ebd0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30c], 4
mov dword [esp + 0x24], ebx
call fcn.0061ebd0
mov eax, dword [esp + 0x32c]
mov byte [esp + 0x30c], 5
cmp eax, ebx
je 0x4b8b6c
cmp word [eax], bx
je 0x4b8b6c
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.004b9480
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
add esp, 8
cmp eax, ecx
je 0x4b8b23
push 0x195
push 1
call fcn.004b8630
add esp, 8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30c], 4
call fcn.0061ebe0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x30c], 3
call fcn.0061ebe0
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x50]
mov byte [esp + 0x30c], 6
cmp eax, ebx
je 0x4b8ae9
push eax
call fcn.008325dd
add esp, 4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x30c], 1
call fcn.0061ebe0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30c], bl
call fcn.0061ebe0
lea ecx, [esp + 0x60]
mov dword [esp + 0x30c], 0xffffffff
call fcn.00469ec0
jmp 0x4b9310
xor esi, esi
cmp eax, ebx
jle 0x4b8b92
mov edx, dword [esp + 0x3c]
push 0x933d40
lea ecx, [edx + esi*4]
call fcn.0061bb80
mov eax, dword [esp + 0x3c]
push 0x5c
lea ecx, [eax + esi*4]
call fcn.0061b9b0
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + esi*4]
lea ecx, [ecx + esi*4]
cmp dword [edx - 8], ebx
je 0x4b8b61
push 0x92edb8
call fcn.00618b00
mov eax, dword [esp + 0x40]
inc esi
cmp esi, eax
jl 0x4b8b29
jmp 0x4b8b92
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, ebx
jle 0x4b8b92
mov eax, dword [esp + 0x40]
push 0x9b5220
push eax
lea ecx, [esp + 0x44]
call fcn.0061f240
mov eax, dword [esp + 0x30]
inc esi
cmp esi, eax
jl 0x4b8b76
push edi
lea ecx, [esp + 0x20]
call fcn.00617650
mov eax, dword [esp + 0x30]
mov byte [esp + 0x30c], 7
cmp eax, ebx
je 0x4b913e
lea ecx, [esp + 0x10]
push ebx
push ecx
lea ecx, [esp + 0x34]
xor ebp, ebp
call fcn.00471a10
lea edx, [esp + 0x18]
push ebx
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0x314], 8
call fcn.00471a10
lea eax, [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x314], 9
call fcn.00471a10
push 1
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x314], 0xa
call fcn.0061f980
push 1
push ebx
lea ecx, [esp + 0x84]
call fcn.0061f980
push 1
push ebx
lea ecx, [esp + 0x44]
call fcn.0061f980
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4b8e28
test al, 0x10
je 0x4b8e28
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0061b9b0
mov edx, dword [esp + 0x10]
push edx
call fcn.00516c30
add esp, 4
lea ecx, [esp + 0x18]
push eax
call fcn.00618b00
push 0x5c
lea ecx, [esp + 0x1c]
call fcn.00618b40
mov eax, dword [esp + 0x10]
push eax
call fcn.00516c30
add esp, 4
lea ecx, [esp + 0x14]
push eax
call fcn.00618b00
push 0x5c
lea ecx, [esp + 0x18]
call fcn.00618b40
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.00617440
push 0x93c728
lea ecx, [esp + 0x24]
mov byte [esp + 0x310], 0xb
call fcn.00618b00
mov edx, dword [esp + 0x20]
cmp dword [edx - 8], 0x104
jge 0x4b8e12
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0xb8]
mov dword [esp + 0xb4], ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xb4]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4b8dfc
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea ecx, [esp + 0xe0]
push 0x9428c0
push ecx
call edi
test eax, eax
je 0x4b8dce
lea edx, [esp + 0xe0]
push 0x9428c4
push edx
call edi
test eax, eax
je 0x4b8dce
lea eax, [esp + 0x10]
push 0x92edb8
lea ecx, [esp + 0xb0]
push eax
push ecx
call fcn.00618620
lea edx, [esp + 0xe0]
mov byte [esp + 0x30c], 0xc
push edx
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00618620
lea ecx, [esp + 0xac]
mov byte [esp + 0x30c], 0xe
call fcn.00617ec0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x64]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.0061f330
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x84]
call fcn.0061f330
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.0061f330
mov ecx, 0x94
xor eax, eax
lea edi, [esp + 0xb4]
mov byte [esp + 0x30c], 0xb
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x64]
call fcn.00617ec0
jmp 0x4b8dde
mov ecx, 0x94
xor eax, eax
lea edi, [esp + 0xb4]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xb4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b8cf2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x20]
mov byte [esp + 0x30c], 0xa
call fcn.00617ec0
jmp 0x4b909c
lea ecx, [esp + 0x20]
mov byte [esp + 0x30c], 0xa
call fcn.00617ec0
jmp 0x4b90a3
mov edx, dword [esp + 0x10]
push edx
call fcn.00516c30
add esp, 4
lea ecx, [esp + 0x18]
push eax
call fcn.006181a0
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], 0x78
jge 0x4b91f7
cmp dword [esp + 0x68], ebx
je 0x4b8f90
mov esi, dword [esp + 0x10]
call fcn.00517960
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x328]
push eax
mov eax, dword [esp + 0x328]
push ecx
mov ecx, dword [esp + 0x328]
push edx
mov edx, dword [esp + 0x328]
push eax
push ecx
push ebx
push edx
push edi
push esi
call fcn.00679250
add esp, 0x24
test eax, eax
je 0x4b923e
lea eax, [esp + 0xb0]
push edi
push eax
call fcn.004b95e0
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x310], 0xf
call fcn.00618070
lea ecx, [esp + 0xb0]
mov byte [esp + 0x30c], 0xa
call fcn.00617ec0
xor ecx, ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0x90], ecx
push ebx
push edx
mov dword [esp + 0x9c], ecx
push ebx
push edi
mov dword [esp + 0x78], ebx
mov ebp, 1
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa8], ecx
call fcn.006791b0
add esp, 0x10
cmp eax, 4
jne 0x4b8f6b
mov esi, dword [esp + 0x54]
push 0xffffffffffffffff
lea ecx, [esp + 0x50]
lea eax, [esi + 1]
push eax
call fcn.00412650
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x8c]
shl esi, 4
add esi, eax
mov dword [esi], ecx
mov edx, dword [esp + 0x90]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x14]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x98]
push edx
mov dword [esi + 0xc], ecx
mov eax, dword [esp + 0xa4]
push eax
lea ecx, [esp + 0xa4]
call fcn.0061f330
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
mov ecx, dword [edx - 8]
add eax, ecx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x4b90a8
mov dword [esp + 0x24], eax
jmp 0x4b90a8
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
call fcn.00517960
mov ecx, dword [esp + 0x328]
mov edx, dword [esp + 0x324]
push eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x328]
push ecx
mov ecx, dword [esp + 0x328]
push edx
push eax
push ebx
push ecx
push esi
push edi
call fcn.00679250
add esp, 0x24
test eax, eax
je 0x4b929c
mov ecx, dword [esp + 0x1c]
xor edx, edx
lea eax, [esp + 0x6c]
mov dword [esp + 0x70], edx
push ebx
push eax
mov dword [esp + 0x7c], edx
push ebx
push ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x88], edx
call fcn.006791b0
add esp, 0x10
cmp eax, 4
jne 0x4b9054
mov esi, dword [esp + 0x54]
push 0xffffffffffffffff
lea ecx, [esp + 0x50]
lea edx, [esi + 1]
push edx
call fcn.00412650
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x6c]
shl esi, 4
add esi, edi
mov dword [esi], eax
mov ecx, dword [esp + 0x70]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x14]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x78]
push ecx
lea ecx, [esp + 0xa0]
mov dword [esi + 0xc], eax
mov edx, dword [esp + 0xa4]
push edx
call fcn.0061f330
mov eax, dword [esp + 0x334]
mov ecx, dword [esp + 0x318]
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push ebx
push eax
push ebx
push ebx
push 1
push ecx
push edx
call fcn.004baa80
add esp, 0x24
test eax, eax
je 0x4b92c2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax - 8]
mov ecx, dword [ecx - 8]
add eax, ecx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x4b909c
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x318]
mov ebp, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x30c], 9
call fcn.00617ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30c], 8
call fcn.00617ec0
lea ecx, [esp + 0x10]
mov byte [esp + 0x30c], 7
call fcn.00617ec0
cmp dword [esp + 0x30], ebx
jne 0x4b8bb0
mov edx, dword [esp + 0x34c]
mov eax, dword [esp + 0x348]
mov ecx, dword [esp + 0x344]
push edx
mov edx, dword [esp + 0x344]
push eax
mov eax, dword [esp + 0x340]
push ecx
mov ecx, dword [esp + 0x340]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x344]
push ecx
push edx
lea ecx, [esp + 0xb8]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
push edi
call fcn.004b6710
add esp, 0x2c
test eax, eax
jne 0x4b913e
xor ebp, ebp
mov eax, dword [esp + 0x1c]
push edi
push eax
call fcn.005fc4b7
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 8
cmp eax, ebx
je 0x4b915d
mov ecx, dword [esp + 0x1c]
push ecx
call esi
cmp ebp, ebx
jne 0x4b9164
push edi
call esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30c], 5
call fcn.00617ec0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30c], 4
call fcn.0061ebe0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x30c], 3
call fcn.0061ebe0
mov dword [esp + 0x4c], 0x893fcc
mov eax, dword [esp + 0x50]
mov byte [esp + 0x30c], 0x10
cmp eax, ebx
je 0x4b91bb
push eax
call fcn.008325dd
add esp, 4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x30c], 1
call fcn.0061ebe0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x30c], bl
call fcn.0061ebe0
lea ecx, [esp + 0x60]
mov dword [esp + 0x30c], 0xffffffff
call fcn.00469ec0
mov eax, ebp
jmp 0x4b9312
push 0x1e8
push 3
call fcn.004b8630
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x30c], 9
call fcn.00617ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30c], 8
call fcn.00617ec0
lea ecx, [esp + 0x10]
mov byte [esp + 0x30c], 7
call fcn.00617ec0
jmp 0x4b913e
push ebx
push ebx
call fcn.00677770
add esp, 8
cmp eax, 3
jne 0x4b9255
push 0x1f9
push eax
jmp 0x4b925c
push 0x1fb
push 4
call fcn.004b8630
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x30c], 9
call fcn.00617ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30c], 8
call fcn.00617ec0
lea ecx, [esp + 0x10]
mov byte [esp + 0x30c], 7
call fcn.00617ec0
jmp 0x4b913e
push ebx
push ebx
call fcn.00677770
add esp, 8
cmp eax, 3
jne 0x4b92b3
push 0x21e
push eax
jmp 0x4b92ba
push 0x220
push 4
call fcn.004b8630
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x30c], 9
call fcn.00617ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30c], 8
call fcn.00617ec0
lea ecx, [esp + 0x10]
mov byte [esp + 0x30c], 7
call fcn.00617ec0
mov edi, dword [esp + 0x318]
jmp 0x4b913e
push 0x171
push 1
call fcn.004b8630
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x304]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x300
ret