Function at 0x40e990
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x458e4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x814
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
push eax
call dword [0x45b560]
mov ebx, dword [0x45b53c]
push 0x7f02
push 0
call ebx
mov ebp, dword [0x45b524]
push eax
call ebp
mov edi, eax
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x834]
mov dword [esp + 0x82c], 0
push ecx
lea ecx, [esp + 0x20]
call fcn.00412f20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x82c], 1
call fcn.00413980
test eax, eax
jne 0x40ea39
lea ecx, [esp + 0x1c]
mov byte [esp + 0x82c], al
call fcn.004130a0
test edi, edi
je 0x40ea28
mov eax, edi
push eax
call ebp
jmp 0x40eda7
push 0x7f00
push 0
call ebx
push eax
call ebp
jmp 0x40eda7
lea ecx, [esp + 0x1c]
call fcn.00414310
lea ecx, [esp + 0x94]
call fcn.00412bd0
lea ebp, [esi + 0x364]
lea ecx, [esi + 0x3a0]
push 0
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc0], 0x40edd0
mov dword [esp + 0xc4], ebp
call fcn.004020f0
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.00413bb0
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00413c60
push eax
push edi
mov ecx, esi
call fcn.0040fb50
mov eax, dword [esi + 0x660]
lea ecx, [esp + 0x1c]
lea edi, [eax + eax*2]
shl edi, 4
add edi, 0x468ac8
mov edx, dword [edi + 4]
mov eax, dword [edi]
push edx
push eax
push 0xffffffffffffffff
call fcn.00413bb0
mov ebx, dword [0x45b320]
push eax
call ebx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
push edx
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
call fcn.00413c60
push eax
call ebx
mov edi, eax
mov eax, dword [esi + 0x1c]
push eax
call dword [0x45b4d4]
test eax, eax
jne 0x40eb02
mov ecx, dword [esp + 0x14]
push edi
push ecx
mov ecx, esi
call fcn.0040f430
mov edx, dword [esi + 0x1c]
mov ebx, dword [0x45b560]
push edx
call ebx
push 5
mov ecx, ebp
call fcn.0044b2a9
lea eax, [esp + 0x94]
lea ecx, [esp + 0x1c]
push eax
call fcn.00413380
push 0
mov ecx, ebp
mov edi, eax
call fcn.0044b2a9
xor ebp, ebp
cmp edi, ebp
je 0x40ed63
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.00413d10
test eax, eax
je 0x40ed63
mov edi, dword [esi + 0x614]
cmp edi, ebp
je 0x40eb6a
mov ecx, edi
call fcn.00427510
push edi
call fcn.00447e70
add esp, 4
mov ecx, dword [esi + 0x618]
cmp ecx, ebp
je 0x40eb7a
mov edx, dword [ecx]
push 1
call dword [edx]
lea ebx, [esi + 0x694]
cmp ebx, ebp
jne 0x40eb8e
push ebp
call dword [0x45b1e4]
mov byte [ebx], 0
lea ecx, [esp + 0x1c]
call fcn.00413900
mov dword [esi + 0x610], eax
mov eax, dword [esp + 0x838]
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
mov dword [esi + 0x654], ebp
mov dword [esi + 0x690], eax
call fcn.00414010
push 0x14
mov dword [esi + 0x618], eax
call fcn.00447e47
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebp
mov byte [esp + 0x82c], 2
je 0x40ebf2
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.00413d10
push eax
mov ecx, edi
call fcn.00427110
jmp 0x40ebf4
xor eax, eax
mov dword [esi + 0x614], eax
mov ecx, dword [eax + 4]
mov byte [esp + 0x82c], 1
mov dword [ecx + 0x10], ebp
mov edx, dword [esi + 0x614]
push edx
lea ecx, [esi + 0x3a0]
call fcn.004020f0
mov eax, dword [esi + 0x614]
mov ecx, dword [eax + 4]
push ecx
call fcn.00429b20
mov ecx, dword [esp + 0x838]
mov dword [esi + 0x60c], eax
lea eax, [esi + 0x508]
add esp, 4
cmp ecx, eax
je 0x40ec4b
push ecx
push eax
call dword [0x45b30c]
mov ecx, esi
call fcn.0040f720
lea ecx, [esp + 0x1c]
call fcn.004143a0
cmp eax, 1
jle 0x40ecd7
mov edx, dword [esi + 0x1c]
mov edi, esi
push edx
call dword [0x45b4d8]
cmp eax, ebp
jne 0x40ec82
mov eax, dword [esi + 0x1c]
push eax
call dword [0x45b4dc]
push eax
call fcn.004483aa
mov edi, eax
push 0x32
push str.EditMultiPage
push str.WarningMessage
push 0x321
push 0x323
push edi
lea ecx, [esp + 0xdc]
call fcn.00404f50
lea ecx, [esp + 0xc4]
mov byte [esp + 0x82c], 3
call fcn.00405100
lea ecx, [esp + 0xc4]
mov dword [esi + 0x690], 1
mov byte [esp + 0x82c], 1
call fcn.0044ba21
lea ecx, [esp + 0x1c]
call fcn.004143b0
test eax, eax
je 0x40ed1f
push 0x469110
push ebx
call fcn.00434c40
add esp, 8
lea ecx, [esp + 0x1c]
push ebx
call fcn.00414430
test eax, eax
jne 0x40ed1f
cmp esi, ebp
je 0x40ed07
mov eax, dword [esi + 0x1c]
mov ecx, dword [0x46dcec]
push 0x326
push eax
push ecx
call fcn.00434420
add esp, 0xc
mov byte [ebx], 0
mov edx, dword [esi + 0x1c]
push ebp
push ebp
push 0x400
push edx
call dword [0x45b4e0]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x82c], 0
call fcn.004130a0
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x40ed55
push 0x7f00
push ebp
call dword [0x45b53c]
push eax
call dword [0x45b524]
mov eax, 1
jmp 0x40eda9
mov eax, dword [esi + 0x614]
lea ecx, [esi + 0x3a0]
push eax
call fcn.004020f0
mov ecx, dword [esi + 0x1c]
push ecx
call ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x82c], 0
call fcn.004130a0
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x40eda0
push 0x7f00
push ebp
call dword [0x45b53c]
push eax
call dword [0x45b524]
xor eax, eax
mov ecx, dword [esp + 0x824]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x820
ret 8