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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x248], 1
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x260], 0
mov eax, dword [ebp + 8]
add eax, 0x52
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x254], 1
push 0xc8
push 0
lea ecx, [ebp - 0xd0]
push ecx
call fcn.005323e0
add esp, 0xc
mov edx, dword [ebp - 0x21c]
push edx
call fcn.00532e80
add esp, 4
cmp eax, 8
jne 0x44b9fa
mov eax, dword [ebp + 0xc]
push eax
call fcn.00532e80
add esp, 4
cmp eax, 8
je 0x44ba02
or eax, 0xffffffff
jmp 0x44ce11
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x8e6c], 0
je 0x44ba3f
cmp dword [0x5f42ac], 0
jne 0x44ba34
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 0x8e54]
cmp eax, 1
jne 0x44ba34
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x248], ecx
jmp 0x44ba3f
mov eax, dword [ebp - 0x248]
jmp 0x44ce11
mov edx, dword [ebp + 0xc]
add edx, 9
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.00532580
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
push str.Number_of_Historical_Records
push str.Read_History_File
call fcn.004930d0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push str.Download_Historical_Records
push 0
call fcn.004930d0
add esp, 0xc
cmp dword [0x5f6638], 2
jl 0x44bb12
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x41
jl 0x44baa7
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
cmp eax, 0x5a
jle 0x44bac3
mov ecx, dword [ebp - 0x21c]
movsx edx, byte [ecx]
cmp edx, 0x41
jl 0x44bb12
mov eax, dword [ebp - 0x21c]
movsx ecx, byte [eax]
cmp ecx, 0x5a
jg 0x44bb12
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x21c]
push eax
push str.Error:_TCPHistFileReadOpen____Letters_instead_of_numbers___s__s_
lea ecx, [ebp - 0x218]
push ecx
call fcn.00532706
add esp, 0x10
lea edx, [ebp - 0x218]
push edx
push 1
call fcn.00436500
add esp, 8
push 0x5f4945
push 0x2214
push 0x56277c
call fcn.00431ee0
add esp, 0xc
or eax, 0xffffffff
jmp 0x44ce11
mov dword [ebp - 0x250], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x10c], 0
cmp dword [0x5f6638], 1
jle 0x44bb61
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
push 0x5627d4
lea eax, [ebp - 0x244]
push eax
call fcn.00532706
add esp, 0x14
jmp 0x44bb87
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x21c]
push eax
push 0x5627e0
lea ecx, [ebp - 0x244]
push ecx
call fcn.00532706
add esp, 0x14
movsx edx, word [0x5f42d4]
test edx, edx
jne 0x44bbb6
movsx eax, word [0x5614a8]
cmp eax, 0x7fff
jne 0x44bbb6
push 0x5627ec
lea ecx, [ebp - 0x244]
push ecx
call fcn.00532590
add esp, 8
jmp 0x44bbca
push 0x5627f0
lea edx, [ebp - 0x244]
push edx
call fcn.00532590
add esp, 8
push 0x5627f4
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044b8d0
add esp, 8
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
je 0x44bd5d
push 0
push 0x8e8
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00532940
add esp, 0xc
mov byte [0x15444c0], 0
mov edx, dword [ebp - 0x260]
push edx
push 1
push 0x16
push 0x15444c0
call fcn.0053367b
add esp, 0x10
mov eax, dword [ebp - 0x260]
push eax
call fcn.00431d50
add esp, 4
mov dword [ebp - 0x260], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
push 0x562800
lea eax, [ebp - 0x360]
push eax
call fcn.00532706
add esp, 0x10
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x180], 0
je 0x44bcf3
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x8e6c], 0
je 0x44bca9
movsx eax, byte [0x15444c0]
test eax, eax
jne 0x44bca9
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 0x8e54]
test edx, edx
jne 0x44bca9
push 0x562808
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044b8d0
add esp, 8
mov dword [ebp - 0x260], eax
jmp 0x44bcf1
lea ecx, [ebp - 0xfc]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x180]
push eax
call fcn.00434df0
add esp, 8
lea ecx, [ebp - 0xfc]
push ecx
push 0x15444c0
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x44bcf1
push 0x562814
mov edx, dword [ebp + 0xc]
push edx
call fcn.0044b8d0
add esp, 8
mov dword [ebp - 0x260], eax
jmp 0x44bd53
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xe0]
push ecx
lea edx, [ebp - 0x360]
push edx
push 0x562820
call fcn.0046fc50
add esp, 0x10
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x44bd53
lea eax, [ebp - 0xfc]
push eax
push 0x15444c0
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x44bd53
push 0x562828
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0044b8d0
add esp, 8
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x254], 0
cmp dword [ebp - 0x260], 0
jne 0x44bde3
cmp dword [0x5f42ac], 1
jne 0x44bdbb
cmp dword [0x5f4bb0], 1
jne 0x44bd91
mov edx, 1
mov eax, dword [ebp + 0xc]
mov word [eax + 0x8e54], dx
mov eax, 1
jmp 0x44ce11
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0xe0]
push edx
lea eax, [ebp - 0x244]
push eax
push str.HSTF
call fcn.0046fc50
add esp, 0x10
mov dword [ebp - 0x250], eax
jmp 0x44bde3
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0xe0]
push edx
lea eax, [ebp - 0x244]
push eax
push 0x56283c
call fcn.0046fc50
add esp, 0x10
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0xe0], 0
je 0x44be2a
push 0x562844
push 5
call fcn.00436500
add esp, 8
mov ecx, dword [ebp - 0xe0]
push ecx
push 5
call fcn.00436500
add esp, 8
push str.________1_________
push 5
call fcn.00436500
add esp, 8
push 0x5f4946
push 5
call fcn.00436500
add esp, 8
mov edx, dword [ebp + 0xc]
add edx, 9
push edx
push str.Parse_Historical_Records
push 0
call fcn.004930d0
add esp, 0xc
cmp dword [0x5fdb24], 1
jne 0x44be72
cmp dword [ebp - 0x260], 0
je 0x44be6b
mov eax, dword [ebp - 0x260]
push eax
call fcn.00431d50
add esp, 4
mov dword [ebp - 0x260], 0
xor eax, eax
jmp 0x44ce11
cmp dword [ebp - 0x260], 0
jne 0x44bf94
push 4
push 0x562888
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.00532db5
add esp, 0xc
test eax, eax
je 0x44bea9
cmp dword [ebp - 0x250], 0
jne 0x44bea9
xor eax, eax
jmp 0x44ce11
mov edx, dword [ebp - 0xe0]
movsx eax, byte [edx + 0x26]
cmp eax, 0x20
jne 0x44bed6
mov ecx, dword [ebp - 0xe0]
movsx edx, byte [ecx + 0x2b]
cmp edx, 0x20
jne 0x44bed6
mov eax, dword [ebp - 0xe0]
movsx ecx, byte [eax + 0x30]
cmp ecx, 0x20
je 0x44beed
push str.0000_0000_00000000
mov edx, dword [ebp - 0xe0]
add edx, 0x27
push edx
call fcn.00532580
add esp, 8
push 4
push 0x2d
mov eax, dword [ebp - 0xe0]
push eax
call fcn.00433b80
add esp, 0xc
mov dword [ebp - 0x104], eax
push 4
push 0x28
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.00433b80
add esp, 0xc
mov dword [ebp - 0xe4], eax
push 8
push 0x32
mov edx, dword [ebp - 0xe0]
push edx
call fcn.00433b80
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0xe4]
je 0x44bf52
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe4], ecx
cmp dword [ebp - 0x104], 0x270f
jne 0x44bf72
mov dword [ebp - 0x104], 0x7fff
mov dword [ebp - 0x110], 1
cmp dword [ebp - 0xe4], 0x270f
jne 0x44bf92
mov dword [ebp - 0xe4], 0x7fff
mov dword [ebp - 0x110], 1
jmp 0x44bfa9
mov edx, dword [ebp - 0x260]
push edx
call fcn.004557e0
add esp, 4
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x8e56
push ecx
call fcn.00532580
add esp, 8
cmp dword [ebp - 0x250], 0
jne 0x44ce06
cmp dword [ebp - 0x104], 0
jne 0x44bfee
mov dword [0x5f42ac], 0
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax + 0x8e54], dx
mov ecx, dword [ebp + 0xc]
mov dx, word [ebp - 0x104]
mov word [ecx + 0x8e52], dx
cmp dword [ebp - 0x260], 0
jne 0x44c071
push 8
push 0xb
mov eax, dword [ebp - 0xe0]
push eax
call fcn.00433b80
add esp, 0xc
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x44c03e
mov ecx, dword [ebp - 0x104]
imul ecx, ecx, 0xc8
mov dword [ebp - 0x224], ecx
jmp 0x44c06f
cmp dword [ebp - 0x110], 1
jne 0x44c049
jmp 0x44c06f
mov edx, dword [ebp - 0x104]
imul edx, edx, 0xc8
cmp dword [ebp - 0x224], edx
jge 0x44c06f
mov eax, dword [ebp - 0x104]
imul eax, eax, 0xc8
mov dword [ebp - 0x224], eax
jmp 0x44c083
mov ecx, dword [ebp - 0x104]
imul ecx, ecx, 0xc8
mov dword [ebp - 0x224], ecx
cmp dword [0x567df0], 0xffffffff
jne 0x44c0c6
mov dword [ebp - 0x108], 0
jmp 0x44c0a7
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
cmp dword [ebp - 0x108], 0x1f4
jge 0x44c0c6
mov eax, dword [ebp - 0x108]
mov dword [eax*4 + 0xd83ee0], 0
jmp 0x44c098
mov dword [ebp - 0x108], 0
jmp 0x44c0e1
mov ecx, dword [ebp - 0x108]
add ecx, 1
mov dword [ebp - 0x108], ecx
cmp dword [ebp - 0x108], 0x1f4
jge 0x44c114
cmp dword [ebp - 0xd4], 0
jne 0x44c114
mov edx, dword [ebp - 0x108]
mov eax, dword [edx*4 + 0xd83ee0]
cmp eax, dword [ebp + 0xc]
jne 0x44c112
mov dword [ebp - 0xd4], 1
jmp 0x44c0d2
cmp dword [ebp + 0xc], 0x1102600
jne 0x44c127
mov dword [ebp - 0xd4], 1
cmp dword [ebp - 0xd4], 0
jne 0x44c28b
mov ecx, dword [0x567df0]
add ecx, 1
mov dword [0x567df0], ecx
cmp dword [0x567df0], 0x1f4
jl 0x44c159
mov dword [0x567df0], 0
mov edx, dword [0x567df0]
cmp dword [edx*4 + 0xd83ee0], 0
je 0x44c27b
mov eax, dword [0x567df0]
mov ecx, dword [eax*4 + 0xd83ee0]
cmp dword [ecx + 0x8e6c], 0
je 0x44c1da
mov edx, dword [0x567df0]
mov eax, dword [edx*4 + 0xd83ee0]
mov ecx, dword [eax + 0x8e6c]
push ecx
call fcn.00532828
add esp, 4
mov edx, dword [0x567df0]
mov eax, dword [edx*4 + 0xd83ee0]
mov ecx, dword [0x110b46c]
cmp ecx, dword [eax + 0x8e6c]
jne 0x44c1c3
mov dword [0x110b46c], 0
mov edx, dword [0x567df0]
mov eax, dword [edx*4 + 0xd83ee0]
mov dword [eax + 0x8e6c], 0
mov ecx, dword [0x567df0]
mov edx, dword [ecx*4 + 0xd83ee0]
cmp dword [edx + 0x8e74], 0
je 0x44c245
mov eax, dword [0x567df0]
mov ecx, dword [eax*4 + 0xd83ee0]
mov edx, dword [ecx + 0x8e74]
push edx
call fcn.00532828
add esp, 4
mov eax, dword [0x567df0]
mov ecx, dword [eax*4 + 0xd83ee0]
mov edx, dword [0x110b474]
cmp edx, dword [ecx + 0x8e74]
jne 0x44c22f
mov dword [0x110b474], 0
mov eax, dword [0x567df0]
mov ecx, dword [eax*4 + 0xd83ee0]
mov dword [ecx + 0x8e74], 0
mov edx, dword [0x567df0]
mov eax, dword [edx*4 + 0xd83ee0]
xor ecx, ecx
mov word [eax + 0x8e52], cx
push 0x5f4947
mov edx, dword [0x567df0]
mov eax, dword [edx*4 + 0xd83ee0]
add eax, 0x8e56
push eax
call fcn.00532580
add esp, 8
mov ecx, dword [0x567df0]
mov edx, dword [ebp + 0xc]
mov dword [ecx*4 + 0xd83ee0], edx
mov eax, dword [ebp - 0x224]
add eax, 0xa
push eax
call fcn.005324a9
add esp, 4
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
je 0x44c30d
mov ecx, dword [ebp - 0x104]
lea edx, [ecx*4 + 8]
push edx
call fcn.005324a9
add esp, 4
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x224]
add eax, 0xa
push eax
push 0
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.005323e0
add esp, 0xc
cmp dword [ebp - 0xd8], 0
je 0x44c30b
mov edx, dword [ebp - 0x104]
lea eax, [edx*4 + 8]
push eax
push 0
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.005323e0
add esp, 0xc
jmp 0x44c317
mov dword [ebp - 0xd8], 0
cmp dword [ebp - 0x24c], 0
je 0x44cdd3
cmp dword [ebp - 0xd8], 0
je 0x44cdd3
cmp dword [ebp + 0xc], 0x1102600
je 0x44c346
mov edx, dword [ebp + 0xc]
push edx
call fcn.00419d80
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xd8]
mov dword [eax + 0x8e74], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x24c]
mov dword [edx + 0x8e6c], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x224]
mov dword [ecx + 0x8e70], edx
mov dword [ebp - 0x220], 0
mov dword [ebp - 0xdc], 0xffffffff
cmp dword [ebp - 0x260], 0
je 0x44c4d3
mov eax, dword [ebp - 0x260]
push eax
push 1
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
call fcn.0053367b
add esp, 0x10
mov eax, dword [ebp - 0x260]
push eax
call fcn.00431d50
add esp, 4
mov dword [ebp - 0x108], 0
jmp 0x44c3dd
mov ecx, dword [ebp - 0x108]
add ecx, 1
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x108]
cmp edx, dword [ebp - 0x104]
jge 0x44c4ba
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0x24c]
add ecx, dword [ebp - 0x220]
mov dword [ebp - 0x258], ecx
push 0
push 3
mov edx, dword [ebp - 0x258]
push edx
call fcn.0041aba0
add esp, 0xc
mov eax, dword [ebp - 0x258]
movsx ecx, word [eax + 0x3c]
cmp ecx, 3
jne 0x44c48c
mov edx, dword [ebp - 0x258]
movsx eax, word [edx + 0x3a]
and eax, 0x7fff
cmp eax, 3
jge 0x44c48c
mov ecx, dword [ebp - 0x258]
movsx edx, word [ecx]
cmp edx, 0x76c
jl 0x44c48c
push 0xa
mov eax, dword [ebp + 8]
push eax
call fcn.00460890
add esp, 8
movsx ecx, ax
test ecx, ecx
jne 0x44c48c
mov edx, dword [ebp - 0x258]
push edx
call fcn.0042de30
add esp, 4
cmp eax, 1
jne 0x44c48c
xor eax, eax
mov ecx, dword [ebp - 0x258]
mov word [ecx + 0x3c], ax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x8e74]
mov ecx, dword [ebp - 0xdc]
mov edx, dword [ebp - 0x258]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x220]
add eax, 0xc8
mov dword [ebp - 0x220], eax
jmp 0x44c3ce
movsx ecx, word [ebp - 0xdc]
add ecx, 1
mov edx, dword [ebp + 0xc]
mov word [edx + 0x8e52], cx
jmp 0x44c99d
mov dword [0x5f480c], 0xffffffff
push 0x1102600
push 0x5c
push 0x5c
push 0x5c
push 0x5c
push 0x5c
push 0x1102600
push 0x5c
push 0x5c44f8
call fcn.004306e0
add esp, 4
push eax
push str._s_c_s_cEL_ccontent_cprofiles_cdefined_cdyned._010s
lea eax, [ebp - 0x460]
push eax
call fcn.00532706
add esp, 0x2c
lea ecx, [ebp - 0x460]
push ecx
call fcn.00429360
add esp, 4
mov edx, dword [ebp - 0x10c]
push edx
mov eax, dword [ebp - 0xe0]
add eax, 0x3b
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.00533040
add esp, 0xc
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x108], 0
jmp 0x44c569
mov edx, dword [ebp - 0x108]
add edx, 1
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x104]
jge 0x44c99d
mov ecx, dword [ebp - 0xdc]
add ecx, 1
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0x108]
cmp edx, dword [ebp - 0xe4]
jl 0x44c767
mov dword [ebp - 0x25c], 0
cmp dword [0x5f6638], 1
jle 0x44c5e6
mov eax, dword [ebp - 0x100]
add eax, 1
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x21c]
push eax
push str._s__s__04d
lea ecx, [ebp - 0x244]
push ecx
call fcn.00532706
add esp, 0x14
jmp 0x44c61b
mov edx, dword [ebp - 0x100]
add edx, 1
mov dword [ebp - 0x100], edx
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
push 0x5628e4
lea eax, [ebp - 0x244]
push eax
call fcn.00532706
add esp, 0x14
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0xe0]
push edx
lea eax, [ebp - 0x244]
push eax
push str.HSTA
call fcn.0046fc50
add esp, 0x10
mov dword [ebp - 0x250], eax
push 0x5628f8
push 5
call fcn.00436500
add esp, 8
mov ecx, dword [ebp - 0xe0]
push ecx
push 5
call fcn.00436500
add esp, 8
push str._2_
push 5
call fcn.00436500
add esp, 8
push 0x5f4948
push 5
call fcn.00436500
add esp, 8
cmp dword [ebp - 0x250], 0
je 0x44c6a9
cmp dword [ebp - 0x110], 1
jne 0x44c6a9
mov edx, dword [ebp + 0xc]
mov ax, word [ebp - 0xdc]
mov word [edx + 0x8e52], ax
jmp 0x44c99d
cmp dword [ebp - 0x250], 0
je 0x44c6d5
push 0x5f4949
push 0x5f494a
push 0x562928
push str.Error_reading_History_files_from_server.
call fcn.00422b80
add esp, 0x10
xor eax, eax
jmp 0x44ce11
cmp dword [0x5fdb24], 1
jne 0x44c6e5
xor eax, eax
jmp 0x44ce11
cmp dword [0x5f6638], 1
jle 0x44c70f
push 4
push 0x28
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.00433b80
add esp, 0xc
add eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe4], eax
jmp 0x44c728
push 4
push 0x28
mov edx, dword [ebp - 0xe0]
push edx
call fcn.00433b80
add esp, 0xc
mov dword [ebp - 0xe4], eax
push 8
push 0x32
mov eax, dword [ebp - 0xe0]
push eax
call fcn.00433b80
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0xe0]
add edx, 0x3b
push edx
mov eax, dword [ebp - 0x24c]
add eax, dword [ebp - 0x220]
push eax
call fcn.00533040
add esp, 0xc
mov ecx, dword [ebp - 0x220]
cmp ecx, dword [ebp - 0x224]
jge 0x44c783
mov edx, dword [ebp - 0x25c]
cmp edx, dword [ebp - 0x10c]
jl 0x44c799
mov eax, dword [ebp + 0xc]
mov cx, word [ebp - 0xdc]
mov word [eax + 0x8e52], cx
jmp 0x44c99d
mov edx, dword [ebp - 0x24c]
add edx, dword [ebp - 0x220]
mov dword [ebp - 0x258], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x8e74]
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0x258]
mov dword [ecx + edx*4], eax
cmp dword [0x5f6638], 1
jle 0x44c7e6
mov ecx, dword [0x5f6634]
push ecx
push 3
mov edx, dword [ebp - 0x258]
push edx
call fcn.0041aba0
add esp, 0xc
jmp 0x44c7f9
push 0
push 3
mov eax, dword [ebp - 0x258]
push eax
call fcn.0041aba0
add esp, 0xc
mov ecx, dword [ebp - 0x258]
movsx edx, word [ecx]
cmp edx, 0x76c
jge 0x44c842
mov eax, dword [ebp - 0x258]
movsx ecx, word [eax]
cmp ecx, 1
je 0x44c826
mov edx, dword [ebp - 0x258]
movsx eax, word [edx]
cmp eax, 5
jne 0x44c840
mov ecx, dword [ebp - 0x258]
movsx edx, word [ecx + 4]
or edx, 0x80
mov eax, dword [ebp - 0x258]
mov word [eax + 4], dx
jmp 0x44c85c
mov ecx, dword [ebp - 0x258]
movsx edx, word [ecx + 0x3a]
or edx, 0x8000
mov eax, dword [ebp - 0x258]
mov word [eax + 0x3a], dx
mov ecx, dword [ebp - 0x258]
movsx edx, word [ecx]
cmp edx, 0x76c
jge 0x44c879
mov dword [ebp - 0x114], 0xc8
jmp 0x44c884
call fcn.004632d0
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x258]
movsx ecx, word [eax + 0x3c]
cmp ecx, 3
jne 0x44c8ed
mov edx, dword [ebp - 0x258]
movsx eax, word [edx + 0x3a]
and eax, 0x7fff
cmp eax, 3
jge 0x44c8ed
mov ecx, dword [ebp - 0x258]
movsx edx, word [ecx]
cmp edx, 0x76c
jl 0x44c8ed
push 0xa
mov eax, dword [ebp + 8]
push eax
call fcn.00460890
add esp, 8
movsx ecx, ax
test ecx, ecx
jne 0x44c8ed
mov edx, dword [ebp - 0x258]
push edx
call fcn.0042de30
add esp, 4
cmp eax, 1
jne 0x44c8ed
xor eax, eax
mov ecx, dword [ebp - 0x258]
mov word [ecx + 0x3c], ax
mov edx, dword [ebp - 0x220]
add edx, dword [ebp - 0x114]
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x25c]
add eax, dword [ebp - 0x114]
mov dword [ebp - 0x25c], eax
push 0x18
mov ecx, dword [ebp - 0x258]
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.0053387c
add esp, 0xc
test eax, eax
jne 0x44c97b
mov eax, dword [ebp - 0x114]
sub eax, 0x1e
push eax
mov ecx, dword [ebp - 0x258]
add ecx, 0x1c
push ecx
lea edx, [ebp - 0xb4]
push edx
call fcn.0053387c
add esp, 0xc
test eax, eax
jne 0x44c97b
mov eax, dword [ebp - 0xdc]
sub eax, 1
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + 0x8e52]
sub dx, 1
mov eax, dword [ebp + 0xc]
mov word [eax + 0x8e52], dx
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x258]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.00533040
add esp, 0xc
jmp 0x44c55a
cmp dword [0x5f42ac], 1
jne 0x44c9b7
mov ecx, 1
mov edx, dword [ebp + 0xc]
mov word [edx + 0x8e54], cx
jmp 0x44c9c3
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0x8e54], ax
cmp dword [ebp - 0x260], 0
je 0x44c9d8
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax + 0x8e54], dx
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 0x8e54]
test edx, edx
jne 0x44cdd1
cmp dword [ebp - 0x260], 0
jne 0x44cdd1
cmp dword [ebp - 0x254], 0
jne 0x44cb9b
push 0x5c44f8
call fcn.004306e0
add esp, 4
push eax
push 0x1068ea0
call fcn.00532580
add esp, 8
push 0x5c
mov eax, dword [ebp + 0xc]
push eax
push 0x5c
push 0x5c44f8
call fcn.004306e0
add esp, 4
push eax
push 0x562964
push 0x1068ea0
call fcn.00532706
add esp, 0x18
push 0x562970
push 0x1068ea0
call fcn.00532590
add esp, 8
push 0x56297c
push 0x1068ea0
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
je 0x44cb9b
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00455900
add esp, 4
mov dword [ebp - 0x464], eax
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 0x8e52]
cmp dword [ebp - 0x464], eax
jg 0x44cb82
mov dword [ebp - 0x254], 1
mov dword [ebp - 0x108], 0
jmp 0x44cace
mov ecx, dword [ebp - 0x108]
add ecx, 1
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x108]
cmp edx, dword [ebp - 0x464]
jge 0x44cb82
mov eax, dword [ebp - 0x260]
push eax
push 1
push 0xc8
lea ecx, [ebp - 0x530]
push ecx
call fcn.0053367b
add esp, 0x10
push 0
push 3
lea edx, [ebp - 0x530]
push edx
call fcn.0041aba0
add esp, 0xc
movsx eax, word [ebp - 0x530]
cmp eax, 1
je 0x44cb28
movsx ecx, word [ebp - 0x530]
cmp ecx, 5
jne 0x44cb45
movsx edx, word [ebp - 0x52c]
and edx, 0x80
jne 0x44cb43
mov dword [ebp - 0x254], 0
jmp 0x44cb82
jmp 0x44cb7d
movsx eax, word [ebp - 0x530]
cmp eax, 0x7bc
jle 0x44cb7d
movsx ecx, word [ebp - 0x530]
cmp ecx, 0x7e4
jge 0x44cb7d
movsx edx, word [ebp - 0x4f6]
and edx, 0x8000
jne 0x44cb7d
mov dword [ebp - 0x254], 0
jmp 0x44cb82
jmp 0x44cabf
mov eax, dword [ebp - 0x260]
push eax
call fcn.00431d50
add esp, 4
mov dword [ebp - 0x260], 0
cmp dword [0x5f4a9c], 2
jne 0x44cbae
mov dword [ebp - 0x254], 0
cmp dword [ebp - 0x254], 1
jne 0x44cda9
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
push 0x562980
push 0x1068ea0
call fcn.00532706
add esp, 0x10
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x180], 0
je 0x44cbfd
push 0x15444c0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x180]
push edx
call fcn.00434df0
add esp, 8
jmp 0x44cc1b
push 0x15444c0
lea eax, [ebp - 0xe0]
push eax
push 0x1068ea0
push str.STDS
call fcn.0046fc50
add esp, 0x10
push 0x5c44f8
call fcn.004306e0
add esp, 4
push eax
push 0x1068ea0
call fcn.00532580
add esp, 8
push 0x1068ea0
call fcn.00423c50
add esp, 4
push 0x5c
mov ecx, dword [ebp + 0xc]
push ecx
push 0x5c
push 0x5c44f8
call fcn.004306e0
add esp, 4
push eax
push 0x562990
push 0x1068ea0
call fcn.00532706
add esp, 0x18
push 0x1068ea0
call fcn.00423c50
add esp, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov cx, word [eax + 0x8e52]
mov word [edx + 0x92], cx
mov byte [0x5c4c2c], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0045eab0
add esp, 8
push 0x56299c
push 0x1068ea0
call fcn.00532590
add esp, 8
push 0x5629a8
push 0x1068ea0
call fcn.0042eaa0
add esp, 8
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
je 0x44cd7c
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx + 0x8e52]
push edx
mov eax, dword [ebp - 0x260]
push eax
call fcn.00455880
add esp, 8
mov dword [ebp - 0x108], 0
jmp 0x44cd0f
mov ecx, dword [ebp - 0x108]
add ecx, 1
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp + 0xc]
movsx eax, word [edx + 0x8e52]
cmp dword [ebp - 0x108], eax
jge 0x44cd6d
lea ecx, [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044ce30
add esp, 0xc
push 0
push 3
lea ecx, [ebp - 0xd0]
push ecx
call fcn.0041aba0
add esp, 0xc
mov edx, dword [ebp - 0x260]
push edx
push 1
push 0xc8
lea eax, [ebp - 0xd0]
push eax
call fcn.005337fa
add esp, 0x10
jmp 0x44cd00
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00431d50
add esp, 4
push 0x15444c0
push 0x5c4c2c
call fcn.00532580
add esp, 8
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0045c130
add esp, 0x10
mov byte [0x5c4c2c], 0
push 0x5c
mov ecx, dword [ebp + 0xc]
push ecx
push 0x5c
push 0x5c44f8
call fcn.004306e0
add esp, 4
push eax
push 0x5629ac
push 0x1068ea0
call fcn.00532706
add esp, 0x18
jmp 0x44ce06
push 0x5f494b
push 0x5f494c
push 0x5629b8
push str.Out_of_memory_reading_History_files
call fcn.00422b80
add esp, 0x10
push 0x5f494d
push 0x24d4
push str.TCPHistFileReadOpen
call fcn.00431ee0
add esp, 0xc
call fcn.00493240
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret