Function at 0x45bd90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0046f6e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.0046f6e0
add esp, 0x18
push 0x49cb94
push 0x82
push dword [0x4b550c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x45be0b
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
push edi
push 0x49cb94
push 0x82
push dword [0x4b550c]
call fcn.0043bd10
add esp, 0x10
test eax, eax
je 0x45bdfa
push ebx
push esi
push 0
push str.Neutral.001
push 0x4ce980
push edi
call fcn.00439f60
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046f6e0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
add esp, 0x1c
push str.Neutral.001
push 0x4ce980
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0043d560
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 4
test eax, eax
je 0x45beab
push 0
lea eax, [ebp - 0x20c]
push 0x4ce980
push eax
call fcn.00468100
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp dword [0x4c7c7c], 0
je 0x45becd
push 0x4b70fc
push 0x104
push 0x4cef98
call fcn.0046fd12
add esp, 0xc
jmp 0x45bede
push 0x49cbbc
push 0x4ce980
push 0x4cef98
call esi
push 0
push str.Neutral_CT.001
push 0x4ce980
push edi
call fcn.00439f60
add esp, 0x10
lea eax, [ebp - 0x20c]
push str.Neutral_CT.001
push 0x4ce980
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0043d560
add esp, 4
test eax, eax
je 0x45bf42
push 0x4cef98
call fcn.0043b250
push 0
lea eax, [ebp - 0x20c]
push 0x4cef98
push eax
call fcn.00468100
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call ebx
cmp word [0x4c80c2], 0
je 0x45bf7a
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x824]
push eax
push 0x4c80c2
call fcn.0043cdb0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x4cef98
push 0x4c80c2
call esi
mov edx, dword [0x4bd974]
mov eax, dword [0x4c900c]
imul ecx, edx, 0x306c
cmp word [ecx + eax], 0
je 0x45bf9c
push edi
push edx
call fcn.0045c3c0
add esp, 8
cmp dword [0x4b6890], 0
je 0x45c046
push 0
push str.ExtraBinary.001
push 0x4ce980
push edi
call fcn.00439f60
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0046f6e0
add esp, 0x1c
lea eax, [ebp - 0x61c]
push str.ExtraBinary.001
push 0x4ce980
push eax
call esi
lea eax, [ebp - 0x61c]
push eax
call fcn.0043d560
add esp, 4
test eax, eax
je 0x45c046
push 1
lea eax, [ebp - 0x61c]
push 0x4ce980
push eax
call fcn.00468100
add esp, 0xc
cmp dword [0x4b65f8], 0
je 0x45c03d
cmp dword [0x4b65fc], 0
je 0x45c03d
push 1
lea eax, [ebp - 0x61c]
push 0x4b63f0
push eax
call fcn.00468100
add esp, 0xc
lea eax, [ebp - 0x61c]
push eax
call ebx
cmp dword [0x4b7f68], 0
je 0x45c067
push 0x4b7f70
call fcn.0043d560
add esp, 4
test eax, eax
je 0x45c067
mov eax, 1
jmp 0x45c069
xor eax, eax
push 0x4b7f70
push eax
push str.ExtractBinaryRes____bRunScript:__d__ScriptFile:__s
mov dword [0x4b7f68], eax
call fcn.00469290
add esp, 0xc
cmp dword [0x4b7304], 0
je 0x45c0ba
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x824]
push eax
push 0x4b7308
call fcn.0043cdb0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x4ce980
push 0x4b7308
call esi
jmp 0x45c0c2
xor eax, eax
mov word [0x4b7308], ax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x824]
push eax
push 0x4b7514
call fcn.0043cdb0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x4ce980
push 0x4b7514
call esi
push 0x4ce980
push str.ExtractBinaryRes____TempPathFCW:__s
call fcn.00469290
lea eax, [ebp - 0x414]
push eax
push str.ExtractBinaryRes____FileName:__s
call fcn.00469290
push 0x4b7514
push str.ExtractBinaryRes____szPackImagesFile:__s
call fcn.00469290
add esp, 0x18
cmp dword [0x4b7510], 0
je 0x45c165
push 0x4b7514
call fcn.0043d560
add esp, 4
test eax, eax
je 0x45c165
push str.PackImages_
push 0x4ce980
lea eax, [ebp - 0x824]
push eax
call esi
push 1
lea eax, [ebp - 0x824]
push eax
push 0x4b7514
call fcn.00468100
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret