Function at 0x411cd0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4b62ab
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4f4930]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4930]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb8]
mov ebx, ecx
xor esi, esi
cmp byte [ebp + 0x4e], 0
mov dword [esp + 0x18], ebx
mov byte [esp + 0x17], 0
je 0x411d34
mov eax, dword [ebx + 0x1d0]
push ebp
push eax
call fcn.00445530
jmp 0x411d52
mov ecx, dword [ebp]
push ecx
push ebx
call fcn.00413a30
mov edx, dword [ebx + 0x1cc]
mov esi, eax
push esi
push edx
call fcn.00445530
mov byte [esp + 0x17], 1
mov dword [esp + 0x1c], eax
test eax, eax
je 0x412155
push 0x6c
push eax
call fcn.004397c0
mov edi, eax
mov eax, dword [esp + 0x1c]
push 0x6b
push eax
call fcn.004397c0
xor ecx, ecx
mov dword [esp + 0x1c], eax
cmp edi, ecx
je 0x412155
cmp eax, ecx
je 0x412155
mov eax, dword [esp + 0xbc]
cmp eax, ecx
jne 0x411df3
cmp byte [esp + 0x17], cl
je 0x411dab
mov dword [esi + 0x284], 3
mov dword [esi + 0x288], ecx
mov eax, 0x4ccb94
mov dword [ebp + 0x38], 1
call fcn.00402f70
mov esi, dword [edi + 0x11c]
test esi, esi
je 0x411de7
cmp byte [esi + 0x30], 0
je 0x411ddb
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
push 0
mov ecx, esi
mov byte [esi + 0x30], 0
call eax
cmp dword [esi + 0x84], esi
je 0x411de7
mov byte [esi + 0x64], 1
mov eax, edi
call fcn.004030a0
jmp 0x412155
cmp eax, 1
jne 0x411e2c
cmp byte [esp + 0x17], 0
je 0x411e0f
mov dword [esi + 0x284], 3
mov dword [esi + 0x288], ecx
mov eax, 0x4ccbd0
mov dword [ebp + 0x38], 2
call fcn.00402f70
xor eax, eax
call fcn.00403000
jmp 0x412155
cmp eax, 2
jne 0x411eaf
fld qword [esp + 0xc0]
fmul qword [0x4e40b8]
call fcn.004ae060
cmp byte [esp + 0x17], 0
mov ebx, eax
je 0x411e5c
mov dword [esi + 0x284], 3
mov dword [esi + 0x288], ebx
xor ecx, ecx
push 0x7e
push ecx
lea edx, [esp + 0x2e]
push edx
mov dword [ebp + 0x38], 2
mov word [esp + 0x30], cx
call fcn.00476c30
add esp, 0xc
push ebx
push 0x4ccbe0
lea eax, [esp + 0x2c]
push 0x40
push eax
call fcn.0046fdbd
add esp, 0x10
lea eax, [esp + 0x24]
call fcn.00402f70
xor eax, eax
call fcn.00403000
mov eax, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00442900
jmp 0x412155
cmp eax, 3
jne 0x4120dd
mov eax, 0x4ccbf8
call fcn.00402f70
xor eax, eax
call fcn.00403000
mov ecx, dword [esp + 0x1c]
mov eax, 0x64
call fcn.00442940
call fcn.00434600
mov eax, dword [ebp + 0x2c]
xor ebx, ebx
cmp eax, ebx
je 0x4120a6
call fcn.0043d4b0
test al, al
je 0x4120a6
mov byte [esp + 0x20], bl
mov dword [esp + 0x1c], ebx
push ebx
lea ecx, [esp + 0x20]
push 1
push ecx
push ecx
mov dword [esp + 0xc0], ebx
call fcn.00401760
mov ecx, dword [ebp + 0x2c]
add esp, 4
push eax
call fcn.004569b0
test al, al
jne 0x411f5d
cmp byte [esp + 0x17], al
je 0x411f3d
mov dword [esi + 0x284], 6
mov dword [esi + 0x288], 0x64
mov eax, 0x4ccb84
mov dword [ebp + 0x38], 5
call fcn.00402f70
mov eax, 0x4ccb54
call fcn.00403000
jmp 0x412088
mov bl, byte [esp + 0x17]
test bl, bl
je 0x411f79
mov dword [esi + 0x284], 3
mov dword [esi + 0x288], 0x64
mov eax, 0x4ccc10
mov dword [ebp + 0x38], 4
call fcn.00402f70
xor eax, eax
call fcn.00403000
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0x1dc]
mov eax, 1
cmp dword [edx + 0x158], eax
jne 0x412013
test bl, bl
jne 0x411fb2
add dword [esi + 0x21c], eax
mov edi, dword [esi + 0x21c]
test edi, edi
jle 0x412013
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0x2e]
push ecx
mov word [esp + 0x30], ax
call fcn.00476c30
add esp, 0xc
push edi
push 0x4ccc1c
lea edx, [esp + 0x2c]
push 0x20
push edx
call fcn.0046fdbd
mov esi, dword [esi + 0x1ec]
add esp, 0x10
lea ebx, [esp + 0x24]
call fcn.00442e80
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1dc]
mov esi, dword [eax + 0x1ec]
push 0
push ecx
call fcn.00443410
mov esi, dword [esp + 0x18]
cmp byte [ebp + 0x4d], 0
je 0x412076
mov eax, dword [ebp + 4]
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], 0
call fcn.00401760
push eax
mov eax, dword [ebp]
call fcn.00459940
mov edi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x412076
test edi, edi
je 0x412076
push eax
push ecx
call fcn.00401760
add esp, 4
push eax
mov bl, 1
mov eax, edi
lea ecx, [esp + 0x24]
call fcn.00458d30
test al, al
je 0x412076
mov ecx, dword [ebp + 4]
push 1
push ecx
call fcn.00401760
mov ecx, dword [ebp]
push eax
call fcn.0045ff70
mov ebx, esi
call fcn.00434600
push ebp
mov esi, 0x4fe158
call fcn.00408740
cmp dword [ebp + 0x34], 0
jg 0x412098
mov edx, dword [ebp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x1c]
call fcn.0041a420
jmp 0x412155
cmp byte [esp + 0x17], bl
je 0x4120c0
mov dword [esi + 0x284], 6
mov dword [esi + 0x288], 0x64
mov eax, 0x4ccb84
mov dword [ebp + 0x38], 5
call fcn.00402f70
mov eax, 0x4ccb54
call fcn.00403000
jmp 0x412155
cmp eax, 4
jne 0x412121
cmp byte [esp + 0x17], 0
je 0x412104
mov dword [esi + 0x284], 6
mov dword [esi + 0x288], 0x64
mov eax, 0x4ccb44
jmp 0x412109
mov eax, 0x4ccb84
call fcn.00402f70
mov eax, 0x4ccb54
call fcn.00403000
mov dword [ebp + 0x38], 5
jmp 0x412155
cmp eax, 5
jne 0x412155
cmp byte [esp + 0x17], 0
je 0x41213d
mov dword [esi + 0x284], ecx
mov dword [esi + 0x288], 0x64
mov eax, dword [ebx + 0x1d0]
push eax
call fcn.00445010
mov ecx, dword [ebx + 0x1cc]
push ecx
call fcn.00445010
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0046fdae
add esp, 0xa0
ret 0x10