Function at 0x45b67c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f6e69
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1bec
call fcn.004e84e0
mov eax, dword [0x52ec00]
xor eax, esp
mov dword [esp + 0x1be8], eax
push ebx
push esi
push edi
mov eax, dword [0x52ec00]
xor eax, esp
push eax
lea eax, [esp + 0x1c00]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
cmp dword [eax + 4], ebx
je 0x45bc07
cmp ecx, ebx
je 0x45bc07
test byte [0x5b8ce8], 1
jne 0x45b715
or dword [0x5b8ce8], 1
push 0x5b8cc8
mov dword [esp + 0x1c0c], ebx
call fcn.004850c6
push 0x4faf72
call fcn.004d605d
or dword [esp + 0x1c0c], 0xffffffff
pop ecx
push 0x3c
pop edi
push 0x3e
pop esi
cmp dword [0x5b8ce4], ebx
jne 0x45b768
lea eax, [esp + 0x10]
push eax
mov ebx, 0x5b8cc8
mov dword [esp + 0x14], 0x22
call fcn.0045bddd
mov dword [eax], 0x5199a0
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], edi
call fcn.0045bddd
mov dword [eax], 0x5199a8
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], esi
call fcn.0045bddd
mov dword [eax], 0x5199b0
test byte [0x5b8ce8], 2
mov ebx, 0x5b8ca8
jne 0x45b7a1
or dword [0x5b8ce8], 2
push ebx
mov dword [esp + 0x1c0c], 1
call fcn.004850c6
push 0x4faf65
call fcn.004d605d
or dword [esp + 0x1c0c], 0xffffffff
pop ecx
cmp dword [0x5b8cc4], 0
jne 0x45b81a
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x22
call fcn.0045bddd
mov dword [eax], str.quot_
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x27
call fcn.0045bddd
mov dword [eax], str.39_
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], edi
call fcn.0045bddd
mov dword [eax], str.lt_
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], esi
call fcn.0045bddd
mov dword [eax], str.gt_
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x26
call fcn.0045bddd
mov dword [eax], str.amp_
push 4
call fcn.004d6661
xor esi, esi
pop ecx
cmp eax, esi
je 0x45b830
lea ecx, [esp + 0x1c]
mov dword [eax], ecx
jmp 0x45b832
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c08], 3
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push edx
push dword [ebp + 8]
call dword [eax + 4]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
sub eax, edi
push 0x58
cdq
pop ecx
idiv ecx
cmp eax, 1
mov dword [esp + 0x10], eax
jge 0x45b89f
cmp edi, esi
je 0x45bbf1
mov ebx, dword [esp + 0x2c]
cmp edi, ebx
je 0x45bbe7
call fcn.0044b436
add edi, 0x58
cmp edi, ebx
jne 0x45b88e
jmp 0x45bbe5
mov edi, 0x207
push edi
lea eax, [esp + 0x181]
push esi
push eax
mov byte [esp + 0x188], 0
call fcn.004dbcc0
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp eax, esi
jle 0x45b8e5
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 0x180]
push 0x5199e0
push eax
call fcn.004db2f0
add esp, 0xc
dec dword [esp + 0x14]
jne 0x45b8c9
cmp dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
jle 0x45bbc9
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
push 0x58
cdq
pop ecx
idiv ecx
cmp dword [esp + 0x18], eax
jb 0x45b910
call fcn.004d6d23
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
lea esi, [eax + ecx]
cmp byte [esi + 8], 0
je 0x45ba31
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0xf
call fcn.0040651f
mov byte [esp + 0x1c08], 4
cmp dword [esi + 0x28], 8
jb 0x45b94b
mov eax, dword [esi + 0x14]
jmp 0x45b94e
lea eax, [esi + 0x14]
test eax, eax
je 0x45b95e
push eax
lea ecx, [esp + 0x40]
mov edx, ebx
call fcn.0045bc2d
push 0x103
lea eax, [esp + 0x79]
push 0
push eax
mov byte [esp + 0x80], 0
call fcn.004dbcc0
add esp, 0xc
push dword [esi + 0x50]
lea eax, [esp + 0x180]
push dword [esi + 0x48]
push eax
push str._s_DT__H3_ADD_DATE__d__LAST_MODIFIED__d__
lea eax, [esp + 0x84]
push 0xffffffffffffffff
push eax
call fcn.0045c2c5
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0x8c]
push eax
push 0x514d4c
push edi
call fcn.004db2d4
mov eax, dword [esp + 0x64]
add esp, 0x24
cmp dword [esp + 0x54], 0x10
jae 0x45b9c5
lea eax, [esp + 0x40]
push eax
push 0x514d4c
push edi
call fcn.004db2d4
add esp, 0xc
push str.__H3__n
push 0x514d4c
push edi
call fcn.004db2d4
add esp, 0xc
lea eax, [esp + 0x17c]
push eax
push str._s_DL__p__n
push edi
call fcn.004db1b8
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x44]
add esp, 0xc
inc eax
push eax
push edi
push dword [esi]
call fcn.0045b67c
lea eax, [esp + 0x17c]
push eax
push str._s__DL__p__n
push edi
call fcn.004db1b8
add esp, 0xc
push 0
push 1
lea ecx, [esp + 0x44]
jmp 0x45bba3
push 0xf
pop edi
push 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], edi
call fcn.0040651f
mov byte [esp + 0x1c08], 5
cmp dword [esi + 0x44], 8
jb 0x45ba56
mov eax, dword [esi + 0x30]
jmp 0x45ba59
lea eax, [esi + 0x30]
test eax, eax
je 0x45ba6c
push eax
lea ecx, [esp + 0x5c]
mov edx, 0x5b8cc8
call fcn.0045bc2d
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edi
call fcn.0040651f
mov byte [esp + 0x1c08], 6
cmp dword [esi + 0x28], 8
jb 0x45ba8e
mov eax, dword [esi + 0x14]
jmp 0x45ba91
lea eax, [esi + 0x14]
test eax, eax
je 0x45baa1
push eax
lea ecx, [esp + 0x40]
mov edx, ebx
call fcn.0045bc2d
push 0x1047
lea eax, [esp + 0xbb1]
push 0
push eax
mov byte [esp + 0xbb8], 0
call fcn.004dbcc0
add esp, 0xc
push 0x823
lea eax, [esp + 0x389]
push 0
push eax
mov byte [esp + 0x390], 0
call fcn.004dbcc0
mov eax, dword [esp + 0x68]
add esp, 0xc
cmp dword [esp + 0x70], 0x10
jae 0x45baee
lea eax, [esp + 0x5c]
push dword [esi + 0x50]
push dword [esi + 0x48]
push eax
lea eax, [esp + 0x188]
push eax
push str._s_DT__A_HREF__s__ADD_DATE__d__LAST_MODIFIED__d_
lea eax, [esp + 0xbc0]
push 0xffffffffffffffff
push eax
call fcn.0045c2e4
mov eax, dword [esp + 0x5c]
add esp, 0x1c
cmp dword [esp + 0x54], 0x10
jae 0x45bb23
lea eax, [esp + 0x40]
push eax
push str.__s__A__n
lea eax, [esp + 0x38c]
push 0xffffffffffffffff
push eax
call fcn.0045c303
lea eax, [esp + 0xbbc]
add esp, 0x10
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45bb45
push dword [esp + 0x34]
sub eax, esi
push eax
xor edi, edi
inc edi
lea eax, [esp + 0xbb4]
push edi
push eax
call fcn.004d9977
lea eax, [esp + 0x394]
add esp, 0x10
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45bb71
push dword [esp + 0x34]
sub eax, esi
push eax
lea eax, [esp + 0x38c]
push edi
push eax
call fcn.004d9977
add esp, 0x10
push 0
push edi
lea ecx, [esp + 0x44]
call fcn.0040653b
push 0
push edi
lea ecx, [esp + 0x60]
mov byte [esp + 0x1c10], 3
call fcn.0040653b
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 0x58
cmp eax, dword [esp + 0x10]
jl 0x45b8f7
xor esi, esi
mov edi, dword [esp + 0x28]
cmp edi, esi
je 0x45bbf1
mov ebx, dword [esp + 0x2c]
cmp edi, ebx
je 0x45bbe7
call fcn.0044b436
add edi, 0x58
cmp edi, ebx
jne 0x45bbd9
xor esi, esi
push dword [esp + 0x28]
call fcn.004d5a72
pop ecx
push dword [esp + 0x1c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.004d5a72
pop ecx
mov ecx, dword [esp + 0x1c00]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1be8]
xor ecx, esp
call fcn.004d5a7d
mov esp, ebp
pop ebp
ret 0xc