Function at 0x451450
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x314
mov eax, dword [0x47e378]
xor eax, esp
mov dword [esp + 0x310], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x328]
push 0x104
lea eax, [esp + 0x220]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x1c], 0
call fcn.004541e0
mov ecx, dword [esi + 0xc]
push ecx
push 0x104
lea edx, [esp + 0x230]
push edx
push 0xba7
push 0
call sub.hccutils.DLL_LoadSTRING
push 0x104
lea eax, [esp + 0x38]
push 0
push eax
call fcn.004541e0
mov ecx, dword [esi + 0xc]
push ecx
push 0x104
lea edx, [esp + 0x48]
push edx
push 0xbc1
push 0
call sub.hccutils.DLL_LoadSTRING
add esp, 0x40
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0044f470
mov ecx, dword [esi + 0xc]
push ecx
push 0x104
lea edx, [esp + 0x120]
push edx
push 0xbc2
push 0
call sub.hccutils.DLL_LoadSTRING
push 0x104
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.004541e0
mov eax, dword [esi + 0x114]
add eax, 0x44
mov eax, dword [eax]
add esp, 0x20
test eax, eax
je 0x451576
mov eax, dword [eax]
test eax, eax
je 0x451576
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x451576
mov eax, dword [esi + 0x114]
mov ebx, dword [eax + 0x44]
add eax, 0x44
test ebx, ebx
je 0x45155c
cmp dword [ebx + 4], 0
jne 0x451557
mov ecx, dword [ebx]
push ecx
call fcn.00453640
mov dword [ebx + 4], eax
mov ebx, dword [ebx + 4]
jmp 0x45155e
xor ebx, ebx
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push ebx
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x1c]
push eax
call ebp
jmp 0x451597
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
push edi
call ebx
push 0
lea eax, [esp + 0x14]
push eax
push 2
push 0x46de54
push edi
call ebx
mov ecx, dword [esi + 0xc]
push ecx
push 0x104
lea edx, [esp + 0x120]
push edx
push 0xbc3
push 0
call sub.hccutils.DLL_LoadSTRING
push 0x104
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.004541e0
mov eax, dword [esi + 0x114]
add eax, 0x48
mov eax, dword [eax]
add esp, 0x20
test eax, eax
je 0x451657
mov eax, dword [eax]
test eax, eax
je 0x451657
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x451657
mov eax, dword [esi + 0x114]
mov ebp, dword [eax + 0x48]
add eax, 0x48
test ebp, ebp
je 0x451639
cmp dword [ebp + 4], 0
jne 0x451634
mov ecx, dword [ebp]
push ecx
call fcn.00453640
mov dword [ebp + 4], eax
mov ebp, dword [ebp + 4]
jmp 0x45163b
xor ebp, ebp
push ebp
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x45166e
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
push edi
call ebx
push 0
lea eax, [esp + 0x14]
push eax
push 2
push 0x46de54
push edi
call ebx
mov ecx, dword [esi + 0xc]
push ecx
push 0x104
lea edx, [esp + 0x120]
push edx
push 0xbc4
push 0
call sub.hccutils.DLL_LoadSTRING
push 0x104
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.004541e0
mov eax, dword [esi + 0x114]
add eax, 0x4c
mov eax, dword [eax]
add esp, 0x20
test eax, eax
je 0x45170e
mov eax, dword [eax]
test eax, eax
je 0x45170e
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x45170e
mov esi, dword [esi + 0x114]
add esi, 0x4c
mov esi, dword [esi]
test esi, esi
je 0x451709
cmp dword [esi + 4], 0
jne 0x451703
mov ecx, dword [esi]
push ecx
call fcn.00453640
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
push esi
jmp 0x451716
xor esi, esi
push esi
jmp 0x451716
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
push edi
call ebx
push 0
lea eax, [esp + 0x14]
push eax
push 2
push 0x46de54
push edi
call ebx
push 0
lea ecx, [esp + 0x14]
push ecx
push 2
push 0x46de54
push edi
call ebx
mov ecx, dword [esp + 0x320]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00454162
add esp, 0x314
ret 4