Function at 0x448930
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x928
push ebx
push ebp
mov ebp, dword [esp + 0x934]
mov ebx, dword [sym.imp.MSVCRT.dll_fwrite]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x448b4a
test eax, eax
mov dword [esp + 0x10], 0
jle 0x448990
mov eax, dword [esi + 0xc]
mov edi, 0x4f0f04
push eax
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4f0f04
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
add esp, 0x10
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x448960
mov dx, word [0x4ffec0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
mov word [esp + 0x424], dx
mov word [esp + 0x21c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov dl, byte [0x4ffed8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xc2
xor eax, eax
lea edi, [esp + 0x62d]
mov byte [esp + 0x62c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
lea ecx, [esp + 0x428]
lea edi, [esi + 0x14]
push 0x104
push ecx
push ebp
mov ecx, edi
call fcn.004aef30
lea edx, [esp + 0x21c]
push 0x104
push edx
push ebp
mov ecx, edi
call fcn.004aefe0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x128]
push 0x103
lea ecx, [esp + 0x230]
push eax
push ecx
mov ecx, esi
call fcn.004490e0
push 0
push 0
lea edx, [esp + 0x634]
push 0x30c
push edx
lea eax, [esp + 0x434]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x10], eax
push ecx
mov edi, str._DT__H3_FOLDED
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
push ecx
push str._DT__H3_FOLDED
call ebx
mov al, byte [esp + 0x128]
add esp, 0x10
test al, al
je 0x448b05
mov dl, byte [0x4ffed8]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x118]
lea ecx, [esp + 0x14]
push eax
push str._ADD_DATE__s_
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0xc]
repne scasb al, byte es:[edi]
not ecx
push edx
dec ecx
push 1
lea eax, [esp + 0x2c]
push ecx
push eax
call ebx
add esp, 0x20
mov ecx, dword [esi + 0xc]
push ecx
push 1
push 1
push 0x4f0ee0
call ebx
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x20]
push edx
dec eax
push 1
lea ecx, [esp + 0x644]
push eax
push ecx
call ebx
mov edi, str.__H3__r_n
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0xc]
repne scasb al, byte es:[edi]
not ecx
push edx
dec ecx
push 1
push ecx
push str.__H3__r_n
call ebx
add esp, 0x30
mov eax, dword [esi + 0x10]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x448b89
mov eax, dword [esi + 0xc]
mov edi, 0x4f0f04
push eax
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4f0f04
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
add esp, 0x10
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x448b59
mov ecx, dword [esi + 0xc]
mov edi, str._DL__p__r_n
push ecx
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._DL__p__r_n
call ebx
add esp, 0x10
lea edi, [esi + 0x14]
mov ecx, edi
push esi
push 0x448890
push 0x20
push ebp
call fcn.004aecc0
push esi
push 0x448890
push 0x40
push ebp
mov ecx, edi
call fcn.004aecc0
mov eax, dword [esi + 0x10]
xor ebp, ebp
test eax, eax
jle 0x448bfd
mov edi, 0x4f0f04
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0xc]
repne scasb al, byte es:[edi]
not ecx
push edx
dec ecx
push 1
push ecx
push 0x4f0f04
call ebx
mov eax, dword [esi + 0x10]
add esp, 0x10
inc ebp
cmp ebp, eax
jl 0x448bd5
mov eax, dword [esi + 0xc]
mov edi, str.__DL__p__r_n
push eax
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.__DL__p__r_n
call ebx
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x928
ret 4