Function at 0x483450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48773a
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x13c
push ebx
push esi
push edi
mov eax, dword [0x4a7740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x120], ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00428820
mov byte [ebp - 4], 1
push 0x17
push 0
push 0x497238
lea ecx, [ebp - 0x30]
call fcn.00403500
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jge 0x4834d5
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
push 0x49fafc
lea ecx, [ebp - 0x54]
push ecx
call fcn.00458e4b
push 0
lea ecx, [ebp - 0x68]
call fcn.00405210
mov byte [ebp - 4], 2
lea edx, [ebp - 0x68]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00405120
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x128], ecx
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x496e84
call fcn.00405120
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x30]
call fcn.0041e8b0
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004030a0
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00405240
cmp dword [ebp - 0x44], 0
jge 0x48356a
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
push 0x49fafc
lea ecx, [ebp - 0x74]
push ecx
call fcn.00458e4b
push 0x4a7290
lea ecx, [ebp - 0x28]
call fcn.004050e0
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x30]
call fcn.0041e8b0
mov ecx, eax
call fcn.00403180
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jge 0x4835bd
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x78], ecx
push 0x49fafc
lea edx, [ebp - 0x78]
push edx
call fcn.00458e4b
lea ecx, [ebp - 0x30]
call fcn.0041e8b0
mov ecx, eax
call fcn.00403200
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xc8
je 0x4835f8
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], ecx
push 0x49fafc
lea edx, [ebp - 0x7c]
push edx
call fcn.00458e4b
lea ecx, [ebp - 0x28]
call fcn.004050c0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041e8b0
mov ecx, eax
call fcn.00403250
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x144], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x144]
push edx
lea ecx, [ebp - 0x28]
call fcn.00405070
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
call fcn.00405240
cmp dword [ebp - 0x44], 0
jge 0x48366a
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x94], eax
push 0x49fafc
lea ecx, [ebp - 0x94]
push ecx
call fcn.00458e4b
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jge 0x4836b0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x98], ecx
push 0x49fafc
lea edx, [ebp - 0x98]
push edx
call fcn.00458e4b
lea eax, [ebp - 0x40]
push eax
push 1
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
lea edx, [ebp - 0x38]
push edx
push 1
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
push 0
push 0
push 2
push 0
push 1
push 0x40000000
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x483721
mov dword [ebp - 0x48], 0
push 0
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x38]
add eax, 1
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00405240
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00403590
jmp 0x4837ef
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x14], 0
jne 0x48381b
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x120]
call fcn.00482790
jmp 0x48381e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc