Function at 0x41ffb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52183e
mov eax, dword fs:[0]
push eax
sub esp, 0x270
push ebx
push esi
push edi
mov eax, dword [0x58057c]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x41fff3
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call dword [0x5311d0]
cmp byte [ebp + 0x10], 0
jne 0x4200e4
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x42001b
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [0x531368]
test eax, eax
jne 0x420360
call dword [0x531160]
cmp byte [ebp + 0xc], 0
mov edi, eax
jne 0x42004a
mov ecx, esi
call fcn.0041f700
test al, al
je 0x420360
cmp byte [esi + 0x11c], 0
je 0x420058
add esi, 0xc
jmp 0x42005b
mov esi, dword [esi + 8]
lea ecx, [esp + 0x34]
call fcn.00418990
lea eax, [esi + 4]
lea edx, [esp + 0x34]
call fcn.00418b90
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [esp + 0x288], 1
call fcn.00417c00
mov esi, eax
call fcn.004185b0
mov ecx, ebx
call fcn.00417c00
mov esi, eax
push 0x55f02c
lea eax, [esp + 0x38]
call fcn.004187a0
cmp byte [esp + 0x150], 0
mov dword [esp + 0x34], vtable.t_str.0
jne 0x4200ca
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x40]
cmp eax, ecx
je 0x4200ca
push eax
call fcn.004fe606
add esp, 4
xor al, al
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebp + 0xc], 0
jne 0x4200f9
mov ecx, esi
call fcn.0041f700
test al, al
je 0x420360
mov ebx, dword [esi + 4]
add ebx, 2
lea eax, [ebx + ebx]
push eax
mov dword [esp + 0x14], eax
call fcn.004fe6e3
mov edi, eax
add esp, 4
test edi, edi
jne 0x420182
cmp byte [esi + 0x11c], al
je 0x420122
add esi, 0xc
jmp 0x420125
mov esi, dword [esi + 8]
lea ecx, [esp + 0x34]
call fcn.00418990
lea eax, [esi + 4]
lea edx, [esp + 0x34]
call fcn.00418b90
mov ecx, dword [ebp + 8]
push 0x55f03c
mov dword [esp + 0x28c], 3
call fcn.00417c00
mov esi, eax
lea eax, [esp + 0x38]
call fcn.004187a0
cmp byte [esp + 0x150], 0
mov dword [esp + 0x34], vtable.t_str.0
jne 0x4200ca
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x40]
cmp eax, edx
jmp 0x4200bf
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x420191
mov eax, dword [esi + 8]
add eax, 4
push eax
push ebx
push edi
call fcn.004ff51f
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov word [ecx + edi - 2], ax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], ax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
add esp, 0xc
lea eax, [esp + 0x14]
mov edx, 0x454
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 3
mov word [esp + 0x28], dx
call dword [0x5313f4]
push edi
mov ebx, eax
call fcn.004fe606
add esp, 4
test ebx, ebx
je 0x420360
cmp ebx, 0x402
jne 0x4202c2
cmp byte [esi + 0x11c], 0
je 0x42021d
add esi, 0xc
jmp 0x420220
mov esi, dword [esi + 8]
lea ecx, [esp + 0x34]
call fcn.00418990
lea eax, [esi + 4]
lea edx, [esp + 0x34]
call fcn.00418b90
push 0x55f054
lea ecx, [esp + 0x15c]
mov dword [esp + 0x28c], 5
call fcn.00418ac0
mov esi, eax
push 0x402
push 0x559064
mov edx, esi
mov byte [esp + 0x290], 6
call fcn.00419360
push 0x55f070
push 0x55e008
mov edx, esi
call fcn.00419360
add esp, 0x10
cmp byte [esi + 0x11c], 0
je 0x42028e
add esi, 0xc
jmp 0x420291
mov esi, dword [esi + 8]
mov ecx, dword [ebp + 8]
add esi, 4
push esi
call fcn.00418580
mov esi, eax
lea eax, [esp + 0x38]
call fcn.004187a0
lea ecx, [esp + 0x158]
call fcn.00418b30
lea ecx, [esp + 0x34]
call fcn.00418b30
jmp 0x4200ca
cmp byte [esi + 0x11c], 0
je 0x4202d0
add esi, 0xc
jmp 0x4202d3
mov esi, dword [esi + 8]
lea ecx, [esp + 0x34]
call fcn.00418990
lea eax, [esi + 4]
lea edx, [esp + 0x34]
call fcn.00418b90
push 0x55f054
lea ecx, [esp + 0x15c]
mov dword [esp + 0x28c], 8
call fcn.00418ac0
mov esi, eax
push ebx
push 0x559064
mov edx, esi
mov byte [esp + 0x290], 9
call fcn.00419360
push 0x55f070
push 0x55e008
mov edx, esi
call fcn.00419360
add esp, 0x10
cmp byte [esi + 0x11c], 0
je 0x42034c
mov ecx, dword [ebp + 8]
add esi, 0xc
add esi, 4
push esi
call fcn.00417c00
jmp 0x42029d
mov esi, dword [esi + 8]
mov ecx, dword [ebp + 8]
add esi, 4
push esi
call fcn.00417c00
jmp 0x42029d
mov al, 1
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc