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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5636e0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5cc5b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x48], cx
lea ecx, [ebp - 0x48]
push eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
call fcn.00442140
push 1
push 0xffffffffffffffff
push 0x5b75b4
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00453a70
cmp eax, 0xffffffff
je 0x45951c
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004546e0
mov esi, eax
lea eax, [ebp - 0x48]
cmp eax, esi
je 0x45950b
cmp dword [ebp - 0x34], 8
jb 0x4594ee
push dword [ebp - 0x48]
call fcn.00503a69
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00440af0
cmp dword [ebp - 0x1c], 8
jb 0x45951c
push dword [ebp - 0x30]
call fcn.00503a69
add esp, 4
push 1
push 0xffffffffffffffff
push 0x5688cc
lea ecx, [ebp - 0x48]
call fcn.00453a70
cmp eax, 0xffffffff
je 0x459589
push eax
push 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.004546e0
mov esi, eax
lea eax, [ebp - 0x48]
cmp eax, esi
je 0x459578
cmp dword [ebp - 0x34], 8
jb 0x45955b
push dword [ebp - 0x48]
call fcn.00503a69
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00440af0
cmp dword [ebp - 0x1c], 8
jb 0x459589
push dword [ebp - 0x30]
call fcn.00503a69
add esp, 4
lea eax, [ebp - 0x48]
push eax
call fcn.00459350
add esp, 4
cmp dword [ebp - 0x38], 0
je 0x459bbd
lea eax, [ebp - 0x48]
push eax
push edi
call fcn.00458fc0
add esp, 8
test al, al
jne 0x459bbd
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x4d]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x4d], 2
call fcn.004592f0
mov eax, dword [ebp - 0x38]
lea eax, [eax*4 + 0x314]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00457480
add esp, 8
mov byte [ebp - 0x4d], 0x20
lea eax, [ebp - 0x4d]
lea ecx, [ebp - 0x24]
push eax
call fcn.004592f0
lea eax, [ebp - 0x24]
push 4
push eax
call fcn.00457480
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.00457480
lea eax, [ebp - 0x24]
push 0x21000000
push eax
call fcn.00457480
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push eax
call fcn.004572a0
mov edi, dword [ebp - 0x1c]
xor ebx, ebx
mov ecx, dword [ebp - 0x20]
add esp, 0x20
mov edx, dword [ebp - 0x24]
cmp dword [ebp - 0x38], ebx
jbe 0x4596b1
jmp 0x459650
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
lea esi, [eax + ebx*2]
cmp esi, ecx
jae 0x459688
cmp edx, esi
ja 0x459688
sub esi, edx
cmp ecx, edi
jne 0x45967f
push 1
lea ecx, [ebp - 0x24]
call fcn.00457600
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
test ecx, ecx
je 0x4596a7
mov al, byte [edx + esi]
jmp 0x4596a5
cmp ecx, edi
jne 0x45969f
push 1
lea ecx, [ebp - 0x24]
call fcn.00457600
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
test ecx, ecx
je 0x4596a7
mov al, byte [esi]
mov byte [ecx], al
inc ecx
inc ebx
mov dword [ebp - 0x20], ecx
cmp ebx, dword [ebp - 0x38]
jb 0x459650
lea eax, [ebp - 0x4b]
mov byte [ebp - 0x4b], 0x22
cmp eax, ecx
jae 0x4596e3
cmp edx, eax
ja 0x4596e3
mov esi, eax
sub esi, edx
cmp ecx, edi
jne 0x4596d8
push 1
lea ecx, [ebp - 0x24]
call fcn.00457600
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
test ecx, ecx
je 0x4596fb
mov al, byte [esi + edx]
mov byte [ecx], al
jmp 0x4596fb
cmp ecx, edi
jne 0x4596f4
push 1
lea ecx, [ebp - 0x24]
call fcn.00457600
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4596fb
mov byte [ecx], 0x22
mov eax, dword [ebp - 0x38]
inc ecx
add eax, 0x1a
mov dword [ebp - 0x20], ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00457480
mov eax, dword [ebp - 0x38]
add eax, 0x3018
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00457390
lea eax, [ebp - 0x24]
push 0x310b3009
push eax
call fcn.00457480
lea eax, [ebp - 0x24]
push 0x6035504
push eax
call fcn.00457480
lea eax, [ebp - 0x24]
push 0x6130245
push eax
call fcn.00457480
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x4c]
add esp, 0x28
mov byte [ebp - 0x4c], 0x4e
cmp eax, ecx
jae 0x459789
mov edx, eax
mov eax, dword [ebp - 0x24]
cmp eax, edx
ja 0x459789
mov esi, edx
sub esi, eax
cmp ecx, dword [ebp - 0x1c]
jne 0x45977e
push 1
lea ecx, [ebp - 0x24]
call fcn.00457600
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
test ecx, ecx
je 0x4597a2
mov al, byte [esi + eax]
mov byte [ecx], al
jmp 0x4597a2
cmp ecx, dword [ebp - 0x1c]
jne 0x45979b
push 1
lea ecx, [ebp - 0x24]
call fcn.00457600
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4597a2
mov byte [ecx], 0x4e
mov eax, dword [ebp - 0x38]
inc ecx
add eax, 0x3109
mov dword [ebp - 0x20], ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00457390
mov eax, dword [ebp - 0x38]
add eax, 0x3007
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00457390
lea eax, [ebp - 0x24]
push 0x6035504
push eax
call fcn.00457480
lea eax, [ebp - 0x24]
push 0x313
push eax
call fcn.00457390
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push eax
call fcn.004572a0
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov esi, dword [ebp - 0x20]
add esp, 0x28
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x38], edx
jbe 0x4598e0
lea esp, [esp]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
lea ebx, [eax + edx*2]
cmp ebx, esi
jae 0x45987e
cmp edi, ebx
ja 0x45987e
sub ebx, edi
cmp esi, ecx
jne 0x459875
mov eax, ecx
sub eax, esi
cmp eax, 1
jae 0x459875
mov eax, edi
sub eax, esi
dec eax
cmp eax, 1
jb 0x45990a
sub ecx, edi
or eax, 0xffffffff
mov edx, ecx
sub esi, edi
shr edx, 1
inc esi
sub eax, edx
cmp eax, ecx
jae 0x459859
xor ecx, ecx
jmp 0x45985b
add ecx, edx
cmp ecx, esi
cmovb ecx, esi
push ecx
lea ecx, [ebp - 0x24]
call fcn.00457590
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x54]
test esi, esi
je 0x4598cf
mov al, byte [ebx + edi]
jmp 0x4598cd
cmp esi, ecx
jne 0x4598c7
mov eax, ecx
sub eax, esi
cmp eax, 1
jae 0x4598c7
mov eax, edi
sub eax, esi
dec eax
cmp eax, 1
jb 0x45990a
sub ecx, edi
or eax, 0xffffffff
mov edx, ecx
sub esi, edi
shr edx, 1
inc esi
sub eax, edx
cmp eax, ecx
jae 0x4598ab
xor ecx, ecx
jmp 0x4598ad
add ecx, edx
cmp ecx, esi
cmovb ecx, esi
push ecx
lea ecx, [ebp - 0x24]
call fcn.00457590
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x54]
test esi, esi
je 0x4598cf
mov al, byte [ebx]
mov byte [esi], al
inc edx
inc esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x54], edx
cmp edx, dword [ebp - 0x38]
jb 0x459810
lea eax, [ebp - 0x4a]
mov byte [ebp - 0x4a], 0x23
cmp eax, esi
jae 0x45994b
cmp edi, eax
ja 0x45994b
mov ebx, eax
sub ebx, edi
cmp esi, ecx
jne 0x459940
mov eax, ecx
sub eax, esi
cmp eax, 1
jae 0x459940
mov eax, edi
sub eax, esi
dec eax
cmp eax, 1
jae 0x459914
push str.vector_T__too_long
call fcn.004d9876
sub ecx, edi
or eax, 0xffffffff
mov edx, ecx
sub esi, edi
shr edx, 1
inc esi
sub eax, edx
cmp eax, ecx
jae 0x45992a
xor ecx, ecx
jmp 0x45992c
add ecx, edx
cmp ecx, esi
cmovb ecx, esi
push ecx
lea ecx, [ebp - 0x24]
call fcn.00457590
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
test esi, esi
je 0x45999f
mov al, byte [ebx + edi]
mov byte [esi], al
jmp 0x45999f
cmp esi, ecx
jne 0x459998
mov eax, ecx
sub eax, esi
cmp eax, 1
jae 0x459998
mov eax, edi
sub eax, esi
dec eax
cmp eax, 1
jae 0x45996c
push str.vector_T__too_long
call fcn.004d9876
sub ecx, edi
or eax, 0xffffffff
mov edx, ecx
sub esi, edi
shr edx, 1
inc esi
sub eax, edx
cmp eax, ecx
jae 0x459982
xor ecx, ecx
jmp 0x459984
add ecx, edx
cmp ecx, esi
cmovb ecx, esi
push ecx
lea ecx, [ebp - 0x24]
call fcn.00457590
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
test esi, esi
je 0x45999f
mov byte [esi], 0x23
mov eax, dword [ebp - 0x58]
inc esi
mov dword [ebp - 0x20], esi
sub esi, edi
mov ebx, esi
mov dword [ebp - 0x18], ebx
cmp dword [eax + 0x14], 8
jb 0x4599b5
mov eax, dword [eax]
push 0x5688b4
push eax
call fcn.00505b47
add esp, 8
mov dword [ebp - 0x54], eax
test eax, eax
je 0x459b42
push 2
push 0
push eax
call fcn.005056c8
mov edi, dword [ebp - 0x54]
push edi
call fcn.00505adb
push 0
push 0
push edi
mov esi, eax
call fcn.005056c8
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.00457480
push edi
push 1
lea eax, [ebp - 0x49]
push 1
push eax
call fcn.0050558d
mov esi, dword [ebp - 0x20]
add esp, 0x34
mov edi, dword [ebp - 0x24]
test eax, eax
je 0x459afb
mov ebx, dword [ebp - 0x1c]
lea esp, [esp]
lea eax, [ebp - 0x49]
cmp eax, esi
jae 0x459a86
cmp edi, eax
ja 0x459a86
sub eax, edi
mov dword [ebp - 0x58], eax
cmp esi, ebx
jne 0x459a7d
mov eax, ebx
sub eax, esi
cmp eax, 1
jae 0x459a7a
mov eax, edi
sub eax, esi
dec eax
cmp eax, 1
jb 0x45990a
sub ebx, edi
or eax, 0xffffffff
mov ecx, ebx
sub esi, edi
shr ecx, 1
inc esi
sub eax, ecx
cmp eax, ebx
jae 0x459a61
xor ebx, ebx
jmp 0x459a63
add ebx, ecx
cmp ebx, esi
lea ecx, [ebp - 0x24]
cmovb ebx, esi
push ebx
call fcn.00457590
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x58]
test esi, esi
je 0x459ad9
mov al, byte [eax + edi]
jmp 0x459ad7
cmp esi, ebx
jne 0x459ad0
mov eax, ebx
sub eax, esi
cmp eax, 1
jae 0x459ad0
mov eax, edi
sub eax, esi
dec eax
cmp eax, 1
jb 0x45990a
sub ebx, edi
or eax, 0xffffffff
mov ecx, ebx
sub esi, edi
shr ecx, 1
inc esi
sub eax, ecx
cmp eax, ebx
jae 0x459ab7
xor ebx, ebx
jmp 0x459ab9
add ebx, ecx
cmp ebx, esi
lea ecx, [ebp - 0x24]
cmovb ebx, esi
push ebx
call fcn.00457590
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
test esi, esi
je 0x459ad9
mov al, byte [ebp - 0x49]
mov byte [esi], al
push dword [ebp - 0x54]
lea eax, [ebp - 0x49]
inc esi
push 1
push 1
push eax
mov dword [ebp - 0x20], esi
call fcn.0050558d
add esp, 0x10
test eax, eax
jne 0x459a20
mov ebx, dword [ebp - 0x18]
push dword [ebp - 0x54]
call fcn.00503e3c
sub esi, edi
mov dword [ebp - 0x18], 0x4550306
add esp, 4
mov byte [ebp - 0x14], 3
lea ecx, [esi - 5]
cmp ebx, ecx
jae 0x459b42
lea ebx, [ebx]
mov eax, dword [edi + ebx]
lea edx, [ebp - 0x18]
cmp eax, dword [edx]
jne 0x459b34
movzx eax, byte [edi + ebx + 4]
cmp al, byte [edx + 4]
je 0x459b3b
inc ebx
cmp ebx, ecx
jb 0x459b20
jmp 0x459b42
mov al, byte [edi + ebx + 5]
mov byte [edi + 0x3b], al
lea ecx, [esi - 5]
mov edx, ecx
mov eax, ecx
shr eax, 0x10
and edx, 0xff0000
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
mov eax, dword [ebp - 0x5c]
mov dword [edi + 1], edx
cmp dword [eax + 0x14], 8
jb 0x459b77
mov eax, dword [eax]
push 0x568b94
push eax
call fcn.00505b47
add esp, 8
mov dword [ebp - 0x58], eax
test eax, eax
je 0x459bb4
xor ebx, ebx
test esi, esi
je 0x459bab
push eax
push 1
lea eax, [edi + ebx]
push 1
push eax
call fcn.00503c46
mov eax, dword [ebp - 0x58]
inc ebx
add esp, 0x10
cmp ebx, esi
jb 0x459b92
push eax
call fcn.00503e3c
add esp, 4
push edi
call fcn.00503a69
add esp, 4
cmp dword [ebp - 0x34], 8
jb 0x459bce
push dword [ebp - 0x48]
call fcn.00503a69
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00501f35
mov esp, ebp
pop ebp
ret