Function at 0x44ee80
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c0
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x3ec], 0xffffffff
push 0x1068ea0
push 0x562d78
lea eax, [ebp - 0x4f0]
push eax
call fcn.00532706
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
push 0x5f4958
lea edx, [ebp - 0x4f0]
push edx
call fcn.0053617f
add esp, 8
test eax, eax
jne 0x44eef2
mov eax, 1
jmp 0x44f349
mov dword [0x5f663c], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0044a6b0
add esp, 8
movsx edx, byte [0x5c4c2c]
test edx, edx
je 0x44ef21
mov eax, 1
jmp 0x44f349
cmp dword [0x5fdb24], 1
jne 0x44ef31
xor eax, eax
jmp 0x44f349
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax + 0x8e52]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
push str.DownLoadHistFile:__d
lea eax, [ebp - 0x110]
push eax
call fcn.00532706
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 1
call fcn.00436500
add esp, 8
cmp dword [ebp - 8], 0
jl 0x44f339
push 0x562d9c
lea edx, [ebp - 0x4f0]
push edx
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x44f1a5
mov eax, dword [ebp - 0x21c]
push eax
call fcn.004557e0
add esp, 4
mov dword [ebp - 0x3ec], eax
mov ecx, dword [ebp - 0x3ec]
cmp ecx, dword [ebp - 8]
jne 0x44f0a6
mov dword [ebp - 0x4f4], 1
push 0
push 4
mov edx, dword [ebp - 0x21c]
push edx
call fcn.00532940
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x44efeb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
jge 0x44f070
mov edx, dword [ebp - 0x21c]
push edx
push 1
push 0xc8
lea eax, [ebp - 0x5c0]
push eax
call fcn.0053367b
add esp, 0x10
lea ecx, [ebp - 0x3e8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0044ce30
add esp, 0xc
mov dword [ebp - 0x114], eax
push 0
push 3
lea ecx, [ebp - 0x3e8]
push ecx
call fcn.0041aba0
add esp, 0xc
push 0xc8
lea edx, [ebp - 0x3e8]
push edx
lea eax, [ebp - 0x5c0]
push eax
call fcn.0053387c
add esp, 0xc
test eax, eax
je 0x44f06b
mov dword [ebp - 0x4f4], 0
jmp 0x44f070
jmp 0x44efe2
cmp dword [ebp - 0x4f4], 0
je 0x44f0a6
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.00431d50
add esp, 4
lea edx, [ebp - 0x4f0]
push edx
push 0x5f4958
call fcn.00532580
add esp, 8
mov eax, 1
jmp 0x44f349
mov eax, dword [ebp - 0x21c]
push eax
call fcn.00431d50
add esp, 4
mov dword [ebp - 0x21c], 0
cmp dword [0x5f47ec], 0
je 0x44f122
mov ecx, dword [0x5f47ec]
push ecx
mov edx, dword [ebp - 0x3ec]
push edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x4f0]
push ecx
push str.Error:_DownLoadHistFile:__s__download_d__existing_d__duplicates_d_
lea edx, [ebp - 0x110]
push edx
call fcn.00532706
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
push 1
call fcn.00436500
add esp, 8
mov ecx, dword [ebp - 0x3ec]
sub ecx, dword [0x5f47ec]
mov dword [ebp - 0x3ec], ecx
mov dword [0x5f47ec], 0
mov edx, dword [ebp - 0x3ec]
cmp edx, dword [ebp - 8]
jle 0x44f19b
mov eax, dword [ebp - 0x3ec]
push eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x4f0]
push edx
push str.Error:_DownLoadHistFile:__s__download_d__existing_d_
lea eax, [ebp - 0x110]
push eax
call fcn.00532706
add esp, 0x14
lea ecx, [ebp - 0x110]
push ecx
push 1
call fcn.00436500
add esp, 8
push 0x1068ea0
push str._slocal.hst.old
lea edx, [ebp - 0x320]
push edx
call fcn.00532706
add esp, 0xc
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x4f0]
push ecx
call fcn.00488210
add esp, 8
mov dword [ebp - 0x114], eax
jmp 0x44f1a5
mov dword [ebp - 0x3ec], 0xffffffff
push 0x562e30
lea edx, [ebp - 0x4f0]
push edx
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x44f1f1
lea eax, [ebp - 0x4f0]
push eax
call fcn.00488130
add esp, 4
push 0x562e34
lea ecx, [ebp - 0x4f0]
push ecx
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x44f2cd
lea edx, [ebp - 0x4f0]
push edx
push 0x5f4958
call fcn.00532580
add esp, 8
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.00455880
add esp, 8
mov dword [ebp - 4], 0
jmp 0x44f237
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jge 0x44f28e
lea ecx, [ebp - 0x3e8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0044ce30
add esp, 0xc
mov dword [ebp - 0x114], eax
push 0
push 3
lea ecx, [ebp - 0x3e8]
push ecx
call fcn.0041aba0
add esp, 0xc
mov edx, dword [ebp - 0x21c]
push edx
push 1
push 0xc8
lea eax, [ebp - 0x3e8]
push eax
call fcn.005337fa
add esp, 0x10
jmp 0x44f22e
mov ecx, dword [ebp - 0x21c]
push ecx
call fcn.00431d50
add esp, 4
cmp dword [ebp - 8], 0
jne 0x44f2ad
mov eax, 1
jmp 0x44f349
push 1
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0045c130
add esp, 0x10
mov dword [ebp - 0x114], 1
jmp 0x44f339
lea ecx, [ebp - 0x4f0]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x562e38
push 0
call fcn.0046ce90
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
push 0x5f4953
push 0x562e58
lea ecx, [ebp - 0x218]
push ecx
call fcn.00422b80
add esp, 0x10
mov dword [ebp - 0x114], 0
cmp dword [ebp - 0x3ec], 0xffffffff
je 0x44f339
lea edx, [ebp - 0x4f0]
push edx
lea eax, [ebp - 0x320]
push eax
call fcn.00488210
add esp, 8
mov dword [ebp - 0x114], eax
mov dword [0x5f47ec], 0
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret