Function at 0x1000b7e0
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c59b3
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], ecx
call fcn.101937dd
mov dword [ebp - 0xd8], eax
push 0x40
sub esp, 0x60
mov ecx, esp
mov dword [ebp - 0x124], esp
push 0x102175fc
call fcn.10004ea0
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xe4]
add eax, 0x1a8
push eax
mov ecx, 0x102703c4
call fcn.10007e80
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0xdc], ecx
call fcn.101937dd
mov dword [ebp - 0xd4], eax
cmp dword [ebp + 0xc], 0
je 0x1000b8c6
cmp dword [ebp + 0xc], 0
je 0x1000b886
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp - 0xec], edx
jmp 0x1000b890
mov dword [ebp - 0xec], 0
push 0x10217668
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0xd8]
push eax
push 0x1021766c
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.10027a60
add esp, 8
mov ecx, eax
call fcn.10018ff0
push eax
call fcn.10027a60
add esp, 8
cmp dword [ebp - 0xdc], 0
jne 0x1000b8d6
xor al, al
jmp 0x1000be1a
call fcn.101937dd
mov dword [ebp - 0xd8], eax
push 2
push 0
mov edx, dword [ebp - 0xdc]
push edx
call fcn.1019398b
add esp, 0xc
mov eax, dword [ebp - 0xdc]
push eax
call fcn.10193d9e
add esp, 4
mov dword [ebp - 0x114], eax
call fcn.101937dd
mov dword [ebp - 0xd4], eax
cmp dword [ebp + 0xc], 0
je 0x1000b96e
cmp dword [ebp + 0xc], 0
je 0x1000b92e
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0x104], ecx
jmp 0x1000b938
mov dword [ebp - 0x104], 0
push 0x10217680
mov edx, dword [ebp - 0xd4]
sub edx, dword [ebp - 0xd8]
push edx
push str._fseekftell_use_time
mov eax, dword [ebp - 0x104]
push eax
call fcn.10027a60
add esp, 8
mov ecx, eax
call fcn.10018ff0
push eax
call fcn.10027a60
add esp, 8
cmp dword [ebp - 0x114], 0xa00000
jl 0x1000bcee
call fcn.101937dd
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xdc]
push ecx
call fcn.10193394
add esp, 4
call fcn.101937dd
mov dword [ebp - 0xd4], eax
cmp dword [ebp + 0xc], 0
je 0x1000b9fd
cmp dword [ebp + 0xc], 0
je 0x1000b9bd
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp - 0xf0], edx
jmp 0x1000b9c7
mov dword [ebp - 0xf0], 0
push 0x1021769c
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0xd8]
push eax
push 0x102176a0
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.10027a60
add esp, 8
mov ecx, eax
call fcn.10018ff0
push eax
call fcn.10027a60
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.10004dd0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x70]
push edx
mov ecx, 0x10270344
call fcn.10017ba0
push 0
push 0x102176b4
push 0x102176b8
lea ecx, [ebp - 0x70]
call fcn.10005cd0
push 0
push 0x102176bc
push 0x102176c0
lea ecx, [ebp - 0x70]
call fcn.10005cd0
push 0
push 0x102176c4
push 0x102176c8
lea ecx, [ebp - 0x70]
call fcn.10005cd0
lea ecx, [ebp - 0x70]
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10039750
push eax
mov ecx, dword [ebp - 0xe4]
add ecx, 0xe8
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10039750
push eax
mov ecx, dword [ebp - 0xe4]
add ecx, 0x28
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10039750
push eax
push 0x102176cc
lea eax, [ebp - 0xd0]
push eax
push 0x10270344
call fcn.10017840
add esp, 0x18
mov byte [ebp - 4], 1
call fcn.101937dd
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0xd0]
call fcn.100052b0
push eax
mov ecx, dword [ebp - 0xe4]
add ecx, 0x1a8
call fcn.100052b0
push eax
call fcn.10191974
add esp, 8
call fcn.101937dd
mov dword [ebp - 0xd4], eax
cmp dword [ebp + 0xc], 0
je 0x1000bb48
cmp dword [ebp + 0xc], 0
je 0x1000bb08
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0xfc], ecx
jmp 0x1000bb12
mov dword [ebp - 0xfc], 0
push 0x102176e4
mov edx, dword [ebp - 0xd4]
sub edx, dword [ebp - 0xd8]
push edx
push str.__trename_use_time
mov eax, dword [ebp - 0xfc]
push eax
call fcn.10027a60
add esp, 8
mov ecx, eax
call fcn.10018ff0
push eax
call fcn.10027a60
add esp, 8
call fcn.101937dd
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xe4]
add ecx, 0x1a8
call sym.URDHelp_x86.dll_public:_void___thiscall_CURDHelp::constructor_void_
mov ecx, eax
call fcn.10039750
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.101937dd
mov dword [ebp - 0xd4], eax
cmp dword [ebp + 0xc], 0
je 0x1000bbd7
cmp dword [ebp + 0xc], 0
je 0x1000bb97
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0x100], ecx
jmp 0x1000bba1
mov dword [ebp - 0x100], 0
push 0x102176fc
mov edx, dword [ebp - 0xd4]
sub edx, dword [ebp - 0xd8]
push edx
push str._DeleteFile_use_time
mov eax, dword [ebp - 0x100]
push eax
call fcn.10027a60
add esp, 8
mov ecx, eax
call fcn.10018ff0
push eax
call fcn.10027a60
add esp, 8
call fcn.101937dd
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xdc], 0
push 0x40
sub esp, 0x60
mov ecx, esp
mov dword [ebp - 0x118], esp
push 0x10217718
call fcn.10004ea0
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0xe4]
add ecx, 0x1a8
push ecx
mov ecx, 0x102703c4
call fcn.10007e80
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0xdc], edx
call fcn.101937dd
mov dword [ebp - 0xd4], eax
cmp dword [ebp + 0xc], 0
je 0x1000bc97
cmp dword [ebp + 0xc], 0
je 0x1000bc57
mov eax, dword [ebp + 0xc]
add eax, 0x10
mov dword [ebp - 0xf8], eax
jmp 0x1000bc61
mov dword [ebp - 0xf8], 0
push 0x1021771c
mov ecx, dword [ebp - 0xd4]
sub ecx, dword [ebp - 0xd8]
push ecx
push str._fsopen_use_time
mov edx, dword [ebp - 0xf8]
push edx
call fcn.10027a60
add esp, 8
mov ecx, eax
call fcn.10018ff0
push eax
call fcn.10027a60
add esp, 8
cmp dword [ebp - 0xdc], 0
jne 0x1000bcd0
mov byte [ebp - 0xdd], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.10004e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10004e60
mov al, byte [ebp - 0xdd]
jmp 0x1000be1a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.10004e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.10004e60
cmp dword [ebp - 0xdc], 0
je 0x1000be18
call fcn.101937dd
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 1
mov edx, dword [ebp + 0x10]
push edx
call fcn.10193564
add esp, 0x10
mov dword [ebp - 0x10c], eax
call fcn.101937dd
mov dword [ebp - 0xd4], eax
cmp dword [ebp + 0xc], 0
je 0x1000bd8a
cmp dword [ebp + 0xc], 0
je 0x1000bd4a
mov eax, dword [ebp + 0xc]
add eax, 0x10
mov dword [ebp - 0xe8], eax
jmp 0x1000bd54
mov dword [ebp - 0xe8], 0
push 0x10217734
mov ecx, dword [ebp - 0xd4]
sub ecx, dword [ebp - 0xd8]
push ecx
push str._fwrite_use_time
mov edx, dword [ebp - 0xe8]
push edx
call fcn.10027a60
add esp, 8
mov ecx, eax
call fcn.10018ff0
push eax
call fcn.10027a60
add esp, 8
call fcn.101937dd
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xdc]
push eax
call fcn.10193394
add esp, 4
call fcn.101937dd
mov dword [ebp - 0xd4], eax
cmp dword [ebp + 0xc], 0
je 0x1000be09
cmp dword [ebp + 0xc], 0
je 0x1000bdc9
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0xf4], ecx
jmp 0x1000bdd3
mov dword [ebp - 0xf4], 0
push 0x1021774c
mov edx, dword [ebp - 0xd4]
sub edx, dword [ebp - 0xd8]
push edx
push str._fclose_use_time
mov eax, dword [ebp - 0xf4]
push eax
call fcn.10027a60
add esp, 8
mov ecx, eax
call fcn.10018ff0
push eax
call fcn.10027a60
add esp, 8
mov ecx, dword [ebp - 0x10c]
cmp ecx, dword [ebp + 0x14]
jne 0x1000be18
mov al, 1
jmp 0x1000be1a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 0x10