Function at 0x45da40
Capabilities:
Delete file
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x49d7a0]
xor eax, ebp
mov dword [ebp - 0x4c], eax
call fcn.00404690
mov dword [ebp - 0x10], eax
lea ecx, [ebp + 8]
call fcn.00401560
push eax
call dword [0x47e45c]
test eax, eax
jne 0x45db17
lea eax, [ebp + 8]
push eax
push str._RedirectScript__File_Not_Exists:
lea ecx, [ebp - 0x48]
push ecx
call fcn.00401ee0
add esp, 0xc
mov ecx, eax
call fcn.00401560
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45daa0
mov dword [ebp - 0x74], 0
jmp 0x45daef
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x45dac2
mov dword [ebp - 0x78], 0
jmp 0x45dae9
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004465c0
mov dword [ebp - 0x7c], esp
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x7c]
push eax
call fcn.00404640
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043bf11
push 0x494638
lea ecx, [ebp - 0x40]
push ecx
call fcn.00442f36
lea ecx, [ebp - 0x48]
call fcn.00405670
lea ecx, [ebp + 8]
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45dd1f
push 0x4887c8
push 0x320
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45dc5f
push 0x4886ec
push 0x4a24ac
lea eax, [ebp - 0x50]
push eax
call fcn.00401e30
add esp, 0xc
mov ecx, eax
call fcn.00401560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x50]
call fcn.00405670
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45dc5a
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call fcn.00429500
push 0
push 0x1002
push 0x48875c
push 0x4a24ac
lea eax, [ebp - 0x58]
push eax
call fcn.00401e30
add esp, 0xc
mov ecx, eax
call fcn.00401560
push eax
lea ecx, [ebp - 0x30]
call fcn.0042997f
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x58]
call fcn.00405670
cmp dword [ebp - 0x54], 0
je 0x45dc48
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x30]
call fcn.0042924e
lea ecx, [ebp - 0x30]
call fcn.00429334
lea ecx, [ebp - 0x30]
call fcn.0042949e
push 0x4887d0
push 0x4a24ac
lea eax, [ebp - 0x5c]
push eax
call fcn.00401e30
add esp, 0xc
push eax
mov ecx, 0x4a2494
call fcn.00403410
lea ecx, [ebp - 0x5c]
call fcn.00405670
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x30]
call fcn.0042960d
jmp 0x45dd13
lea edx, [ebp + 8]
push edx
push str._RedirectScript__Load_Script_Faild_Form_Module:
lea eax, [ebp - 0x70]
push eax
call fcn.00401ee0
add esp, 0xc
mov ecx, eax
call fcn.00401560
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45dc8d
mov dword [ebp - 0x80], 0
jmp 0x45dceb
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x45dcb2
mov dword [ebp - 0x84], 0
jmp 0x45dce2
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004465c0
mov dword [ebp - 0x88], esp
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x88]
push edx
call fcn.00404640
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], ecx
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x68]
call fcn.0043bf11
push 0x494638
lea eax, [ebp - 0x68]
push eax
call fcn.00442f36
lea ecx, [ebp - 0x70]
call fcn.00405670
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x45dd2d
lea edx, [ebp + 8]
push edx
mov ecx, 0x4a2494
call fcn.00403410
push 0
push 0
push 0x7e8
mov eax, dword [0x4a22e0]
push eax
call dword [0x47e64c]
lea ecx, [ebp + 8]
call fcn.00405670
lea esp, [ebp - 0x88]
mov ecx, dword [ebp - 0x4c]
xor ecx, ebp
call fcn.0043bd9a
mov esp, ebp
pop ebp
ret